]> git.lizzy.rs Git - rust.git/blob - src/test/ui/keyword/keyword-self-as-identifier.rs
Rollup merge of #98773 - notriddle:notriddle/source-sidebar-details, r=GuillaumeGomez
[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 }