os-rust/src/test/ui/issues/issue-5883.rs

14 lines
210 B
Rust
Raw Normal View History

2015-04-17 22:12:20 -07:00
trait A {}
struct Struct {
r: A+'static
}
fn new_struct(r: A+'static)
2018-07-10 23:10:13 +02:00
-> Struct { //~^ ERROR the size for values of type
//~^ ERROR the size for values of type
Struct { r: r }
}
fn main() {}