Stabilize i128 feature too

This commit is contained in:
Mark Mansi
2018-03-16 20:15:56 -05:00
parent 33d9d8e0c6
commit db7d9ea480
10 changed files with 21 additions and 29 deletions

View File

@@ -250,7 +250,10 @@ An unstable feature was used.
Erroneous code example:
```compile_fail,E658
let x = ::std::u128::MAX; // error: use of unstable library feature 'i128'
#[repr(u128)] // error: use of unstable library feature 'i128'
enum Foo {
Bar(u64),
}
```
If you're using a stable or a beta version of rustc, you won't be able to use
@@ -261,10 +264,11 @@ If you're using a nightly version of rustc, just add the corresponding feature
to be able to use it:
```
#![feature(i128)]
#![feature(repri128)]
fn main() {
let x = ::std::u128::MAX; // ok!
#[repr(u128)] // ok!
enum Foo {
Bar(u64),
}
```
"##,