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

7 lines
103 B
Rust
Raw Normal View History

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