rust/tests/ui/traits/composition-trivial.rs
2023-01-11 09:32:08 +00:00

12 lines
136 B
Rust

// run-pass
// pretty-expanded FIXME #23616
trait Foo {
fn foo(&self);
}
trait Bar : Foo {
fn bar(&self);
}
pub fn main() {}