Skip to content

Commit

Permalink
remove outdated comment
Browse files Browse the repository at this point in the history
  • Loading branch information
mark-i-m committed Jan 2, 2019
1 parent d9e3edb commit 63b17d1
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/librustc/ty/context.rs
Expand Up @@ -3040,9 +3040,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 63b17d1

Please sign in to comment.