rust/tests/ui/error-codes/E0478.rs

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

9 lines
144 B
Rust
Raw Normal View History

2016-08-23 13:35:59 +00:00
trait Wedding<'t>: 't { }
struct Prince<'kiss, 'SnowWhite> {
2019-05-28 18:46:13 +00:00
child: Box<dyn Wedding<'kiss> + 'SnowWhite>, //~ ERROR E0478
2016-08-23 13:35:59 +00:00
}
fn main() {
}