rust/tests/ui/privacy/private-bounds-locally-allowed.rs

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

8 lines
121 B
Rust
Raw Normal View History

//@ check-pass
//@ compile-flags: --crate-type=lib
#[allow(private_bounds)]
pub trait Foo: FooImpl {}
trait FooImpl {}