rust/tests/rustdoc/auxiliary/issue-21092.rs

13 lines
147 B
Rust

//@ compile-flags: -Cmetadata=aux
pub trait Foo {
type Bar;
fn foo(&self) {}
}
pub struct Bar;
impl Foo for Bar {
type Bar = i32;
}