rust/tests/ui/traits/composition-trivial.rs
2024-02-16 20:02:50 +00:00

13 lines
140 B
Rust

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