summaryrefslogtreecommitdiffstats
path: root/tests/ui/parser/issues/issue-59418.stderr
blob: 347051e9f921c5b24700367b194fccc403db47c5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
error: suffixes on a tuple index are invalid
  --> $DIR/issue-59418.rs:5:15
   |
LL |     let b = a.1suffix;
   |               ^^^^^^^ invalid suffix `suffix`

error: suffixes on a tuple index are invalid
  --> $DIR/issue-59418.rs:9:15
   |
LL |     let d = c.1suffix;
   |               ^^^^^^^ invalid suffix `suffix`

error: suffixes on a tuple index are invalid
  --> $DIR/issue-59418.rs:12:17
   |
LL |     let s = X { 0suffix: 0, 1: 1, 2: 2 };
   |                 ^^^^^^^ invalid suffix `suffix`

error: suffixes on a tuple index are invalid
  --> $DIR/issue-59418.rs:15:13
   |
LL |         X { 0suffix: _, .. } => {}
   |             ^^^^^^^ invalid suffix `suffix`

error: aborting due to 4 previous errors