Sign in
fuchsia
/
third_party
/
rust
/
9d09331e00b02f81c714b0c41ce3a38380dd36a2
/
.
/
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
()
{}