summaryrefslogtreecommitdiffstats
path: root/tests/ui/keyword/keyword-self-as-identifier.stderr
blob: 060e7c3eafc26b2cbcbe0569347f563a4ee351ac (plain)
1
2
3
4
5
6
7
8
9
error[E0531]: cannot find unit struct, unit variant or constant `Self` in this scope
  --> $DIR/keyword-self-as-identifier.rs:2:9
   |
LL |     let Self = 22;
   |         ^^^^ not found in this scope

error: aborting due to previous error

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