summaryrefslogtreecommitdiffstats
path: root/src/test/ui/error-codes/E0478.rs
blob: b1562dc0a8ba0e51e99dea8f233bf1479992e1e7 (plain)
1
2
3
4
5
6
7
8
trait Wedding<'t>: 't { }

struct Prince<'kiss, 'SnowWhite> {
    child: Box<dyn Wedding<'kiss> + 'SnowWhite>, //~ ERROR E0478
}

fn main() {
}