]> git.lizzy.rs Git - rust.git/blob - tests/ui/index-bot.stderr
Rollup merge of #107780 - compiler-errors:instantiate-binder, r=lcnr
[rust.git] / tests / 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`.