Skip to content

Commit 34a3187

Browse files
committed
internal: Mark unresolved field, unresolved method and expected function diagnostics experimental
1 parent a360fab commit 34a3187

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

crates/ide-diagnostics/src/handlers/expected_function.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ pub(crate) fn expected_function(
1414
format!("expected function, found {}", d.found.display(ctx.sema.db)),
1515
ctx.sema.diagnostics_display_range(d.call.clone().map(|it| it.into())).range,
1616
)
17+
.experimental()
1718
}
1819

1920
#[cfg(test)]

crates/ide-diagnostics/src/handlers/unresolved_field.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ pub(crate) fn unresolved_field(
3232
ctx.sema.diagnostics_display_range(d.expr.clone().map(|it| it.into())).range,
3333
)
3434
.with_fixes(fixes(ctx, d))
35+
.experimental()
3536
}
3637

3738
fn fixes(ctx: &DiagnosticsContext<'_>, d: &hir::UnresolvedField) -> Option<Vec<Assist>> {

crates/ide-diagnostics/src/handlers/unresolved_method.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ pub(crate) fn unresolved_method(
3232
ctx.sema.diagnostics_display_range(d.expr.clone().map(|it| it.into())).range,
3333
)
3434
.with_fixes(fixes(ctx, d))
35+
.experimental()
3536
}
3637

3738
fn fixes(ctx: &DiagnosticsContext<'_>, d: &hir::UnresolvedMethodCall) -> Option<Vec<Assist>> {

0 commit comments

Comments
 (0)