diff options
Diffstat (limited to '')
-rw-r--r-- | src/test/ui/issues/issue-30007.stderr | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/test/ui/issues/issue-30007.stderr b/src/test/ui/issues/issue-30007.stderr new file mode 100644 index 000000000..87e770e15 --- /dev/null +++ b/src/test/ui/issues/issue-30007.stderr @@ -0,0 +1,13 @@ +error: macro expansion ignores token `;` and any following + --> $DIR/issue-30007.rs:2:20 + | +LL | () => ( String ; ); + | ^ +... +LL | let i: Vec<t!()>; + | ---- caused by the macro expansion here + | + = note: the usage of `t!` is likely invalid in type context + +error: aborting due to previous error + |