blob: ee134835c37ed14eae101b077ee613c0dc68ee13 (
plain)
1
2
3
4
5
6
7
8
9
10
|
trait B <A> {
fn a() -> A {
this.a //~ ERROR cannot find value `this` in this scope
}
fn b(x: i32) {
this.b(x); //~ ERROR cannot find value `this` in this scope
}
}
fn main() {}
|