Update rust-analyzer to support new injected_env_var function

This commit is contained in:
Guillaume Gomez 2023-12-11 16:43:35 +01:00
parent 5a129f9031
commit baad562e5d

View file

@ -54,6 +54,10 @@ impl server::Types for RustAnalyzer {
} }
impl server::FreeFunctions for RustAnalyzer { impl server::FreeFunctions for RustAnalyzer {
fn injected_env_var(&mut self, _var: &str) -> Option<String> {
None
}
fn track_env_var(&mut self, _var: &str, _value: Option<&str>) { fn track_env_var(&mut self, _var: &str, _value: Option<&str>) {
// FIXME: track env var accesses // FIXME: track env var accesses
// https://github.com/rust-lang/rust/pull/71858 // https://github.com/rust-lang/rust/pull/71858