rust/src/librustc_error_codes/error_codes/E0391.md

279 B

This error indicates that some types or traits depend on each other and therefore cannot be constructed.

The following example contains a circular dependency between two traits:

trait FirstTrait : SecondTrait {

}

trait SecondTrait : FirstTrait {

}