Sign in
android
/
toolchain
/
rustc
/
9cf678059bdfead0671d48dbbb51b152b62d6995
/
.
/
src
/
test
/
ui
/
trait-bounds
/
shadowed-path-in-trait-bound-suggestion.rs
blob: ee6ed0cae671cb111e1d0df19e212897df49e71e [
file
] [
log
] [
blame
]
// run-rustfix
#![
allow
(
non_snake_case
)]
mod
A
{
pub
trait
Trait
{}
impl
Trait
for
i32
{}
}
mod
B
{
pub
struct
A
<
H
:
A
::
Trait
>(
pub
H
);
//~ ERROR cannot find trait
}
fn
main
()
{
let
_
=
B
::
A
(
42
);
}