rust/tests/ui/object-safety/issue-106247.rs

10 lines
127 B
Rust
Raw Normal View History

2022-12-29 03:59:49 -06:00
// check-pass
#![deny(where_clauses_object_safety)]
pub trait Trait {
fn method(&self) where Self: Sync;
}
fn main() {}