]> git.lizzy.rs Git - rust.git/blob - tests/ui/index-bot.rs
Rollup merge of #107777 - compiler-errors:derive_const-actually-derive-const, r=fee1...
[rust.git] / tests / ui / index-bot.rs
1 fn main() {
2     (return)[0]; //~ ERROR cannot index into a value of type `!`
3 }