Sign in
rust
/
rust
/
22cf1fb6fe6b97ebc190824375a2c9701abb850a
/
.
/
tests
/
incremental
/
cyclic-trait-hierarchy.rs
blob: 4b0570361c1b71eb41ac3f2c8a281d63455d8e0e [
file
]
// Adapted from rust-lang/rust#58813
//@ revisions: rpass1 bfail2
#[
cfg
(
rpass1
)]
pub
trait
T2
{}
#[
cfg
(
bfail2
)]
pub
trait
T2
:
T1
{}
//[bfail2]~^ ERROR cycle detected when computing the super predicates of `T2`
pub
trait
T1
:
T2
{}
fn
main
()
{}