diff options
| author | bors <bors@rust-lang.org> | 2017-01-08 19:50:57 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2017-01-08 19:50:57 +0000 |
| commit | bb7e7ef70ef61e6b701914c80f07be819587c91e (patch) | |
| tree | e7e67c48b670892c4bbab16055ae0f67fcd6d447 /src/test | |
| parent | 302602bcb3c608979bb9122960fbe037d92666e9 (diff) | |
| parent | 1779ffa98f89ba98a9c404f31d559fa7d6214caa (diff) | |
| download | rust-bb7e7ef70ef61e6b701914c80f07be819587c91e.tar.gz rust-bb7e7ef70ef61e6b701914c80f07be819587c91e.zip | |
Auto merge of #38861 - est31:master, r=alexcrichton
Make members of {std,core}::{i128,u128} unstable
Fixes #38860
Diffstat (limited to 'src/test')
| -rw-r--r-- | src/test/compile-fail/i128-feature-libs.rs | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/test/compile-fail/i128-feature-libs.rs b/src/test/compile-fail/i128-feature-libs.rs new file mode 100644 index 00000000000..b29ac50fd37 --- /dev/null +++ b/src/test/compile-fail/i128-feature-libs.rs @@ -0,0 +1,17 @@ +// Copyright 2017 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. + +fn testl() { + ::std::u128::MAX; //~ ERROR use of unstable library feature 'i128' +} + +fn testl2() { + ::std::i128::MAX; //~ ERROR use of unstable library feature 'i128' +} |
