rust/tests/ui/parser/issues/issue-59418.stderr

27 lines
719 B
Plaintext
Raw Normal View History

2019-03-26 14:09:13 -05:00
error: suffixes on a tuple index are invalid
--> $DIR/issue-59418.rs:5:15
|
LL | let b = a.1suffix;
2019-03-26 14:09:13 -05:00
| ^^^^^^^ invalid suffix `suffix`
2019-03-26 14:09:13 -05:00
error: suffixes on a tuple index are invalid
2019-03-25 23:38:23 -05:00
--> $DIR/issue-59418.rs:9:15
|
LL | let d = c.1suffix;
2019-03-26 14:09:13 -05:00
| ^^^^^^^ invalid suffix `suffix`
2019-03-25 23:38:23 -05:00
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