rust/src/test/ui/error-codes/E0411.stderr

10 lines
307 B
Plaintext
Raw Normal View History

2018-02-07 21:35:35 -06:00
error[E0411]: cannot find type `Self` in this scope
--> $DIR/E0411.rs:12:6
|
2018-02-22 18:42:32 -06:00
LL | <Self>::foo; //~ ERROR E0411
2018-11-30 09:41:32 -06:00
| ^^^^ `Self` is only available in impls, traits, and type definitions
2018-02-07 21:35:35 -06:00
error: aborting due to previous error
2018-03-03 08:59:40 -06:00
For more information about this error, try `rustc --explain E0411`.