Skip to content

Commit

Permalink
Rollup merge of rust-lang#57290 - mark-i-m:remove-outdated-comment, r…
Browse files Browse the repository at this point in the history
…=michaelwoerister

remove outdated comment

rust-lang#44234 was closed, apparently solved by rust-lang#45353

r? @michaelwoerister
  • Loading branch information
pietroalbini authored Jan 7, 2019
2 parents 1f7c44c + 63b17d1 commit c89b07a
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/librustc/ty/context.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2930,9 +2930,6 @@ impl<T, R, E> InternIteratorElement<T, R> for Result<T, E> {
}

pub fn provide(providers: &mut ty::query::Providers<'_>) {
// FIXME(#44234): almost all of these queries have no sub-queries and
// therefore no actual inputs, they're just reading tables calculated in
// resolve! Does this work? Unsure! That's what the issue is about.
providers.in_scope_traits_map = |tcx, id| tcx.gcx.trait_map.get(&id).cloned();
providers.module_exports = |tcx, id| tcx.gcx.export_map.get(&id).cloned();
providers.crate_name = |tcx, id| {
Expand Down

0 comments on commit c89b07a

Please sign in to comment.