We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 460ddde commit 197039bCopy full SHA for 197039b
crates/ra_proc_macro_srv/src/dylib.rs
@@ -91,8 +91,7 @@ fn load_library(file: &Path) -> Result<Library, libloading::Error> {
91
92
struct ProcMacroLibraryLibloading {
93
// Hold the dylib to prevent it for unloadeding
94
- #[allow(dead_code)]
95
- lib: Library,
+ _lib: Library,
96
exported_macros: Vec<bridge::client::ProcMacro>,
97
}
98
@@ -110,7 +109,7 @@ impl ProcMacroLibraryLibloading {
110
109
macros.to_vec()
111
};
112
113
- Ok(ProcMacroLibraryLibloading { lib, exported_macros })
+ Ok(ProcMacroLibraryLibloading { _lib: lib, exported_macros })
114
115
116
0 commit comments