]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-23281.rs
Rollup merge of #100168 - WaffleLapkin:improve_diagnostics_for_missing_type_in_a_cons...
[rust.git] / src / test / 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() {}