diff options
| author | Vadim Petrochenkov <vadim.petrochenkov@gmail.com> | 2016-04-16 04:10:59 +0300 |
|---|---|---|
| committer | Vadim Petrochenkov <vadim.petrochenkov@gmail.com> | 2016-04-24 20:59:44 +0300 |
| commit | 8dbf8f5f0a26a8f80f895294532ad567c156beb3 (patch) | |
| tree | 5b0fcc8d207f3a59dbdca97c5d71f2fd2db511e0 /src/test/parse-fail | |
| parent | 8d0dd7876e733555b0284e9b6cbf0f33ed792b67 (diff) | |
| download | rust-8dbf8f5f0a26a8f80f895294532ad567c156beb3.tar.gz rust-8dbf8f5f0a26a8f80f895294532ad567c156beb3.zip | |
syntax: Don't rely on token::IdentStyle in the parser
Diffstat (limited to 'src/test/parse-fail')
| -rw-r--r-- | src/test/parse-fail/use-mod-4.rs | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/src/test/parse-fail/use-mod-4.rs b/src/test/parse-fail/use-mod-4.rs deleted file mode 100644 index bcafa4e9fde..00000000000 --- a/src/test/parse-fail/use-mod-4.rs +++ /dev/null @@ -1,16 +0,0 @@ -// Copyright 2014 The Rust Project Developers. See the COPYRIGHT -// file at the top-level directory of this distribution and at -// http://rust-lang.org/COPYRIGHT. -// -// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or -// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license -// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your -// option. This file may not be copied, modified, or distributed -// except according to those terms. - -// compile-flags: -Z parse-only - -use foo::self; -//~^ ERROR expected identifier, found keyword `self` - -fn main() {} |
