summaryrefslogtreecommitdiffstats
path: root/src/test/ui/tuple/index-invalid.stderr
blob: 8d22f458a6c6eea5ddd91e5f048cb5ed878313f8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
error[E0609]: no field `1` on type `(((),),)`
  --> $DIR/index-invalid.rs:2:22
   |
LL |     let _ = (((),),).1.0;
   |                      ^

error[E0609]: no field `1` on type `((),)`
  --> $DIR/index-invalid.rs:4:24
   |
LL |     let _ = (((),),).0.1;
   |                        ^

error[E0609]: no field `000` on type `(((),),)`
  --> $DIR/index-invalid.rs:6:22
   |
LL |     let _ = (((),),).000.000;
   |                      ^^^

error: aborting due to 3 previous errors

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