about summary refs log tree commit diff
path: root/src/test/parse-fail
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2015-03-23 15:27:06 -0700
committerAlex Crichton <alex@alexcrichton.com>2015-03-23 15:27:06 -0700
commit3112716f123bc0f6f69c4df26894241f41c488ce (patch)
tree9719ea02926515843f8db55b0466e648659eeb44 /src/test/parse-fail
parentaea822626fef66b6607bc50114b1fb6f8dcd148a (diff)
parentf945190e6352a1bc965a117569532643319b400f (diff)
downloadrust-3112716f123bc0f6f69c4df26894241f41c488ce.tar.gz
rust-3112716f123bc0f6f69c4df26894241f41c488ce.zip
rollup merge of #23506: alexcrichton/remove-some-deprecated-things
Conflicts:
	src/test/run-pass/deprecated-no-split-stack.rs
Diffstat (limited to 'src/test/parse-fail')
-rw-r--r--src/test/parse-fail/obsolete-for-sized.rs17
1 files changed, 0 insertions, 17 deletions
diff --git a/src/test/parse-fail/obsolete-for-sized.rs b/src/test/parse-fail/obsolete-for-sized.rs
deleted file mode 100644
index 1b86d08a50d..00000000000
--- a/src/test/parse-fail/obsolete-for-sized.rs
+++ /dev/null
@@ -1,17 +0,0 @@
-// Copyright 2015 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.
-
-// Test that we generate obsolete syntax errors around usages of `for Sized?`
-
-trait Foo for Sized? {} //~ ERROR obsolete syntax: for Sized?
-
-trait Bar for ?Sized {} //~ ERROR obsolete syntax: for Sized?
-
-fn main() { }