Skip to content

Commit 8a9edfd

Browse files
committed
add method to rust-analyzer macro server
1 parent 223942d commit 8a9edfd

File tree

1 file changed

+4
-0
lines changed
  • src/tools/rust-analyzer/crates/proc-macro-srv/src/abis/abi_sysroot

1 file changed

+4
-0
lines changed

src/tools/rust-analyzer/crates/proc-macro-srv/src/abis/abi_sysroot/ra_server.rs

+4
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,10 @@ impl server::Types for RustAnalyzer {
7272
}
7373

7474
impl server::FreeFunctions for RustAnalyzer {
75+
fn injected_env_var(&mut self, _var: &str) -> Option<String> {
76+
None
77+
}
78+
7579
fn track_env_var(&mut self, _var: &str, _value: Option<&str>) {
7680
// FIXME: track env var accesses
7781
// https://github.com/rust-lang/rust/pull/71858

0 commit comments

Comments
 (0)