Skip to content

Commit 1f5e45b

Browse files
committed
Include feature core to get access to wrapping_add.
1 parent 41b3c86 commit 1f5e45b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/test/run-pass/small-enum-range-edge.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@
1010

1111
// pretty-expanded FIXME #23616
1212

13+
// this is for the wrapping_add call below.
14+
#![feature(core)]
15+
1316
/*!
1417
* Tests the range assertion wraparound case in trans::middle::adt::load_discr.
1518
*/

0 commit comments

Comments
 (0)