1 // build-pass (FIXME(62277): could be check-pass?)
3 // Regression test related to #56288. Check that a supertrait projection (of
4 // `Output`) that references `Self` can be ok if it is referencing a projection (of
5 // `Self::Target`, in this case). Note that we still require the user to manually
6 // specify both `Target` and `Output` for now.
12 trait Helper: Base<Output=<Self as Helper>::Target> {
27 let _x: Box<dyn Helper<Target=i32, Output=i32>> = Box::new(2u32);