fork/rust
git clone https://git.julia.blue/fork/rust
8d69840ab92
1.43.1
1fn assert_send<T:Send>() { } 2 3// unsafe ptrs are ok unless they point at unsendable things 4fn test70() { 5 assert_send::<*mut int>(); 6} 7fn test71<'a>() { 8 assert_send::<*mut &'a int>(); //~ ERROR does not fulfill the required lifetime 9} 10 11fn main() { 12}