Sign in
fuchsia
/
third_party
/
rust
/
9d09331e00b02f81c714b0c41ce3a38380dd36a2
/
.
/
src
/
test
/
ui
/
unsized
/
unsized-inherent-impl-self-type.rs
blob: 8bdf80c94da2203656c3d856c4860f545ef81288 [
file
] [
log
] [
blame
]
// Test sized-ness checking in substitution in impls.
// impl - struct
struct
S5
<
Y
>(
Y
);
impl
<
X
:
?
Sized
>
S5
<
X
>
{
//~^ ERROR the size for values of type
}
fn
main
()
{
}