mirror of https://github.com/rust-lang/rust.git
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() {}
|