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
309 B
Plaintext
Raw Normal View History

error[E0531]: cannot find unit struct, unit variant or constant `Self` in this scope
2018-12-25 09:56:47 -06:00
--> $DIR/keyword-self-as-identifier.rs:2:9
2018-08-08 07:28:26 -05:00
|
2019-03-09 06:03:44 -06:00
LL | let Self = 22;
2018-08-08 07:28:26 -05:00
| ^^^^ 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
2019-09-14 09:22:14 -05:00
For more information about this error, try `rustc --explain E0531`.