We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e26f9ee + e746056 commit 6dbcc9bCopy full SHA for 6dbcc9b
1 file changed
crates/hir-ty/src/infer/fallback.rs
@@ -75,7 +75,7 @@ impl<'db> InferenceContext<'_, 'db> {
75
}
76
77
fn diverging_fallback_behavior(&self) -> DivergingFallbackBehavior {
78
- if self.krate().data(self.db).edition.at_least_2024() {
+ if self.edition.at_least_2024() {
79
return DivergingFallbackBehavior::ToNever;
80
81
0 commit comments