From cfe94b421bf0db86670434d5391819c15dd70e57 Mon Sep 17 00:00:00 2001 From: Alex Macleod Date: Sat, 16 Nov 2019 14:54:09 +0000 Subject: [PATCH] Add test for issue 63116 --- src/test/ui/parser/issue-63116.rs | 3 +++ src/test/ui/parser/issue-63116.stderr | 24 ++++++++++++++++++++++++ 2 files changed, 27 insertions(+) create mode 100644 src/test/ui/parser/issue-63116.rs create mode 100644 src/test/ui/parser/issue-63116.stderr 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