2017-05-27 12:58:52 -05:00
|
|
|
error[E0599]: no method named `fake` found for type `{integer}` in the current scope
|
2016-08-17 09:20:04 -05:00
|
|
|
--> $DIR/macro-backtrace-invalid-internals.rs:15:13
|
|
|
|
|
|
2018-02-22 18:42:32 -06:00
|
|
|
LL | 1.fake() //~ ERROR no method
|
2016-08-17 09:20:04 -05:00
|
|
|
| ^^^^
|
|
|
|
...
|
2018-02-22 18:42:32 -06:00
|
|
|
LL | fake_method_stmt!();
|
2016-08-17 09:20:04 -05:00
|
|
|
| -------------------- in this macro invocation
|
|
|
|
|
2017-06-11 12:48:46 -05:00
|
|
|
error[E0610]: `{integer}` is a primitive type and therefore doesn't have fields
|
2016-09-28 04:27:23 -05:00
|
|
|
--> $DIR/macro-backtrace-invalid-internals.rs:21:13
|
2016-08-17 09:20:04 -05:00
|
|
|
|
|
2018-02-22 18:42:32 -06:00
|
|
|
LL | 1.fake //~ ERROR doesn't have fields
|
2016-09-28 04:27:23 -05:00
|
|
|
| ^^^^
|
2016-08-17 09:20:04 -05:00
|
|
|
...
|
2018-02-22 18:42:32 -06:00
|
|
|
LL | fake_field_stmt!();
|
2016-08-17 09:20:04 -05:00
|
|
|
| ------------------- in this macro invocation
|
|
|
|
|
2017-06-30 13:36:51 -05:00
|
|
|
error[E0609]: no field `0` on type `{integer}`
|
2016-08-17 09:20:04 -05:00
|
|
|
--> $DIR/macro-backtrace-invalid-internals.rs:27:11
|
|
|
|
|
|
2018-02-22 18:42:32 -06:00
|
|
|
LL | (1).0 //~ ERROR no field
|
2016-08-17 09:20:04 -05:00
|
|
|
| ^^^^^
|
|
|
|
...
|
2018-02-22 18:42:32 -06:00
|
|
|
LL | fake_anon_field_stmt!();
|
2016-08-17 09:20:04 -05:00
|
|
|
| ------------------------ in this macro invocation
|
|
|
|
|
2018-01-03 21:18:17 -06:00
|
|
|
error[E0689]: can't call method `powi` on ambiguous numeric type `{float}`
|
|
|
|
--> $DIR/macro-backtrace-invalid-internals.rs:51:15
|
|
|
|
|
|
2018-02-22 18:42:32 -06:00
|
|
|
LL | 2.0.powi(2) //~ ERROR can't call method `powi` on ambiguous numeric type `{float}`
|
2018-01-03 21:18:17 -06:00
|
|
|
| ^^^^
|
|
|
|
...
|
2018-02-22 18:42:32 -06:00
|
|
|
LL | real_method_stmt!();
|
2018-01-03 21:18:17 -06:00
|
|
|
| -------------------- in this macro invocation
|
|
|
|
help: you must specify a concrete type for this numeric value, like `f32`
|
|
|
|
|
|
2018-02-24 17:01:39 -06:00
|
|
|
LL | 2.0_f32.powi(2) //~ ERROR can't call method `powi` on ambiguous numeric type `{float}`
|
2018-01-04 14:23:14 -06:00
|
|
|
| ^^^^^^^
|
2018-01-03 21:18:17 -06:00
|
|
|
|
2017-05-27 12:58:52 -05:00
|
|
|
error[E0599]: no method named `fake` found for type `{integer}` in the current scope
|
2016-08-17 09:20:04 -05:00
|
|
|
--> $DIR/macro-backtrace-invalid-internals.rs:33:13
|
|
|
|
|
|
2018-02-22 18:42:32 -06:00
|
|
|
LL | 1.fake() //~ ERROR no method
|
2016-08-17 09:20:04 -05:00
|
|
|
| ^^^^
|
|
|
|
...
|
2018-02-22 18:42:32 -06:00
|
|
|
LL | let _ = fake_method_expr!();
|
2016-08-17 09:20:04 -05:00
|
|
|
| ------------------- in this macro invocation
|
|
|
|
|
2017-06-11 12:48:46 -05:00
|
|
|
error[E0610]: `{integer}` is a primitive type and therefore doesn't have fields
|
2016-09-28 04:27:23 -05:00
|
|
|
--> $DIR/macro-backtrace-invalid-internals.rs:39:13
|
2016-08-17 09:20:04 -05:00
|
|
|
|
|
2018-02-22 18:42:32 -06:00
|
|
|
LL | 1.fake //~ ERROR doesn't have fields
|
2016-09-28 04:27:23 -05:00
|
|
|
| ^^^^
|
2016-08-17 09:20:04 -05:00
|
|
|
...
|
2018-02-22 18:42:32 -06:00
|
|
|
LL | let _ = fake_field_expr!();
|
2016-08-17 09:20:04 -05:00
|
|
|
| ------------------ in this macro invocation
|
|
|
|
|
2017-06-30 13:36:51 -05:00
|
|
|
error[E0609]: no field `0` on type `{integer}`
|
2016-08-17 09:20:04 -05:00
|
|
|
--> $DIR/macro-backtrace-invalid-internals.rs:45:11
|
|
|
|
|
|
2018-02-22 18:42:32 -06:00
|
|
|
LL | (1).0 //~ ERROR no field
|
2016-08-17 09:20:04 -05:00
|
|
|
| ^^^^^
|
|
|
|
...
|
2018-02-22 18:42:32 -06:00
|
|
|
LL | let _ = fake_anon_field_expr!();
|
2016-08-17 09:20:04 -05:00
|
|
|
| ----------------------- in this macro invocation
|
|
|
|
|
2018-01-03 21:18:17 -06:00
|
|
|
error[E0689]: can't call method `powi` on ambiguous numeric type `{float}`
|
|
|
|
--> $DIR/macro-backtrace-invalid-internals.rs:57:15
|
|
|
|
|
|
2018-02-22 18:42:32 -06:00
|
|
|
LL | 2.0.powi(2) //~ ERROR can't call method `powi` on ambiguous numeric type `{float}`
|
2018-01-03 21:18:17 -06:00
|
|
|
| ^^^^
|
|
|
|
...
|
2018-02-22 18:42:32 -06:00
|
|
|
LL | let _ = real_method_expr!();
|
2018-01-03 21:18:17 -06:00
|
|
|
| ------------------- in this macro invocation
|
|
|
|
help: you must specify a concrete type for this numeric value, like `f32`
|
|
|
|
|
|
2018-02-24 17:01:39 -06:00
|
|
|
LL | 2.0_f32.powi(2) //~ ERROR can't call method `powi` on ambiguous numeric type `{float}`
|
2018-01-04 14:23:14 -06:00
|
|
|
| ^^^^^^^
|
2018-01-03 21:18:17 -06:00
|
|
|
|
|
|
|
error: aborting due to 8 previous errors
|
2016-08-17 09:20:04 -05:00
|
|
|
|
2018-02-19 14:40:25 -06:00
|
|
|
You've got a few errors: E0599, E0609, E0610, E0689
|
|
|
|
If you want more information on an error, try using "rustc --explain E0599"
|