summaryrefslogtreecommitdiffstats
path: root/tests/ui/typeck/issue-53712.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/typeck/issue-53712.stderr')
-rw-r--r--tests/ui/typeck/issue-53712.stderr11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/ui/typeck/issue-53712.stderr b/tests/ui/typeck/issue-53712.stderr
new file mode 100644
index 000000000..db85919af
--- /dev/null
+++ b/tests/ui/typeck/issue-53712.stderr
@@ -0,0 +1,11 @@
+error[E0609]: no field `0` on type `[{integer}; 5]`
+ --> $DIR/issue-53712.rs:5:9
+ |
+LL | arr.0;
+ | ----^
+ | |
+ | help: instead of using tuple indexing, use array indexing: `arr[0]`
+
+error: aborting due to previous error
+
+For more information about this error, try `rustc --explain E0609`.