mirror of
https://github.com/rust-lang/rust.git
synced 2025-09-28 21:55:31 +00:00
15 lines
223 B
Rust
15 lines
223 B
Rust
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
|