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