mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 12:54:58 +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 {
|
struct ProcMacroLibraryLibloading {
|
||||||
// Hold the dylib to prevent it for unloadeding
|
// Hold the dylib to prevent it for unloadeding
|
||||||
#[allow(dead_code)]
|
_lib: Library,
|
||||||
lib: Library,
|
|
||||||
exported_macros: Vec<bridge::client::ProcMacro>,
|
exported_macros: Vec<bridge::client::ProcMacro>,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -110,7 +109,7 @@ impl ProcMacroLibraryLibloading {
|
||||||
macros.to_vec()
|
macros.to_vec()
|
||||||
};
|
};
|
||||||
|
|
||||||
Ok(ProcMacroLibraryLibloading { lib, exported_macros })
|
Ok(ProcMacroLibraryLibloading { _lib: lib, exported_macros })
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue