]> git.lizzy.rs Git - rust.git/blob - src/test/ui/index-bot.rs
Rollup merge of #102829 - compiler-errors:rename-impl-item-kind, r=TaKO8Ki
[rust.git] / src / test / ui / index-bot.rs
1 fn main() {
2     (return)[0]; //~ ERROR cannot index into a value of type `!`
3 }