blob: 0327dee6959b66baf21e5f7400f09153fc0a7043 [file] [log] [blame]
// Test to print lifetimes on HIR pretty-printing.
//@ pretty-compare-only
//@ pretty-mode:hir
//@ pp-exact:issue-85089.pp
trait A<'x> {}
trait B<'x> {}
struct Foo<'b> {
pub bar: &'b dyn for<'a> A<'a>,
}
impl<'a> B<'a> for dyn for<'b> A<'b> {}
impl<'a> A<'a> for Foo<'a> {}