rust/src/test/ui/issues/issue-22673.rs
Santiago Pastorino 37354ebc97
Revert "Auto merge of #79209 - spastorino:trait-inheritance-self, r=nikomatsakis"
This reverts commit 349b3b324dade7ca638091db93ba08bbc443c63d, reversing
changes made to b776d1c3e3db8befabb123ebb1e46c3531eaed46.
2020-12-02 12:19:38 -03:00

7 lines
99 B
Rust

trait Expr : PartialEq<Self::Item> {
//~^ ERROR: cycle detected
type Item;
}
fn main() {}