diff options
| author | Ben Schreiber <bjschre2@illinois.edu> | 2017-02-25 21:42:22 -0600 |
|---|---|---|
| committer | Ben Schreiber <bjschre2@illinois.edu> | 2017-02-25 21:42:22 -0600 |
| commit | 98fd50a0793e7430c8b8ee2fba67fad83c668ab3 (patch) | |
| tree | 4627bbb98b9fe09868dbf070fc54e0dafbb0e5c8 /src/test/compile-fail | |
| parent | 1572bf104dbf65d58bd6b889fa46229c9b92d6f9 (diff) | |
| download | rust-98fd50a0793e7430c8b8ee2fba67fad83c668ab3.tar.gz rust-98fd50a0793e7430c8b8ee2fba67fad83c668ab3.zip | |
teach rustc about remove_stable_features and removed no-stack-chech feature. fixes #34915
Diffstat (limited to 'src/test/compile-fail')
| -rw-r--r-- | src/test/compile-fail/deprecated_no_stack_check.rs | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/test/compile-fail/deprecated_no_stack_check.rs b/src/test/compile-fail/deprecated_no_stack_check.rs new file mode 100644 index 00000000000..38aaefd52b3 --- /dev/null +++ b/src/test/compile-fail/deprecated_no_stack_check.rs @@ -0,0 +1,16 @@ +// 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. + +#![deny(warnings)] +#![feature(no_stack_check)] +//~^ ERROR: 12:12: 12:26: feature has been removed [E0557] +fn main() { + +} |
