summaryrefslogtreecommitdiffstats
path: root/src/test/ui/issues/issue-53300.rs
blob: 09f0fe9d93553d5f265a0ebfaec6f4b43876c36d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// 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();
}