about summary refs log tree commit diff
path: root/tests/rustdoc/impl/auxiliary/issue-21092.rs
blob: 49522e0d4b5acedc72f187ec165d7d9464c3fd59 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
//@ compile-flags: -Cmetadata=aux

pub trait Foo {
    type Bar;
    fn foo(&self) {}
}

pub struct Bar;

impl Foo for Bar {
    type Bar = i32;
}