about summary refs log tree commit diff
path: root/src/test/parse-fail/removed-syntax-fn-pure.rs
diff options
context:
space:
mode:
authorHavvy <ryan.havvy@gmail.com>2018-05-29 17:08:29 -0700
committerHavvy <ryan.havvy@gmail.com>2018-06-09 14:15:57 -0700
commitebc315bbbbb8aa92fe118fb7cee5f8aea88ab265 (patch)
tree75e2af4f2964d6f821394e01f27c55f55313f503 /src/test/parse-fail/removed-syntax-fn-pure.rs
parent61d88318aa66669fba061e9af529365172d63cd0 (diff)
downloadrust-ebc315bbbbb8aa92fe118fb7cee5f8aea88ab265.tar.gz
rust-ebc315bbbbb8aa92fe118fb7cee5f8aea88ab265.zip
Implement RFC 2421, 'Keyword unreservations (pure, sizeof, alignof, offsetof)'
Diffstat (limited to 'src/test/parse-fail/removed-syntax-fn-pure.rs')
-rw-r--r--src/test/parse-fail/removed-syntax-fn-pure.rs13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/test/parse-fail/removed-syntax-fn-pure.rs b/src/test/parse-fail/removed-syntax-fn-pure.rs
deleted file mode 100644
index 83794a70a4f..00000000000
--- a/src/test/parse-fail/removed-syntax-fn-pure.rs
+++ /dev/null
@@ -1,13 +0,0 @@
-// Copyright 2013 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
-
-pure fn f() {} //~ ERROR expected item, found `pure`