Sign in
rust
/
rust-lang
/
rust
/
refs/heads/stable
/
.
/
tests
/
ui
/
traits
/
dyn-trait-size-error-23281.rs
blob: 8e44b8c87993441d9018c4d27fd4fa4802350e4b [
file
] [
log
] [
blame
]
pub
struct
Struct
;
impl
Struct
{
pub
fn
function
(
funs
:
Vec
<
dyn
Fn
()
->
()>)
{}
//~^ ERROR the size for values of type
}
struct
Vec
<
T
>
{
t
:
T
,
}
fn
main
()
{}
// https://github.com/rust-lang/rust/issues/23281