rust/tests/ui/privacy/private-bounds-locally-allowed.rs
2024-02-16 20:02:50 +00:00

8 lines
121 B
Rust

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