mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-05 13:13:40 +00:00
13 lines
204 B
Rust
13 lines
204 B
Rust
// issue 53300
|
|
|
|
pub trait A {
|
|
fn add(&self, b: i32) -> i32;
|
|
}
|
|
|
|
fn addition() -> Wrapper<impl A> {}
|
|
//~^ ERROR cannot find type `Wrapper` in this scope [E0412]
|
|
|
|
fn main() {
|
|
let res = addition();
|
|
}
|