fork/rust
git clone https://git.julia.blue/fork/rust
4560ea788cb
1.39.0
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 36help: you must specify a concrete type for this numeric value, like `f32` 37 | 38LL | 2.0_f32.neg() 39 | ^^^^^^^ 40 41error[E0599]: no method named `fake` found for type `{integer}` in the current scope 42 --> $DIR/macro-backtrace-invalid-internals.rs:23:13 43 | 44LL | 1.fake() 45 | ^^^^ method not found in `{integer}` 46... 47LL | let _ = fake_method_expr!(); 48 | ------------------- in this macro invocation 49 50error[E0610]: `{integer}` is a primitive type and therefore doesn't have fields 51 --> $DIR/macro-backtrace-invalid-internals.rs:29:13 52 | 53LL | 1.fake 54 | ^^^^ 55... 56LL | let _ = fake_field_expr!(); 57 | ------------------ in this macro invocation 58 59error[E0610]: `{integer}` is a primitive type and therefore doesn't have fields 60 --> $DIR/macro-backtrace-invalid-internals.rs:35:15 61 | 62LL | (1).0 63 | ^ 64... 65LL | let _ = fake_anon_field_expr!(); 66 | ----------------------- in this macro invocation 67 68error[E0689]: can't call method `neg` on ambiguous numeric type `{float}` 69 --> $DIR/macro-backtrace-invalid-internals.rs:47:15 70 | 71LL | 2.0.neg() 72 | ^^^ 73... 74LL | let _ = real_method_expr!(); 75 | ------------------- in this macro invocation 76help: you must specify a concrete type for this numeric value, like `f32` 77 | 78LL | 2.0_f32.neg() 79 | ^^^^^^^ 80 81error: aborting due to 8 previous errors 82 83Some errors have detailed explanations: E0599, E0610, E0689. 84For more information about an error, try `rustc --explain E0599`.