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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

10 lines
128 B
Rust
Raw Normal View History

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