blob: 8e44b8c87993441d9018c4d27fd4fa4802350e4b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
  | 
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
 
  |