Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions compiler/rustc_error_codes/src/error_codes/E0275.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,10 @@ determine this, we check if `Bar<Bar<Bar<T>>>` is `Foo`, and so on. This is
clearly a recursive requirement that can't be resolved directly.

Consider changing your trait bounds so that they're less self-referential.

### If you definitely do not have a recursive definition:
If using nightly, this can also happen when you are missing a feature
needed to evaluate the requirement (e.g., generic_const_exprs).

Check whether the crate that define the Impl use some features related to it,
and try to enable them on the client crate.
Loading