diff options
| author | Ralf Jung <post@ralfj.de> | 2017-07-26 11:10:47 -0700 |
|---|---|---|
| committer | Ralf Jung <post@ralfj.de> | 2017-07-26 11:10:47 -0700 |
| commit | fdc7071697c8dd1d5db3621827dcb74bdcdfa4de (patch) | |
| tree | 3be75c415d1148039e1ea005122614cc54cc6919 /src | |
| parent | b372de8ec9db03b5a9bc50e1cc204789d5700673 (diff) | |
| download | rust-fdc7071697c8dd1d5db3621827dcb74bdcdfa4de.tar.gz rust-fdc7071697c8dd1d5db3621827dcb74bdcdfa4de.zip | |
whitelist some more methods
Diffstat (limited to 'src')
| -rw-r--r-- | src/librustc_mir/interpret/validation.rs | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/librustc_mir/interpret/validation.rs b/src/librustc_mir/interpret/validation.rs index 8d0af524d57..eb8afa56e4f 100644 --- a/src/librustc_mir/interpret/validation.rs +++ b/src/librustc_mir/interpret/validation.rs @@ -46,10 +46,15 @@ std::mem::swap::|\ std::mem::uninitialized::|\ std::ptr::read::|\ std::panicking::try::do_call::|\ -<std::heap::Heap as std::heap::Alloc>::alloc$|\ +std::slice::from_raw_parts_mut::|\ +<std::heap::Heap as std::heap::Alloc>::|\ <std::mem::ManuallyDrop<T>><std::heap::AllocErr>::new$|\ +<std::mem::ManuallyDrop<T> as std::ops::DerefMut><std::heap::AllocErr>::deref_mut$|\ std::sync::atomic::AtomicBool::get_mut$|\ -<std::vec::Vec<T>><[a-zA-Z0-9_]+>::into_boxed_slice$\ +<std::boxed::Box<T>><[a-zA-Z0-9_\\[\\]]+>::from_raw|\ +<[a-zA-Z0-9_:<>]+ as std::slice::SliceIndex<[a-zA-Z0-9_\\[\\]]+>><[a-zA-Z0-9_\\[\\]]+>::get_unchecked_mut$|\ +<alloc::raw_vec::RawVec<T, std::heap::Heap>><[a-zA-Z0-9_\\[\\]]+>::into_box$|\ +<std::vec::Vec<T>><[a-zA-Z0-9_\\[\\]]+>::into_boxed_slice$\ )").unwrap(); } // Now test |
