diff options
Diffstat (limited to 'src/test/parse-fail/use-as-where-use-ends-with-mod-sep.rs')
| -rw-r--r-- | src/test/parse-fail/use-as-where-use-ends-with-mod-sep.rs | 2 |
1 files changed, 2 insertions, 0 deletions
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 524fd01b94c..c1e1cc1c7f7 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,5 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// compile-flags: -Z parse-only + use std::any:: as foo; //~ ERROR expected identifier, found keyword `as` //~^ ERROR: expected one of `::`, `;`, or `as`, found `foo` |
