mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-29 18:23:49 +00:00
13 lines
147 B
Rust
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;
|
|
}
|