summaryrefslogtreecommitdiffstats
path: root/tests/ui/object-safety/issue-106247.rs
blob: 64bf59e5d3aa51273644444971b0c760cea5954f (plain)
1
2
3
4
5
6
7
8
9
// check-pass

#![deny(where_clauses_object_safety)]

pub trait Trait {
    fn method(&self) where Self: Sync;
}

fn main() {}