]> git.lizzy.rs Git - rust.git/blob - src/test/ui/keyword/keyword-self-as-identifier.stderr
Merge commit 'b52fb5234cd7c11ecfae51897a6f7fa52e8777fc' into clippyup
[rust.git] / src / test / ui / keyword / keyword-self-as-identifier.stderr
1 error[E0531]: cannot find unit struct, unit variant or constant `Self` in this scope
2   --> $DIR/keyword-self-as-identifier.rs:2:9
3    |
4 LL |     let Self = 22;
5    |         ^^^^ not found in this scope
6
7 error: aborting due to previous error
8
9 For more information about this error, try `rustc --explain E0531`.