blob: d01354465df765fc90c8c517f2769acfc0945a3e [file] [log] [blame]
#![feature(inherent_associated_types)]
#![allow(incomplete_features)]
// Check that we don't crash when printing inherent projections in diagnostics.
pub struct Carrier<'a>(&'a ());
impl<'a> Carrier<'a> {
pub type Focus<T> = &'a mut for<'b> fn(Carrier<'b>::Focus<i32>); //~ ERROR overflow evaluating associated type
}
fn main() {}