Fix missed i128 feature gates

This commit is contained in:
Mark Mansi
2018-03-17 11:46:31 -05:00
parent ea89b507b3
commit 07104692d5
8 changed files with 19 additions and 66 deletions

View File

@@ -250,7 +250,7 @@ An unstable feature was used.
Erroneous code example:
```compile_fail,E658
#[repr(u128)] // error: use of unstable library feature 'i128'
#[repr(u128)] // error: use of unstable library feature 'repr128'
enum Foo {
Bar(u64),
}
@@ -264,7 +264,7 @@ If you're using a nightly version of rustc, just add the corresponding feature
to be able to use it:
```
#![feature(repri128)]
#![feature(repr128)]
#[repr(u128)] // ok!
enum Foo {