Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
unsized
/
unsized-fn-arg.rs
blob: b5ec4bda673ab2d8aabccc8daae72872055dd33d [
file
] [
log
] [
blame
]
//@ run-rustfix
#![
crate_type
=
"lib"
]
#![
allow
(
unused
)]
fn
f
<
T
:
?
Sized
>(
t
:
T
)
{}
//~^ ERROR the size for values of type `T` cannot be known at compilation time