Add rust_analyzer
as a predefined tool
This commit is contained in:
parent
7b06810691
commit
339015920d
@ -140,9 +140,10 @@ pub(crate) fn registered_tools(tcx: TyCtxt<'_>, (): ()) -> RegisteredTools {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// We implicitly add `rustfmt`, `clippy`, `diagnostic` to known tools,
|
// We implicitly add `rustfmt`, `clippy`, `diagnostic`, `miri` and `rust_analyzer` to known
|
||||||
// but it's not an error to register them explicitly.
|
// tools, but it's not an error to register them explicitly.
|
||||||
let predefined_tools = [sym::clippy, sym::rustfmt, sym::diagnostic, sym::miri];
|
let predefined_tools =
|
||||||
|
[sym::clippy, sym::rustfmt, sym::diagnostic, sym::miri, sym::rust_analyzer];
|
||||||
registered_tools.extend(predefined_tools.iter().cloned().map(Ident::with_dummy_span));
|
registered_tools.extend(predefined_tools.iter().cloned().map(Ident::with_dummy_span));
|
||||||
registered_tools
|
registered_tools
|
||||||
}
|
}
|
||||||
|
@ -1544,6 +1544,7 @@
|
|||||||
rust_2018_preview,
|
rust_2018_preview,
|
||||||
rust_2021,
|
rust_2021,
|
||||||
rust_2024,
|
rust_2024,
|
||||||
|
rust_analyzer,
|
||||||
rust_begin_unwind,
|
rust_begin_unwind,
|
||||||
rust_cold_cc,
|
rust_cold_cc,
|
||||||
rust_eh_catch_typeinfo,
|
rust_eh_catch_typeinfo,
|
||||||
|
Loading…
Reference in New Issue
Block a user