We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bec7aab commit cae90b6Copy full SHA for cae90b6
rust-version
@@ -1 +1 @@
1
-13f9aa190957b993a268fd4a046fce76ca8814ee
+efc02b03d18b0cbaa55b1e421d792f70a39230b2
tests/compile-fail/concurrency/thread_local_static_dealloc.rs
@@ -9,5 +9,5 @@ static mut TLS: u8 = 0;
9
10
fn main() { unsafe {
11
let dangling_ptr = std::thread::spawn(|| &TLS as *const u8 as usize).join().unwrap();
12
- let _val = *(dangling_ptr as *const u8);
+ let _val = *(dangling_ptr as *const u8); //~ ERROR dereferenced after this allocation got freed
13
} }
tests/run-pass/panic/catch_panic.rs
@@ -1,4 +1,4 @@
-// normalize-stderr-test "[^ ]*libcore/[a-z/]+.rs[0-9:]*" -> "$$LOC"
+// normalize-stderr-test "[^ ]*libcore/[a-z_/]+.rs[0-9:]*" -> "$$LOC"
2
#![feature(never_type)]
3
#![allow(unconditional_panic)]
4
0 commit comments