Sign in
fuchsia
/
third_party
/
rust
/
03222c037142e915e9ea75f681ab98a5a46b8739
/
.
/
src
/
test
/
ui
/
unsized-locals
/
issue-50940.rs
blob: 7ba809b7e83e3a3117f3fca835330481fb1c30cf [
file
] [
log
] [
blame
]
fn
main
()
{
struct
A
<
X
:
?
Sized
>(
X
);
A
as
fn
(
str
)
->
A
<
str
>;
//~^ERROR the size for values of type `str` cannot be known at compilation time
}