rust/tests/ui/privacy/auxiliary/issue-75907.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

18 lines
242 B
Rust
Raw Normal View History

pub struct Bar(pub u8, u8, u8);
pub fn make_bar() -> Bar {
Bar(1, 12, 10)
}
2021-05-08 03:07:27 -05:00
mod inner {
pub struct Foo(u8, pub u8, u8);
impl Foo {
pub fn new() -> Foo {
Foo(1, 12, 10)
}
}
}
pub use inner::Foo;