Skip to content

Detect and avoid cycles when resolving items. #2088

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 24, 2021

Conversation

pcwalton
Copy link
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
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