summaryrefslogtreecommitdiffstats
path: root/src/test/ui/index-bot.stderr
blob: b5d78297505d3a6b442239a6d56e6322ba8dc3f5 (plain)
1
2
3
4
5
6
7
8
9
error[E0608]: cannot index into a value of type `!`
  --> $DIR/index-bot.rs:2:5
   |
LL |     (return)[0];
   |     ^^^^^^^^^^^

error: aborting due to previous error

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