]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-5099.rs
ee134835c37ed14eae101b077ee613c0dc68ee13
[rust.git] / src / test / ui / issues / issue-5099.rs
1 trait B <A> {
2     fn a() -> A {
3         this.a //~ ERROR cannot find value `this` in this scope
4     }
5     fn b(x: i32) {
6         this.b(x); //~ ERROR cannot find value `this` in this scope
7     }
8 }
9
10 fn main() {}