summary refs log tree commit diff
path: root/src/test/ui/macros/macro-backtrace-invalid-internals.stderr
blob: c80c0fce35806c47c93709ea05fb1f836390213b (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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
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

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

error[E0609]: no field `0` on type `{integer}`
  --> $DIR/macro-backtrace-invalid-internals.rs:27:11
   |
27 |           (1).0
   |           ^^^^^
...
52 |     fake_anon_field_stmt!();
   |     ------------------------ in this macro invocation

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

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

error[E0609]: no field `0` on type `{integer}`
  --> $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