rust/tests/ui/issues/issue-23281.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

13 lines
172 B
Rust
Raw Normal View History

pub struct Struct;
impl Struct {
2019-05-28 18:46:13 +00:00
pub fn function(funs: Vec<dyn Fn() -> ()>) {}
2018-07-10 21:10:13 +00:00
//~^ ERROR the size for values of type
}
struct Vec<T> {
t: T,
}
fn main() {}