2017-12-10 22:47:55 +03:00
|
|
|
error: `derive` cannot be used on items with type macros
|
2018-12-25 08:56:47 -07:00
|
|
|
--> $DIR/issue-32950.rs:5:5
|
2017-12-10 22:47:55 +03:00
|
|
|
|
|
2019-03-09 15:03:44 +03:00
|
|
|
LL | concat_idents!(Foo, Bar)
|
2017-12-20 01:21:40 +09:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
2017-12-10 22:47:55 +03:00
|
|
|
|
2018-12-16 20:23:27 +03:00
|
|
|
error[E0412]: cannot find type `FooBar` in this scope
|
2018-12-27 03:07:00 +03:00
|
|
|
--> $DIR/issue-32950.rs:5:5
|
2018-12-16 20:23:27 +03:00
|
|
|
|
|
2019-03-09 15:03:44 +03:00
|
|
|
LL | concat_idents!(Foo, Bar)
|
2018-12-16 20:23:27 +03:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
|
2019-12-16 15:56:47 +02:00
|
|
|
|
|
2021-02-13 14:52:25 -05:00
|
|
|
= note: this error originates in the macro `concat_idents` (in Nightly builds, run with -Z macro-backtrace for more info)
|
2018-12-16 20:23:27 +03:00
|
|
|
|
|
|
|
error: aborting due to 2 previous errors
|
2017-12-10 22:47:55 +03:00
|
|
|
|
2018-12-16 20:23:27 +03:00
|
|
|
For more information about this error, try `rustc --explain E0412`.
|