Skip to content

Commit 6adb21a

Browse files
Update rust-analyzer to support new injected_env_var function
1 parent 5285df4 commit 6adb21a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

crates/proc-macro-srv/src/server.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,10 @@ impl server::Types for RustAnalyzer {
5454
}
5555

5656
impl server::FreeFunctions for RustAnalyzer {
57+
fn injected_env_var(&mut self, _var: &str) -> Option<String> {
58+
None
59+
}
60+
5761
fn track_env_var(&mut self, _var: &str, _value: Option<&str>) {
5862
// FIXME: track env var accesses
5963
// https://github.com/rust-lang/rust/pull/71858

0 commit comments

Comments
 (0)