]> git.lizzy.rs Git - rust.git/blob - tests/ui/issues/issue-23281.rs
Rollup merge of #106896 - Ezrashaw:str-cast-bool-emptyness, r=compiler-errors
[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() {}