Sign in
fuchsia
/
third_party
/
rust
/
7de9402b77ded0d8ec9e1c554521b2121449ef2b
/
.
/
src
/
test
/
run-make-fulldeps
/
type-mismatch-same-crate-name
/
crateA.rs
blob: 4871c8c2e9ccd5f3f6bc425cfc2c0aac22c7982d [
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
foo
::
Foo
;
pub
use
bar
::{
Bar
,
bar
};