Skip to content

Detect and avoid cycles when resolving items.#2088

Merged
emilio merged 1 commit intorust-lang:masterfrom
pcwalton:resolve-iloop
Aug 24, 2021
Merged

Detect and avoid cycles when resolving items.#2088
emilio merged 1 commit intorust-lang:masterfrom
pcwalton:resolve-iloop

Conversation

@pcwalton
Copy link
Copy Markdown
Contributor

@pcwalton pcwalton commented Aug 2, 2021

These can happen in certain cases involving incomplete qualified dependent
types. To avoid looping forever, we need to check for them.

Closes #2085.

r? @emilio

These can happen in certain cases involving incomplete qualified dependent
types. To avoid looping forever, we need to check for them.

Closes rust-lang#2085.
Copy link
Copy Markdown
Contributor

@emilio emilio left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A bit wallpaperish, but works for me, thanks!

@emilio emilio merged commit b71e73b into rust-lang:master Aug 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Infinite loop resolving items when combining partial template specialization with qualified dependent types

3 participants