mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 07:14:28 +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;
|
|
}
|