Skip to content

Commit 4271ed4

Browse files
nbdd0121dtolnay
authored andcommitted
Regression test for issue 106247
1 parent 06ec0bf commit 4271ed4

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
// check-pass
2+
3+
#![deny(where_clauses_object_safety)]
4+
5+
pub trait Trait {
6+
fn method(&self) where Self: Sync;
7+
}
8+
9+
fn main() {}

0 commit comments

Comments
 (0)