rust/src/test/ui/issues/issue-23281.rs
Esteban Küber bd7ea5441e Use PredicateObligations instead of Predicates
Keep more information about trait binding failures.
2020-04-08 14:40:45 -07:00

13 lines
172 B
Rust

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