]> git.lizzy.rs Git - rust.git/commitdiff
Fix fulldeps tests.
authorCamille GILLOT <gillot.camille@gmail.com>
Fri, 3 Apr 2020 15:15:02 +0000 (17:15 +0200)
committerCamille GILLOT <gillot.camille@gmail.com>
Tue, 28 Apr 2020 09:41:12 +0000 (11:41 +0200)
src/test/run-make-fulldeps/hotplug_codegen_backend/the_backend.rs

index d271b8645746e6c5ca795f9df2808717e67d1683..efc62361694a5d89bd4a6e547aa8c27618d53c78 100644 (file)
@@ -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| &[];