rust/src/test/ui/keyword/keyword-self-as-identifier.stderr

10 lines
379 B
Plaintext
Raw Normal View History

2018-08-08 07:28:26 -05:00
error[E0531]: cannot find unit struct/variant or constant `Self` in this scope
--> $DIR/keyword-self-as-identifier.rs:12:9
|
LL | let Self = 22; //~ ERROR cannot find unit struct/variant or constant `Self` in this scope
| ^^^^ not found in this scope
2018-11-30 09:42:57 -06:00
error: aborting due to previous error
2018-08-08 07:28:26 -05:00
2018-11-30 09:42:57 -06:00
For more information about this error, try `rustc --explain E0531`.