summaryrefslogtreecommitdiffstats
path: root/tests/rustdoc/auxiliary/issue-21092.rs
blob: 51ab7de1c546ca8f2bf922c11cf17a392b010563 (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;
}