Skip to content

Commit

Permalink
Regression test for issue 106247
Browse files Browse the repository at this point in the history
  • Loading branch information
nbdd0121 authored and dtolnay committed Dec 30, 2022
1 parent 06ec0bf commit 4271ed4
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/test/ui/object-safety/issue-106247.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
// check-pass

#![deny(where_clauses_object_safety)]

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

fn main() {}

0 comments on commit 4271ed4

Please sign in to comment.