]> git.lizzy.rs Git - rust.git/blob - src/test/ui/keyword/keyword-self-as-identifier.stderr
Rollup merge of #95353 - jyn514:invalid-filter-hard-error, r=Mark-Simulacrum
[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`.