1 // We previously mentioned other extern types in the error message here.
3 // Two extern types shouldn't really be considered similar just
4 // because they are both extern types.
6 #![feature(extern_types)]
8 type ShouldNotBeMentioned;
15 unsafe impl Send for ShouldNotBeMentioned {}
17 fn assert_send<T: Send + ?Sized>() {}
21 //~^ ERROR `Foo` cannot be sent between threads safely