about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorCamille GILLOT <gillot.camille@gmail.com>2020-04-03 17:15:02 +0200
committerCamille GILLOT <gillot.camille@gmail.com>2020-04-28 11:41:12 +0200
commit0b789834ddfd96bfa7c28524d8d43535cb0fd7dc (patch)
tree6581c3de3a1c4ea3561be1ac61e27786f7cbf8ca /src
parentbd6187060608f149c16c43b8b5aeb9a52924a2c3 (diff)
downloadrust-0b789834ddfd96bfa7c28524d8d43535cb0fd7dc.tar.gz
rust-0b789834ddfd96bfa7c28524d8d43535cb0fd7dc.zip
Fix fulldeps tests.
Diffstat (limited to 'src')
-rw-r--r--src/test/run-make-fulldeps/hotplug_codegen_backend/the_backend.rs2
1 files changed, 1 insertions, 1 deletions
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 @@ impl CodegenBackend for TheBackend {
         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| &[];