diff options
| author | Ralf Jung <post@ralfj.de> | 2017-09-09 11:13:56 +0200 |
|---|---|---|
| committer | Ralf Jung <post@ralfj.de> | 2017-09-09 11:18:02 +0200 |
| commit | 41f228824faaba767cd81eb4b47fffd77c8cbedd (patch) | |
| tree | a1cf57485159ea8e1f986fb85934e943bdf5f90a /src | |
| parent | 00c909dbd04979de95588f2c40b54f8787faf6a3 (diff) | |
| download | rust-41f228824faaba767cd81eb4b47fffd77c8cbedd.tar.gz rust-41f228824faaba767cd81eb4b47fffd77c8cbedd.zip | |
fix warnings in tests; update validation whitelist
Diffstat (limited to 'src')
| -rw-r--r-- | src/librustc_mir/interpret/validation.rs | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/librustc_mir/interpret/validation.rs b/src/librustc_mir/interpret/validation.rs index 878ec3e1911..9a16a4ec150 100644 --- a/src/librustc_mir/interpret/validation.rs +++ b/src/librustc_mir/interpret/validation.rs @@ -56,17 +56,17 @@ impl<'a, 'tcx, M: Machine<'tcx>> EvalContext<'a, 'tcx, M> { use regex::Regex; lazy_static! { static ref RE: Regex = Regex::new("^(\ - std::mem::uninitialized::|\ - std::mem::forget::|\ + (std|alloc::heap::__core)::mem::uninitialized::|\ + (std|alloc::heap::__core)::mem::forget::|\ <(std|alloc)::heap::Heap as (std::heap|alloc::allocator)::Alloc>::|\ - <std::mem::ManuallyDrop<T>><.*>::new$|\ - <std::mem::ManuallyDrop<T> as std::ops::DerefMut><.*>::deref_mut$|\ - std::ptr::read::|\ + <(std|alloc::heap::__core)::mem::ManuallyDrop<T>><.*>::new$|\ + <(std|alloc::heap::__core)::mem::ManuallyDrop<T> as std::ops::DerefMut><.*>::deref_mut$|\ + (std|alloc::heap::__core)::ptr::read::|\ \ <std::sync::Arc<T>><.*>::inner$|\ <std::sync::Arc<T>><.*>::drop_slow$|\ (std::heap|alloc::allocator)::Layout::for_value::|\ - std::mem::(size|align)_of_val::\ + (std|alloc::heap::__core)::mem::(size|align)_of_val::\ )").unwrap(); } // Now test |
