mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-30 10:45:18 +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() {}
|