rust/tests/ui/traits/issue-75627.rs
2023-01-11 09:32:08 +00:00

7 lines
103 B
Rust

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