trybuild 1.0.36

Test harness for ui tests of compiler diagnostics
Documentation
1
2
3
4
5
6
7
8
9
10
use std::ptr;
use std::thread;

fn main() {
    let x = ptr::null_mut();

    thread::spawn(|| {
        println!("{:?}", x)
    });
}