From 1f5e45b76961d54e3b825c3c6af6b6e02504d2be Mon Sep 17 00:00:00 2001 From: "Felix S. Klock II" Date: Tue, 31 Mar 2015 21:53:12 +0200 Subject: [PATCH] Include feature `core` to get access to `wrapping_add`. --- src/test/run-pass/small-enum-range-edge.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/test/run-pass/small-enum-range-edge.rs b/src/test/run-pass/small-enum-range-edge.rs index ded66fb86ad..a87a3072c8a 100644 --- a/src/test/run-pass/small-enum-range-edge.rs +++ b/src/test/run-pass/small-enum-range-edge.rs @@ -10,6 +10,9 @@ // pretty-expanded FIXME #23616 +// this is for the wrapping_add call below. +#![feature(core)] + /*! * Tests the range assertion wraparound case in trans::middle::adt::load_discr. */