]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/index-bot.stderr
Rollup merge of #65389 - ecstatic-morse:zero-sized-array-no-drop, r=eddyb
[rust.git] / src / test / ui / index-bot.stderr
index 1086196d6aec49e24201e75d408e86503d661177..b5d78297505d3a6b442239a6d56e6322ba8dc3f5 100644 (file)
@@ -1,7 +1,7 @@
 error[E0608]: cannot index into a value of type `!`
-  --> $DIR/index-bot.rs:12:5
+  --> $DIR/index-bot.rs:2:5
    |
-LL |     (return)[0]; //~ ERROR cannot index into a value of type `!`
+LL |     (return)[0];
    |     ^^^^^^^^^^^
 
 error: aborting due to previous error