blob: 5c472bae4cc1021f7511b0cb8e319d11cb666ca3 [file]
struct Bar {}
impl Bar {
fn into_self(self) -> Bar {
Bar(self)
//~^ ERROR cannot find function, tuple struct or tuple variant `Bar` in this scope [E0423]
}
}
fn main() {}