]> git.lizzy.rs Git - rust.git/blob - tests/ui/issues/issue-23281.rs
Rollup merge of #106148 - chenyukang:yukang/fix-105061-unused, r=lcnr
[rust.git] / tests / ui / issues / issue-23281.rs
1 pub struct Struct;
2
3 impl Struct {
4     pub fn function(funs: Vec<dyn Fn() -> ()>) {}
5     //~^ ERROR the size for values of type
6 }
7
8 struct Vec<T> {
9     t: T,
10 }
11
12 fn main() {}