rust/tests/ui/traits/new-solver/unsafe-auto-trait-impl.rs

9 lines
117 B
Rust

// compile-flags: -Ztrait-solver=next
// check-pass
struct Foo(*mut ());
unsafe impl Sync for Foo {}
fn main() {}