Sign in
rust
/
rust
/
HEAD
/
.
/
tests
/
run-make
/
type-mismatch-same-crate-name
/
crateA.rs
blob: 7ad8fd2a6480b06be5f1f14be189c6030621ad02 [
file
] [
log
] [
blame
]
mod
foo
{
pub
struct
Foo
;
}
mod
bar
{
pub
trait
Bar
{}
pub
fn
bar
()
->
Box
<
Bar
>
{
unimplemented
!()
}
}
// This makes the publicly accessible path
// differ from the internal one.
pub
use
bar
::{
Bar
,
bar
};
pub
use
foo
::
Foo
;