diff options
| author | Mark Mansi <markm@cs.wisc.edu> | 2018-03-17 11:46:31 -0500 |
|---|---|---|
| committer | Mark Mansi <markm@cs.wisc.edu> | 2018-03-26 08:37:56 -0500 |
| commit | 07104692d5df1401fe0109fca800e4efe4e81a6c (patch) | |
| tree | e7856e54c9046533f10a6d78cd06b53a1a2adebc /src/libsyntax | |
| parent | ea89b507b37e089e87af5646042b911c84656b4a (diff) | |
| download | rust-07104692d5df1401fe0109fca800e4efe4e81a6c.tar.gz rust-07104692d5df1401fe0109fca800e4efe4e81a6c.zip | |
Fix missed i128 feature gates
Diffstat (limited to 'src/libsyntax')
| -rw-r--r-- | src/libsyntax/diagnostic_list.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libsyntax/diagnostic_list.rs b/src/libsyntax/diagnostic_list.rs index 3246dc47701..bb7988e64bc 100644 --- a/src/libsyntax/diagnostic_list.rs +++ b/src/libsyntax/diagnostic_list.rs @@ -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 { |
