]> git.lizzy.rs Git - rust.git/blob - src/test/ui/keyword/keyword-self-as-identifier.rs
Rollup merge of #99064 - lyming2007:issue-97687-fix, r=estebank
[rust.git] / src / test / ui / keyword / keyword-self-as-identifier.rs
1 fn main() {
2     let Self = 22; //~ ERROR cannot find unit struct, unit variant or constant `Self` in this scope
3 }