rust/tests/ui/traits/issue-75627.rs

7 lines
103 B
Rust

struct Foo<T>(T, *const ());
unsafe impl Send for Foo<T> {}
//~^ ERROR cannot find type
fn main() {}