1 error[E0599]: no method named `fake` found for type `{integer}` in the current scope
2 --> $DIR/macro-backtrace-invalid-internals.rs:15:13
4 LL | 1.fake() //~ ERROR no method
7 LL | fake_method_stmt!();
8 | -------------------- in this macro invocation
10 error[E0610]: `{integer}` is a primitive type and therefore doesn't have fields
11 --> $DIR/macro-backtrace-invalid-internals.rs:21:13
13 LL | 1.fake //~ ERROR doesn't have fields
16 LL | fake_field_stmt!();
17 | ------------------- in this macro invocation
19 error[E0610]: `{integer}` is a primitive type and therefore doesn't have fields
20 --> $DIR/macro-backtrace-invalid-internals.rs:27:15
22 LL | (1).0 //~ ERROR doesn't have fields
25 LL | fake_anon_field_stmt!();
26 | ------------------------ in this macro invocation
28 error[E0689]: can't call method `neg` on ambiguous numeric type `{float}`
29 --> $DIR/macro-backtrace-invalid-internals.rs:51:15
31 LL | 2.0.neg() //~ ERROR can't call method `neg` on ambiguous numeric type `{float}`
34 LL | real_method_stmt!();
35 | -------------------- in this macro invocation
36 help: you must specify a concrete type for this numeric value, like `f32`
38 LL | 2.0_f32.neg() //~ ERROR can't call method `neg` on ambiguous numeric type `{float}`
41 error[E0599]: no method named `fake` found for type `{integer}` in the current scope
42 --> $DIR/macro-backtrace-invalid-internals.rs:33:13
44 LL | 1.fake() //~ ERROR no method
47 LL | let _ = fake_method_expr!();
48 | ------------------- in this macro invocation
50 error[E0610]: `{integer}` is a primitive type and therefore doesn't have fields
51 --> $DIR/macro-backtrace-invalid-internals.rs:39:13
53 LL | 1.fake //~ ERROR doesn't have fields
56 LL | let _ = fake_field_expr!();
57 | ------------------ in this macro invocation
59 error[E0610]: `{integer}` is a primitive type and therefore doesn't have fields
60 --> $DIR/macro-backtrace-invalid-internals.rs:45:15
62 LL | (1).0 //~ ERROR doesn't have fields
65 LL | let _ = fake_anon_field_expr!();
66 | ----------------------- in this macro invocation
68 error[E0689]: can't call method `neg` on ambiguous numeric type `{float}`
69 --> $DIR/macro-backtrace-invalid-internals.rs:57:15
71 LL | 2.0.neg() //~ ERROR can't call method `neg` on ambiguous numeric type `{float}`
74 LL | let _ = real_method_expr!();
75 | ------------------- in this macro invocation
76 help: you must specify a concrete type for this numeric value, like `f32`
78 LL | 2.0_f32.neg() //~ ERROR can't call method `neg` on ambiguous numeric type `{float}`
81 error: aborting due to 8 previous errors
83 Some errors occurred: E0599, E0610, E0689.
84 For more information about an error, try `rustc --explain E0599`.