mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-01 22:31:43 +00:00
internal: Mark unresolved field, unresolved method and expected function diagnostics experimental
This commit is contained in:
parent
a360fab9a3
commit
34a3187ee8
3 changed files with 3 additions and 0 deletions
|
@ -32,6 +32,7 @@ pub(crate) fn unresolved_field(
|
|||
ctx.sema.diagnostics_display_range(d.expr.clone().map(|it| it.into())).range,
|
||||
)
|
||||
.with_fixes(fixes(ctx, d))
|
||||
.experimental()
|
||||
}
|
||||
|
||||
fn fixes(ctx: &DiagnosticsContext<'_>, d: &hir::UnresolvedField) -> Option<Vec<Assist>> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue