Skip to content

fix: Cycle handlers for HirDatabase::infer, const_param_ty_with_diagnostics #19894

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
Jun 3, 2025

Conversation

ShoyuVanilla
Copy link
Member

@ShoyuVanilla ShoyuVanilla commented May 30, 2025

Fixes #19887

@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label May 30, 2025
@@ -2301,3 +2301,51 @@ trait Foo {
"#]],
);
}

#[test]
fn no_panic_on_recursive_const() {
Copy link
Member Author

Choose a reason for hiding this comment

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

Managed to reproduce panics here

@Veykril Veykril added this pull request to the merge queue Jun 3, 2025
Merged via the queue into rust-lang:master with commit ed2ae94 Jun 3, 2025
14 checks passed
@ShoyuVanilla ShoyuVanilla deleted the some-query-cycles branch June 3, 2025 06:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-review Status: Awaiting review from the assignee but also interested parties.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Panic: dependency graph cycle causes rust-analyzer to panic
3 participants