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
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() {}