about summary refs log tree commit diff
path: root/tests/ui/indexing/index-bot.stderr
blob: bf231c92cad0745caaafebf2b5d371ad6aec3ade (plain)
1
2
3
4
5
6
7
8
9
error[E0608]: cannot index into a value of type `!`
  --> $DIR/index-bot.rs:2:13
   |
LL |     (return)[0];
   |             ^^^

error: aborting due to previous error

For more information about this error, try `rustc --explain E0608`.