Sign in
rust
/
rust-lang
/
rust
/
refs/heads/perf-tmp
/
.
/
tests
/
ui
/
privacy
/
use-in-impl-scope-12729.rs
blob: 58fe042beece47ae53e8d57a57dab8bf5d182473 [
file
] [
log
] [
blame
]
//! Regression test for https://github.com/rust-lang/rust/issues/12729
//@ edition: 2015
//@ check-pass
#![
allow
(
dead_code
)]
pub
struct
Foo
;
mod
bar
{
use
Foo
;
impl
Foo
{
fn
baz
(&
self
)
{}
}
}
fn
main
()
{}