Sign in
fuchsia
/
third_party
/
github.com
/
rust-lang
/
rust
/
a10a02bf5fd00e4b34f1856af17d058dd5ec06f0
/
.
/
src
/
test
/
incremental
/
cyclic-trait-hierarchy.rs
blob: b502e7207d56182a380aa61787137c70c561026f [
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
()
{}