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