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