diff --git a/src/test/ui/parser/issue-63116.rs b/src/test/ui/parser/issue-63116.rs new file mode 100644 index 00000000000..430bc1d716c --- /dev/null +++ b/src/test/ui/parser/issue-63116.rs @@ -0,0 +1,3 @@ +// fixed by #66361 +// error-pattern: aborting due to 3 previous errors +impl W $DIR/issue-63116.rs:3:18 + | +LL | impl W $DIR/issue-63116.rs:3:12 + | +LL | impl W `, `...`, `::`, `<`, `>`, `?`, `[`, `_`, `dyn`, `extern`, `fn`, `for`, `impl`, `unsafe`, or lifetime, found `;` + --> $DIR/issue-63116.rs:3:15 + | +LL | impl W