rust/src/test/ui/resolve/issue-5035-2.rs
2018-12-25 21:08:33 -07:00

8 lines
102 B
Rust

trait I {}
type K = I+'static;
fn foo(_x: K) {}
//~^ ERROR the size for values of type
fn main() {}