mirror of
https://github.com/rust-lang/rust-analyzer
synced 2025-01-09 03:38:47 +00:00
Update rust-analyzer to support new injected_env_var
function
This commit is contained in:
parent
5a129f9031
commit
baad562e5d
1 changed files with 4 additions and 0 deletions
|
@ -54,6 +54,10 @@ impl server::Types 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>) {
|
||||
// FIXME: track env var accesses
|
||||
// https://github.com/rust-lang/rust/pull/71858
|
||||
|
|
Loading…
Reference in a new issue