]> git.lizzy.rs Git - rust.git/blob - src/test/ui/index-bot.stderr
Rollup merge of #101388 - compiler-errors:issue-101376, r=fee1-dead
[rust.git] / src / test / ui / index-bot.stderr
1 error[E0608]: cannot index into a value of type `!`
2   --> $DIR/index-bot.rs:2:5
3    |
4 LL |     (return)[0];
5    |     ^^^^^^^^^^^
6
7 error: aborting due to previous error
8
9 For more information about this error, try `rustc --explain E0608`.