rust/tests/ui/index-bot.rs
2023-01-11 09:32:08 +00:00

4 lines
79 B
Rust

fn main() {
(return)[0]; //~ ERROR cannot index into a value of type `!`
}