mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-26 21:13:37 +00:00
Remove allow(unused)
This commit is contained in:
parent
460ddde176
commit
197039b9fe
1 changed files with 2 additions and 3 deletions
|
@ -91,8 +91,7 @@ fn load_library(file: &Path) -> Result<Library, libloading::Error> {
|
|||
|
||||
struct ProcMacroLibraryLibloading {
|
||||
// Hold the dylib to prevent it for unloadeding
|
||||
#[allow(dead_code)]
|
||||
lib: Library,
|
||||
_lib: Library,
|
||||
exported_macros: Vec<bridge::client::ProcMacro>,
|
||||
}
|
||||
|
||||
|
@ -110,7 +109,7 @@ impl ProcMacroLibraryLibloading {
|
|||
macros.to_vec()
|
||||
};
|
||||
|
||||
Ok(ProcMacroLibraryLibloading { lib, exported_macros })
|
||||
Ok(ProcMacroLibraryLibloading { _lib: lib, exported_macros })
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue