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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

9 lines
117 B
Rust
Raw Normal View History

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