summary refs log tree commit diff
path: root/src/test/ui/issues/issue-5099.stderr
blob: 26a26f731cf3e8b6466d5ed6450876d03b3e3d82 (plain)
1
2
3
4
5
6
7
8
9
error[E0425]: cannot find value `this` in this scope
  --> $DIR/issue-5099.rs:12:31
   |
LL | trait B < A > { fn a() -> A { this.a } } //~ ERROR cannot find value `this` in this scope
   |                               ^^^^ not found in this scope

error: aborting due to previous error

For more information about this error, try `rustc --explain E0425`.