From 0b789834ddfd96bfa7c28524d8d43535cb0fd7dc Mon Sep 17 00:00:00 2001 From: Camille GILLOT Date: Fri, 3 Apr 2020 17:15:02 +0200 Subject: [PATCH] Fix fulldeps tests. --- .../run-make-fulldeps/hotplug_codegen_backend/the_backend.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/run-make-fulldeps/hotplug_codegen_backend/the_backend.rs b/src/test/run-make-fulldeps/hotplug_codegen_backend/the_backend.rs index d271b864574..efc62361694 100644 --- a/src/test/run-make-fulldeps/hotplug_codegen_backend/the_backend.rs +++ b/src/test/run-make-fulldeps/hotplug_codegen_backend/the_backend.rs @@ -53,7 +53,7 @@ fn provide(&self, providers: &mut Providers) { rustc_symbol_mangling::provide(providers); providers.target_features_whitelist = |tcx, _cnum| { - tcx.arena.alloc(Default::default()) // Just a dummy + Default::default() // Just a dummy }; providers.is_reachable_non_generic = |_tcx, _defid| true; providers.exported_symbols = |_tcx, _crate| &[];