File tree 2 files changed +12
-7
lines changed
2 files changed +12
-7
lines changed Original file line number Diff line number Diff line change 8
8
// option. This file may not be copied, modified, or distributed
9
9
// except according to those terms.
10
10
11
- fn main ( ) {
12
- let _ = :: std:: u128:: MAX ; //~ ERROR E0658
11
+ #[ repr( u128 ) ]
12
+ enum Foo { //~ ERROR E0658
13
+ Bar ( u64 ) ,
13
14
}
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
3
3
|
4
- LL | let _ = ::std::u128::MAX; //~ ERROR E0658
5
- | ^^^^^^^^^^^^^^^^
4
+ LL | / enum Foo { //~ ERROR E0658
5
+ LL | | Bar(u64),
6
+ LL | | }
7
+ | |_^
6
8
|
7
- = help: add #![feature(repri128 )] to the crate attributes to enable
9
+ = help: add #![feature(repr128 )] to the crate attributes to enable
8
10
9
11
error: aborting due to previous error
10
12
You can’t perform that action at this time.
0 commit comments