2017-12-10 13:47:55 -06:00
|
|
|
error: macro expansion ignores token `;` and any following
|
|
|
|
--> $DIR/issue-30007.rs:12:20
|
|
|
|
|
|
2018-02-22 18:42:32 -06:00
|
|
|
LL | () => ( String ; ); //~ ERROR macro expansion ignores token `;`
|
2017-12-10 13:47:55 -06:00
|
|
|
| ^
|
|
|
|
|
|
|
|
|
note: caused by the macro expansion here; the usage of `t!` is likely invalid in type context
|
|
|
|
--> $DIR/issue-30007.rs:16:16
|
|
|
|
|
|
2018-02-22 18:42:32 -06:00
|
|
|
LL | let i: Vec<t!()>;
|
2017-12-10 13:47:55 -06:00
|
|
|
| ^^^^
|
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|