summary refs log tree commit diff
path: root/src/test/ui/issues/issue-23281.rs
blob: d5f747288627323b0127f557df0c85c05790f5fc (plain)
1
2
3
4
5
6
7
8
pub struct Struct;

impl Struct {
    pub fn function(funs: Vec<dyn Fn() -> ()>) {}
    //~^ ERROR the size for values of type
}

fn main() {}