Sign in
fuchsia
/
third_party
/
github.com
/
rust-lang
/
rust
/
HEAD
/
.
/
tests
/
ui
/
associated-consts
/
wrong-projection-self-ty-invalid-bivariant-arg.rs
blob: a33d4928f0145059f4437638ae83dbbfe9be7ac9 [
file
] [
log
] [
blame
]
struct
Fail
<
T
>;
//~^ ERROR: type parameter `T` is never used
impl
Fail
<
i32
>
{
const
C
:
()
=
();
}
fn
main
()
{
Fail
::<()>::
C
//~^ ERROR no associated item named `C` found for struct `Fail<()>` in the current scope
}