2017-05-27 17:58:52 +00:00
|
|
|
error[E0599]: no method named `fake` found for type `{integer}` in the current scope
|
2018-12-25 15:56:47 +00:00
|
|
|
--> $DIR/macro-backtrace-invalid-internals.rs:5:13
|
2016-08-17 14:20:04 +00:00
|
|
|
|
|
2019-03-09 12:03:44 +00:00
|
|
|
LL | 1.fake()
|
2019-09-06 19:00:07 +00:00
|
|
|
| ^^^^ method not found in `{integer}`
|
2016-08-17 14:20:04 +00:00
|
|
|
...
|
2018-02-23 00:42:32 +00:00
|
|
|
LL | fake_method_stmt!();
|
2021-10-14 18:28:28 +00:00
|
|
|
| ------------------- in this macro invocation
|
2019-12-16 13:56:47 +00:00
|
|
|
|
|
2021-02-13 19:52:25 +00:00
|
|
|
= note: this error originates in the macro `fake_method_stmt` (in Nightly builds, run with -Z macro-backtrace for more info)
|
2016-08-17 14:20:04 +00:00
|
|
|
|
2017-06-11 17:48:46 +00:00
|
|
|
error[E0610]: `{integer}` is a primitive type and therefore doesn't have fields
|
2018-12-25 15:56:47 +00:00
|
|
|
--> $DIR/macro-backtrace-invalid-internals.rs:11:13
|
2016-08-17 14:20:04 +00:00
|
|
|
|
|
2019-03-09 12:03:44 +00:00
|
|
|
LL | 1.fake
|
2016-09-28 09:27:23 +00:00
|
|
|
| ^^^^
|
2016-08-17 14:20:04 +00:00
|
|
|
...
|
2018-02-23 00:42:32 +00:00
|
|
|
LL | fake_field_stmt!();
|
2021-10-14 18:28:28 +00:00
|
|
|
| ------------------ in this macro invocation
|
2019-12-16 13:56:47 +00:00
|
|
|
|
|
2021-02-13 19:52:25 +00:00
|
|
|
= note: this error originates in the macro `fake_field_stmt` (in Nightly builds, run with -Z macro-backtrace for more info)
|
2016-08-17 14:20:04 +00:00
|
|
|
|
2018-04-01 18:48:39 +00:00
|
|
|
error[E0610]: `{integer}` is a primitive type and therefore doesn't have fields
|
2018-12-25 15:56:47 +00:00
|
|
|
--> $DIR/macro-backtrace-invalid-internals.rs:17:15
|
2016-08-17 14:20:04 +00:00
|
|
|
|
|
2019-03-09 12:03:44 +00:00
|
|
|
LL | (1).0
|
2018-04-01 18:48:39 +00:00
|
|
|
| ^
|
2016-08-17 14:20:04 +00:00
|
|
|
...
|
2018-02-23 00:42:32 +00:00
|
|
|
LL | fake_anon_field_stmt!();
|
2021-10-14 18:28:28 +00:00
|
|
|
| ----------------------- in this macro invocation
|
2019-12-16 13:56:47 +00:00
|
|
|
|
|
2021-02-13 19:52:25 +00:00
|
|
|
= note: this error originates in the macro `fake_anon_field_stmt` (in Nightly builds, run with -Z macro-backtrace for more info)
|
2016-08-17 14:20:04 +00:00
|
|
|
|
2018-05-21 08:45:11 +00:00
|
|
|
error[E0689]: can't call method `neg` on ambiguous numeric type `{float}`
|
2018-12-25 15:56:47 +00:00
|
|
|
--> $DIR/macro-backtrace-invalid-internals.rs:41:15
|
2018-01-04 03:18:17 +00:00
|
|
|
|
|
2019-03-09 12:03:44 +00:00
|
|
|
LL | 2.0.neg()
|
2018-05-21 08:45:11 +00:00
|
|
|
| ^^^
|
2018-01-04 03:18:17 +00:00
|
|
|
...
|
2018-02-23 00:42:32 +00:00
|
|
|
LL | real_method_stmt!();
|
2021-10-14 18:28:28 +00:00
|
|
|
| ------------------- in this macro invocation
|
2019-10-24 05:20:58 +00:00
|
|
|
|
|
2021-02-13 19:52:25 +00:00
|
|
|
= note: this error originates in the macro `real_method_stmt` (in Nightly builds, run with -Z macro-backtrace for more info)
|
2018-01-04 03:18:17 +00:00
|
|
|
help: you must specify a concrete type for this numeric value, like `f32`
|
|
|
|
|
|
2019-03-09 12:03:44 +00:00
|
|
|
LL | 2.0_f32.neg()
|
2021-06-22 02:07:19 +00:00
|
|
|
| ~~~~~~~
|
2018-01-04 03:18:17 +00:00
|
|
|
|
2017-05-27 17:58:52 +00:00
|
|
|
error[E0599]: no method named `fake` found for type `{integer}` in the current scope
|
2018-12-25 15:56:47 +00:00
|
|
|
--> $DIR/macro-backtrace-invalid-internals.rs:23:13
|
2016-08-17 14:20:04 +00:00
|
|
|
|
|
2019-03-09 12:03:44 +00:00
|
|
|
LL | 1.fake()
|
2019-09-06 19:00:07 +00:00
|
|
|
| ^^^^ method not found in `{integer}`
|
2016-08-17 14:20:04 +00:00
|
|
|
...
|
2018-02-23 00:42:32 +00:00
|
|
|
LL | let _ = fake_method_expr!();
|
2016-08-17 14:20:04 +00:00
|
|
|
| ------------------- in this macro invocation
|
2019-12-16 13:56:47 +00:00
|
|
|
|
|
2021-02-13 19:52:25 +00:00
|
|
|
= note: this error originates in the macro `fake_method_expr` (in Nightly builds, run with -Z macro-backtrace for more info)
|
2016-08-17 14:20:04 +00:00
|
|
|
|
2017-06-11 17:48:46 +00:00
|
|
|
error[E0610]: `{integer}` is a primitive type and therefore doesn't have fields
|
2018-12-25 15:56:47 +00:00
|
|
|
--> $DIR/macro-backtrace-invalid-internals.rs:29:13
|
2016-08-17 14:20:04 +00:00
|
|
|
|
|
2019-03-09 12:03:44 +00:00
|
|
|
LL | 1.fake
|
2016-09-28 09:27:23 +00:00
|
|
|
| ^^^^
|
2016-08-17 14:20:04 +00:00
|
|
|
...
|
2018-02-23 00:42:32 +00:00
|
|
|
LL | let _ = fake_field_expr!();
|
2016-08-17 14:20:04 +00:00
|
|
|
| ------------------ in this macro invocation
|
2019-12-16 13:56:47 +00:00
|
|
|
|
|
2021-02-13 19:52:25 +00:00
|
|
|
= note: this error originates in the macro `fake_field_expr` (in Nightly builds, run with -Z macro-backtrace for more info)
|
2016-08-17 14:20:04 +00:00
|
|
|
|
2018-04-01 18:48:39 +00:00
|
|
|
error[E0610]: `{integer}` is a primitive type and therefore doesn't have fields
|
2018-12-25 15:56:47 +00:00
|
|
|
--> $DIR/macro-backtrace-invalid-internals.rs:35:15
|
2016-08-17 14:20:04 +00:00
|
|
|
|
|
2019-03-09 12:03:44 +00:00
|
|
|
LL | (1).0
|
2018-04-01 18:48:39 +00:00
|
|
|
| ^
|
2016-08-17 14:20:04 +00:00
|
|
|
...
|
2018-02-23 00:42:32 +00:00
|
|
|
LL | let _ = fake_anon_field_expr!();
|
2016-08-17 14:20:04 +00:00
|
|
|
| ----------------------- in this macro invocation
|
2019-12-16 13:56:47 +00:00
|
|
|
|
|
2021-02-13 19:52:25 +00:00
|
|
|
= note: this error originates in the macro `fake_anon_field_expr` (in Nightly builds, run with -Z macro-backtrace for more info)
|
2016-08-17 14:20:04 +00:00
|
|
|
|
2018-05-21 08:45:11 +00:00
|
|
|
error[E0689]: can't call method `neg` on ambiguous numeric type `{float}`
|
2018-12-25 15:56:47 +00:00
|
|
|
--> $DIR/macro-backtrace-invalid-internals.rs:47:15
|
2018-01-04 03:18:17 +00:00
|
|
|
|
|
2019-03-09 12:03:44 +00:00
|
|
|
LL | 2.0.neg()
|
2018-05-21 08:45:11 +00:00
|
|
|
| ^^^
|
2018-01-04 03:18:17 +00:00
|
|
|
...
|
2018-02-23 00:42:32 +00:00
|
|
|
LL | let _ = real_method_expr!();
|
2018-01-04 03:18:17 +00:00
|
|
|
| ------------------- in this macro invocation
|
2019-10-24 05:20:58 +00:00
|
|
|
|
|
2021-02-13 19:52:25 +00:00
|
|
|
= note: this error originates in the macro `real_method_expr` (in Nightly builds, run with -Z macro-backtrace for more info)
|
2018-01-04 03:18:17 +00:00
|
|
|
help: you must specify a concrete type for this numeric value, like `f32`
|
|
|
|
|
|
2019-03-09 12:03:44 +00:00
|
|
|
LL | 2.0_f32.neg()
|
2021-06-22 02:07:19 +00:00
|
|
|
| ~~~~~~~
|
2018-01-04 03:18:17 +00:00
|
|
|
|
|
|
|
error: aborting due to 8 previous errors
|
2016-08-17 14:20:04 +00:00
|
|
|
|
2019-04-17 17:26:38 +00:00
|
|
|
Some errors have detailed explanations: E0599, E0610, E0689.
|
2018-03-03 14:59:40 +00:00
|
|
|
For more information about an error, try `rustc --explain E0599`.
|