Regression test for issue 106247

This commit is contained in:
Gary Guo 2022-12-29 09:59:49 +00:00 committed by David Tolnay
parent 06ec0bf8b0
commit 4271ed48e9
No known key found for this signature in database
GPG Key ID: F9BA143B95FF6D82

View File

@ -0,0 +1,9 @@
// check-pass
#![deny(where_clauses_object_safety)]
pub trait Trait {
fn method(&self) where Self: Sync;
}
fn main() {}