summaryrefslogtreecommitdiffstats
path: root/tests/ui/keyword/keyword-self-as-identifier.rs
blob: 72e4f01e21edda641b4316b29bb19e76aa06c393 (plain)
1
2
3
fn main() {
    let Self = 22; //~ ERROR cannot find unit struct, unit variant or constant `Self` in this scope
}