3 // This is another instance of the "normalizations don't work" issue with
4 // defaulted associated types.
6 #![feature(associated_type_defaults)]
8 pub trait Emitter<'a> {
10 type CtxtBrw: 'a = &'a Self::Ctxt;
12 fn get_cx(&'a self) -> Self::CtxtBrw;
21 impl <'a> Emitter<'a> for MyEmitter {
24 fn get_cx(&'a self) -> &'a MyCtxt {