fork/rust
git clone https://git.julia.blue/fork/rust
f3e1a954d2e
1.41.1
1error[E0599]: no method named `fake` found for type `{integer}` in the current scope 2 --> $DIR/macro-backtrace-invalid-internals.rs:5:13 3 | 4LL | 1.fake() 5 | ^^^^ method not found in `{integer}` 6... 7LL | fake_method_stmt!(); 8 | -------------------- in this macro invocation 9 10error[E0610]: `{integer}` is a primitive type and therefore doesn't have fields 11 --> $DIR/macro-backtrace-invalid-internals.rs:11:13 12 | 13LL | 1.fake 14 | ^^^^ 15... 16LL | fake_field_stmt!(); 17 | ------------------- in this macro invocation 18 19error[E0610]: `{integer}` is a primitive type and therefore doesn't have fields 20 --> $DIR/macro-backtrace-invalid-internals.rs:17:15 21 | 22LL | (1).0 23 | ^ 24... 25LL | fake_anon_field_stmt!(); 26 | ------------------------ in this macro invocation 27 28error[E0689]: can't call method `neg` on ambiguous numeric type `{float}` 29 --> $DIR/macro-backtrace-invalid-internals.rs:41:15 30 | 31LL | 2.0.neg() 32 | ^^^ 33... 34LL | real_method_stmt!(); 35 | -------------------- in this macro invocation 36 | 37help: you must specify a concrete type for this numeric value, like `f32` 38 | 39LL | 2.0_f32.neg() 40 | ^^^^^^^ 41 42error[E0599]: no method named `fake` found for type `{integer}` in the current scope 43 --> $DIR/macro-backtrace-invalid-internals.rs:23:13 44 | 45LL | 1.fake() 46 | ^^^^ method not found in `{integer}` 47... 48LL | let _ = fake_method_expr!(); 49 | ------------------- in this macro invocation 50 51error[E0610]: `{integer}` is a primitive type and therefore doesn't have fields 52 --> $DIR/macro-backtrace-invalid-internals.rs:29:13 53 | 54LL | 1.fake 55 | ^^^^ 56... 57LL | let _ = fake_field_expr!(); 58 | ------------------ in this macro invocation 59 60error[E0610]: `{integer}` is a primitive type and therefore doesn't have fields 61 --> $DIR/macro-backtrace-invalid-internals.rs:35:15 62 | 63LL | (1).0 64 | ^ 65... 66LL | let _ = fake_anon_field_expr!(); 67 | ----------------------- in this macro invocation 68 69error[E0689]: can't call method `neg` on ambiguous numeric type `{float}` 70 --> $DIR/macro-backtrace-invalid-internals.rs:47:15 71 | 72LL | 2.0.neg() 73 | ^^^ 74... 75LL | let _ = real_method_expr!(); 76 | ------------------- in this macro invocation 77 | 78help: you must specify a concrete type for this numeric value, like `f32` 79 | 80LL | 2.0_f32.neg() 81 | ^^^^^^^ 82 83error: aborting due to 8 previous errors 84 85Some errors have detailed explanations: E0599, E0610, E0689. 86For more information about an error, try `rustc --explain E0599`.