summaryrefslogtreecommitdiffstats
path: root/src/test/ui/issues/issue-27842.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/issues/issue-27842.stderr')
-rw-r--r--src/test/ui/issues/issue-27842.stderr17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/test/ui/issues/issue-27842.stderr b/src/test/ui/issues/issue-27842.stderr
new file mode 100644
index 000000000..784666a63
--- /dev/null
+++ b/src/test/ui/issues/issue-27842.stderr
@@ -0,0 +1,17 @@
+error[E0608]: cannot index into a value of type `({integer}, {integer}, {integer})`
+ --> $DIR/issue-27842.rs:4:13
+ |
+LL | let _ = tup[0];
+ | ^^^^^^ help: to access tuple elements, use: `tup.0`
+
+error[E0608]: cannot index into a value of type `({integer}, {integer}, {integer})`
+ --> $DIR/issue-27842.rs:9:13
+ |
+LL | let _ = tup[i];
+ | ^^^^^^
+ |
+ = help: to access tuple elements, use tuple indexing syntax (e.g., `tuple.0`)
+
+error: aborting due to 2 previous errors
+
+For more information about this error, try `rustc --explain E0608`.