rust/tests/run-make/lib-trait-for-trait-no-ice/foo.rs

6 lines
57 B
Rust

trait Foo {}
trait Bar {}
impl<'a> Foo for Bar + 'a {}