]> git.lizzy.rs Git - rust.git/blob - src/test/ui/index-bot.stderr
Merge commit 'b20d4c155d2fe3a8391f86dcf9a8c49e17188703' into clippyup
[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`.