diff --git a/tests/ui/sanitizer/thread.rs b/tests/ui/sanitizer/thread.rs index 566774d6b1d64..9d9ad6ee51867 100644 --- a/tests/ui/sanitizer/thread.rs +++ b/tests/ui/sanitizer/thread.rs @@ -20,6 +20,7 @@ //@ error-pattern: Location is heap block of size 4 //@ error-pattern: allocated by main thread +#![feature(raw_ref_op)] #![feature(rustc_private)] extern crate libc;