mirror of
https://github.com/rust-lang/rust.git
synced 2024-10-31 06:22:00 +00:00
11 lines
178 B
Rust
11 lines
178 B
Rust
//@ known-bug: rust-lang/rust#125512
|
|
//@ edition:2021
|
|
#![feature(object_safe_for_dispatch)]
|
|
trait B {
|
|
fn f(a: A) -> A;
|
|
}
|
|
trait A {
|
|
fn concrete(b: B) -> B;
|
|
}
|
|
fn main() {}
|