diff options
| author | Vadim Petrochenkov <vadim.petrochenkov@gmail.com> | 2017-11-04 23:56:45 +0300 |
|---|---|---|
| committer | Vadim Petrochenkov <vadim.petrochenkov@gmail.com> | 2017-11-21 00:21:24 +0300 |
| commit | 2e9b89ddc50f0409290a9f906cae8817c2473f9e (patch) | |
| tree | f75c12c942ca93c7e0175ae0942441b40d91260a /src/test/parse-fail | |
| parent | 33374fa9d09e2a790979b31e61100dfed4b44139 (diff) | |
Support `::crate` in paths
Diffstat (limited to 'src/test/parse-fail')
| -rw-r--r-- | src/test/parse-fail/keyword-crate-as-identifier.rs | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/src/test/parse-fail/keyword-crate-as-identifier.rs b/src/test/parse-fail/keyword-crate-as-identifier.rs deleted file mode 100644 index 8a914ca7b17..00000000000 --- a/src/test/parse-fail/keyword-crate-as-identifier.rs +++ /dev/null @@ -1,17 +0,0 @@ -// Copyright 2016 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 - -// This file was auto-generated using 'src/etc/generate-keyword-tests.py crate' - -fn main() { - let crate = "foo"; //~ error: expected pattern, found keyword `crate` -} |
