Sign in
fuchsia
/
third_party
/
rust
/
9ae1a664f7b947dadb9e97eea7703831d9cd5d31
/
.
/
src
/
test
/
incremental
/
cyclic-trait-hierarchy.rs
blob: 27287d06d54b171b4573b235d1345fb42e6a56c7 [
file
] [
log
] [
blame
]
// Adapated 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 supertraits of `T2`
pub
trait
T1
:
T2
{
}
fn
main
()
{
}