rust/tests/ui/keyword/keyword-self-as-identifier.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

10 lines
311 B
Plaintext
Raw Normal View History

error[E0531]: cannot find unit struct, unit variant or constant `Self` in this scope
2018-12-25 15:56:47 +00:00
--> $DIR/keyword-self-as-identifier.rs:2:9
2018-08-08 12:28:26 +00:00
|
2019-03-09 12:03:44 +00:00
LL | let Self = 22;
2018-08-08 12:28:26 +00:00
| ^^^^ not found in this scope
error: aborting due to 1 previous error
2018-08-08 12:28:26 +00:00
2019-09-14 14:22:14 +00:00
For more information about this error, try `rustc --explain E0531`.