1 2 3 4 5 6 7 8
//@ check-pass // issue: rust-lang/rust#106247 pub trait Trait { fn method(&self) where Self: Sync; } fn main() {}