summaryrefslogtreecommitdiffstats
path: root/src/test/ui/issues/issue-23281.rs
blob: 72716896426e4a146143426445d52678788ccd9d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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() {}