Sign in
fuchsia
/
third_party
/
rust
/
ba956ef4b00c91579cff9b2220358ee3a46d982f
/
.
/
tests
/
incremental
/
cyclic-trait-hierarchy.rs
blob: 6a6aedee832005d35ad1f64571ac81e29a074815 [
file
] [
log
] [
blame
]
// Adapted from rust-lang/rust#58813
//@ revisions: rpass1 cfail2
#[
cfg
(
rpass1
)]
pub
trait
T2
{}
#[
cfg
(
cfail2
)]
pub
trait
T2
:
T1
{}
//[cfail2]~^ ERROR cycle detected when computing the super predicates of `T2`
pub
trait
T1
:
T2
{}
fn
main
()
{}