Open
Description
a.k.a. an enhanced private-in-public
lint.
For example this currently compiles without warning, even though users of the library cannot name the return type of foo
(playground):
use self::foo::Foo;
mod foo { pub struct Foo; }
pub fn foo() -> Foo {
Foo
}
Metadata
Metadata
Assignees
Labels
No labels