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-18 05:12:20 +00:00
trait I {}
2019-05-28 18:46:13 +00:00
type K = dyn I + 'static;
2014-08-06 09:59:40 +00:00
fn foo(_x: K) {}
2018-07-10 21:10:13 +00:00
//~^ ERROR the size for values of type
fn main() {}