// Test which of the builtin types are considered sendable. fn assert_send() { } // owned content are ok fn test30() { assert_send::>(); } fn test31() { assert_send::(); } fn test32() { assert_send:: >(); } // but not if they own a bad thing fn test40() { assert_send::>(); //~^ ERROR `*mut u8` cannot be sent between threads safely } fn main() { }