Fix fulldeps tests.

This commit is contained in:
Camille GILLOT 2020-04-03 17:15:02 +02:00
parent bd61870606
commit 0b789834dd

View File

@ -53,7 +53,7 @@ fn provide(&self, providers: &mut Providers) {
rustc_symbol_mangling::provide(providers); rustc_symbol_mangling::provide(providers);
providers.target_features_whitelist = |tcx, _cnum| { 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.is_reachable_non_generic = |_tcx, _defid| true;
providers.exported_symbols = |_tcx, _crate| &[]; providers.exported_symbols = |_tcx, _crate| &[];