Sign in
fuchsia
/
third_party
/
rust
/
7de9402b77ded0d8ec9e1c554521b2121449ef2b
/
.
/
src
/
test
/
ui
/
resolve
/
resolve-self-in-impl-2.rs
blob: f586760c8b096180f9c1ed5bec685b20e20dbab3 [
file
] [
log
] [
blame
]
struct
S
<
T
=
u8
>(
T
);
trait
Tr
<
T
=
u8
>
{}
impl
Self
for
S
{}
//~ ERROR expected trait, found self type `Self`
impl
Self
::
N
for
S
{}
//~ ERROR cannot find trait `N` in `Self`
fn
main
()
{}