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

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