#![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() {} |