rust/src/test/ui/macros/macro-backtrace-invalid-internals.stderr

57 lines
1.8 KiB
Plaintext
Raw Normal View History

2017-05-27 12:58:52 -05:00
error[E0599]: no method named `fake` found for type `{integer}` in the current scope
--> $DIR/macro-backtrace-invalid-internals.rs:15:13
|
15 | 1.fake()
| ^^^^
...
50 | fake_method_stmt!();
| -------------------- in this macro invocation
2017-06-11 12:48:46 -05:00
error[E0610]: `{integer}` is a primitive type and therefore doesn't have fields
--> $DIR/macro-backtrace-invalid-internals.rs:21:13
|
21 | 1.fake
| ^^^^
...
51 | fake_field_stmt!();
| ------------------- in this macro invocation
2017-06-12 14:45:48 -05:00
error[E0613]: attempted to access tuple index `0` on type `{integer}`, but the type was not a tuple or tuple struct
--> $DIR/macro-backtrace-invalid-internals.rs:27:11
|
27 | (1).0
| ^^^^^
...
52 | fake_anon_field_stmt!();
| ------------------------ in this macro invocation
2017-05-27 12:58:52 -05:00
error[E0599]: no method named `fake` found for type `{integer}` in the current scope
--> $DIR/macro-backtrace-invalid-internals.rs:33:13
|
33 | 1.fake()
| ^^^^
...
54 | let _ = fake_method_expr!();
| ------------------- in this macro invocation
2017-06-11 12:48:46 -05:00
error[E0610]: `{integer}` is a primitive type and therefore doesn't have fields
--> $DIR/macro-backtrace-invalid-internals.rs:39:13
|
39 | 1.fake
| ^^^^
...
55 | let _ = fake_field_expr!();
| ------------------ in this macro invocation
2017-06-12 14:45:48 -05:00
error[E0613]: attempted to access tuple index `0` on type `{integer}`, but the type was not a tuple or tuple struct
--> $DIR/macro-backtrace-invalid-internals.rs:45:11
|
45 | (1).0
| ^^^^^
...
56 | let _ = fake_anon_field_expr!();
| ----------------------- in this macro invocation
error: aborting due to 6 previous errors