rust/tests/ui/keyword/keyword-self-as-identifier.rs
2023-01-11 09:32:08 +00:00

4 lines
114 B
Rust

fn main() {
let Self = 22; //~ ERROR cannot find unit struct, unit variant or constant `Self` in this scope
}