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 f711c05 commit f1610aeCopy full SHA for f1610ae
src/librustc_driver/lib.rs
@@ -25,6 +25,7 @@
25
#![feature(slice_sort_by_cached_key)]
26
#![feature(set_stdio)]
27
#![feature(rustc_stack_internals)]
28
+#![feature(no_debug)]
29
30
extern crate arena;
31
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