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