mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-12 23:13:15 +00:00
11 lines
181 B
Rust
11 lines
181 B
Rust
//@ known-bug: rust-lang/rust#125512
|
|
//@ edition:2021
|
|
#![feature(dyn_compatible_for_dispatch)]
|
|
trait B {
|
|
fn f(a: A) -> A;
|
|
}
|
|
trait A {
|
|
fn concrete(b: B) -> B;
|
|
}
|
|
fn main() {}
|