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 0ad34dc commit a95f876Copy full SHA for a95f876
src/librustc_driver/lib.rs
@@ -24,6 +24,7 @@
24
#![feature(quote)]
25
#![feature(rustc_diagnostic_macros)]
26
#![feature(set_stdio)]
27
+#![feature(no_debug)]
28
29
extern crate arena;
30
extern crate getopts;
@@ -230,6 +231,9 @@ fn load_backend_from_dylib(path: &Path) -> fn() -> Box<TransCrate> {
230
231
232
pub fn get_trans(sess: &Session) -> Box<TransCrate> {
233
static INIT: Once = ONCE_INIT;
234
+
235
+ #[allow(deprecated)]
236
+ #[no_debug]
237
static mut LOAD: fn() -> Box<TransCrate> = || unreachable!();
238
239
INIT.call_once(|| {
0 commit comments