mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-26 20:09:19 +00:00
internal: remove dead code
This commit is contained in:
parent
726a2aa211
commit
73b0f9dc04
10 changed files with 10 additions and 43 deletions
|
@ -16,7 +16,7 @@ use crate::{
|
|||
|
||||
#[derive(Debug)]
|
||||
pub(crate) struct ProcMacroProcessSrv {
|
||||
process: Process,
|
||||
_process: Process,
|
||||
stdin: ChildStdin,
|
||||
stdout: BufReader<ChildStdout>,
|
||||
}
|
||||
|
@ -29,7 +29,7 @@ impl ProcMacroProcessSrv {
|
|||
let mut process = Process::run(process_path, args)?;
|
||||
let (stdin, stdout) = process.stdio().expect("couldn't access child stdio");
|
||||
|
||||
let srv = ProcMacroProcessSrv { process, stdin, stdout };
|
||||
let srv = ProcMacroProcessSrv { _process: process, stdin, stdout };
|
||||
|
||||
Ok(srv)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue