Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
privacy
/
sealed-traits
/
re-exported-trait.fixed
blob: 1553d689a1c2a394e16d5082888a96fbccad6d58 [
file
] [
log
] [
blame
]
//@ run-rustfix
#![allow(dead_code)]
pub mod a
{
pub
use
self
::
b
::
Trait
;
mod b
{
pub trait
Trait
{}
}
}
struct
S
;
impl a
::
Trait
for
S
{}
//~ ERROR module `b` is private
fn main
()
{}