mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-07 06:04:32 +00:00
13 lines
146 B
Rust
13 lines
146 B
Rust
// compile-flags: -Cmetadata=aux
|
|
|
|
pub trait Foo {
|
|
type Bar;
|
|
fn foo(&self) {}
|
|
}
|
|
|
|
pub struct Bar;
|
|
|
|
impl Foo for Bar {
|
|
type Bar = i32;
|
|
}
|