]> git.proxmox.com Git - rustc.git/blob - src/test/ui/macros/macro-backtrace-invalid-internals.stderr
New upstream version 1.13.0+dfsg1
[rustc.git] / src / test / ui / macros / macro-backtrace-invalid-internals.stderr
1 error: no method named `fake` found for type `{integer}` in the current scope
2 --> $DIR/macro-backtrace-invalid-internals.rs:15:13
3 |
4 15 | 1.fake()
5 | ^^^^
6 ...
7 50 | fake_method_stmt!();
8 | -------------------- in this macro invocation
9
10 error: attempted access of field `fake` on type `{integer}`, but no field with that name was found
11 --> $DIR/macro-backtrace-invalid-internals.rs:21:11
12 |
13 21 | 1.fake
14 | ^^^^^^
15 ...
16 51 | fake_field_stmt!();
17 | ------------------- in this macro invocation
18
19 error: attempted tuple index `0` on type `{integer}`, but the type was not a tuple or tuple struct
20 --> $DIR/macro-backtrace-invalid-internals.rs:27:11
21 |
22 27 | (1).0
23 | ^^^^^
24 ...
25 52 | fake_anon_field_stmt!();
26 | ------------------------ in this macro invocation
27
28 error: no method named `fake` found for type `{integer}` in the current scope
29 --> $DIR/macro-backtrace-invalid-internals.rs:33:13
30 |
31 33 | 1.fake()
32 | ^^^^
33 ...
34 54 | let _ = fake_method_expr!();
35 | ------------------- in this macro invocation
36
37 error: attempted access of field `fake` on type `{integer}`, but no field with that name was found
38 --> $DIR/macro-backtrace-invalid-internals.rs:39:11
39 |
40 39 | 1.fake
41 | ^^^^^^
42 ...
43 55 | let _ = fake_field_expr!();
44 | ------------------ in this macro invocation
45
46 error: attempted tuple index `0` on type `{integer}`, but the type was not a tuple or tuple struct
47 --> $DIR/macro-backtrace-invalid-internals.rs:45:11
48 |
49 45 | (1).0
50 | ^^^^^
51 ...
52 56 | let _ = fake_anon_field_expr!();
53 | ----------------------- in this macro invocation
54
55 error: aborting due to 6 previous errors
56