1
Fork 0

Lint node for PRIVATE_BOUNDS is the item which has the bounds

This commit is contained in:
Michael Goulet 2023-09-07 06:27:10 +00:00
parent f00c139998
commit 14e59bb317
2 changed files with 11 additions and 3 deletions

View file

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