X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=src%2Ftest%2Fparse-fail%2Fuse-as-where-use-ends-with-mod-sep.rs;h=9e16e29ba50b3f8d5662d8e8c8edea4f7e4e2cc4;hb=c30ab7b35a139eccf1c05c82b5b62b0decad3ca5;hp=c1e1cc1c7f7f38f27a00eb645155a6965c19b921;hpb=9e0c209edc0570e063d67f2ba6783c1cc6eb4dfb;p=rustc.git diff --git a/src/test/parse-fail/use-as-where-use-ends-with-mod-sep.rs b/src/test/parse-fail/use-as-where-use-ends-with-mod-sep.rs index c1e1cc1c7f..9e16e29ba5 100644 --- a/src/test/parse-fail/use-as-where-use-ends-with-mod-sep.rs +++ b/src/test/parse-fail/use-as-where-use-ends-with-mod-sep.rs @@ -8,7 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. -// compile-flags: -Z parse-only +// compile-flags: -Z parse-only -Z continue-parse-after-error use std::any:: as foo; //~ ERROR expected identifier, found keyword `as` //~^ ERROR: expected one of `::`, `;`, or `as`, found `foo`