File tree Expand file tree Collapse file tree 2 files changed +12
-7
lines changed Expand file tree Collapse file tree 2 files changed +12
-7
lines changed Original file line number Diff line number Diff line change 88// option. This file may not be copied, modified, or distributed
99// except according to those terms.
1010
11- fn main ( ) {
12- let _ = :: std:: u128:: MAX ; //~ ERROR E0658
11+ #[ repr( u128 ) ]
12+ enum Foo { //~ ERROR E0658
13+ Bar ( u64 ) ,
1314}
15+
16+ fn main ( ) { }
Original file line number Diff line number Diff line change 1- error[E0658]: use of unstable library feature 'i128' (see issue #35118)
2- --> $DIR/E0658.rs:12:13
1+ error[E0658]: repr with 128-bit type is unstable (see issue #35118)
2+ --> $DIR/E0658.rs:12:1
33 |
4- LL | let _ = ::std::u128::MAX; //~ ERROR E0658
5- | ^^^^^^^^^^^^^^^^
4+ LL | / enum Foo { //~ ERROR E0658
5+ LL | | Bar(u64),
6+ LL | | }
7+ | |_^
68 |
7- = help: add #![feature(repri128 )] to the crate attributes to enable
9+ = help: add #![feature(repr128 )] to the crate attributes to enable
810
911error: aborting due to previous error
1012
You can’t perform that action at this time.
0 commit comments