rust/tests/ui/issues/issue-23281.rs

13 lines
172 B
Rust
Raw Normal View History

pub struct Struct;
impl Struct {
2019-05-28 13:46:13 -05:00
pub fn function(funs: Vec<dyn Fn() -> ()>) {}
2018-07-10 16:10:13 -05:00
//~^ ERROR the size for values of type
}
struct Vec<T> {
t: T,
}
fn main() {}