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

8 lines
119 B
Rust

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