blob: 4b7862abc91a90a89dc7c4d9cecb1299c58bb494 [file] [log] [blame]
trait Deserialize {
fn deserialize(&self);
}
struct ArchivedVec<T>(T);
impl<T> Deserialize for ArchivedVec<T> {
fn deserialize(s: _) {}
//~^ ERROR: `_` is not allowed within types on item signatures
//~| ERROR: has a `&self` declaration in the trait, but not in the impl
}
fn main() {}