rust/tests/ui/resolve/issue-5035-2.rs

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

8 lines
108 B
Rust
Raw Normal View History

2015-04-17 22:12:20 -07:00
trait I {}
2019-05-28 14:46:13 -04:00
type K = dyn I + 'static;
2014-08-06 11:59:40 +02:00
fn foo(_x: K) {}
2018-07-10 23:10:13 +02:00
//~^ ERROR the size for values of type
fn main() {}