blob: 51a991bef5959d1e410a121af060343ecba72528 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
mod private {
pub trait Trait {
fn trait_method(&self) {
}
}
pub trait TraitB {
fn trait_method_b(&self) {
}
}
}
pub struct FooStruct;
pub use crate::private::Trait;
impl crate::private::Trait for FooStruct {}
pub use crate::private::TraitB as TraitBRename;
impl crate::private::TraitB for FooStruct {}
|