Sign in
◑
Theme
chromium
/
external
/
github.com
/
rust-lang
/
rust
/
refs/heads/stable
/
.
/
tests
/
ui
/
cycle-trait
/
cycle-trait-supertrait-indirect.rs
blob: 3324444d3351b5eb31660e84086fd782757b290a [
file
] [
edit
]
// Test a supertrait cycle where the first trait we find (`A`) is not
// a direct participant in the cycle.
//@ ignore-parallel-frontend query cycle
trait
A
:
B
{
}
trait
B
:
C
{
//~^ ERROR cycle detected
}
trait
C
:
B
{
}
fn
main
()
{
}