about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorRalf Jung <post@ralfj.de>2017-09-13 12:41:38 +0200
committerRalf Jung <post@ralfj.de>2017-09-13 15:46:53 +0200
commitbac89ae1d875ff3cf28c682c4d34d30058bfa6c4 (patch)
treec7d7cc5543d262a86e7a6b6df1cb1ef1d9b93f5c /src
parentaa578de018ef29d6caac4bd4b71f5d3ffd61608b (diff)
downloadrust-bac89ae1d875ff3cf28c682c4d34d30058bfa6c4.tar.gz
rust-bac89ae1d875ff3cf28c682c4d34d30058bfa6c4.zip
enable validation for a bunch of more tests
Diffstat (limited to 'src')
-rw-r--r--src/librustc_mir/interpret/validation.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/librustc_mir/interpret/validation.rs b/src/librustc_mir/interpret/validation.rs
index b379fa735c9..2e9865530d4 100644
--- a/src/librustc_mir/interpret/validation.rs
+++ b/src/librustc_mir/interpret/validation.rs
@@ -126,8 +126,7 @@ impl<'a, 'tcx, M: Machine<'tcx>> EvalContext<'a, 'tcx, M> {
             use regex::Regex;
             lazy_static! {
                 static ref RE: Regex = Regex::new("^(\
-                    (std|alloc::heap::__core)::mem::uninitialized::|\
-                    (std|alloc::heap::__core)::mem::forget::|\
+                    (std|alloc::heap::__core)::mem::(uninitialized|forget)::|\
                     <(std|alloc)::heap::Heap as (std::heap|alloc::allocator)::Alloc>::|\
                     <(std|alloc::heap::__core)::mem::ManuallyDrop<T>><.*>::new$|\
                     <(std|alloc::heap::__core)::mem::ManuallyDrop<T> as std::ops::DerefMut><.*>::deref_mut$|\