rust/tests/ui/privacy/private-bounds-locally-allo...

8 lines
121 B
Rust

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