summary refs log tree commit diff
path: root/src/librustc_resolve/lib.rs
AgeCommit message (Expand)AuthorLines
2020-07-09Rollup merge of #74150 - tamird:blocklist, r=nikomatsakisManish Goregaokar-2/+2
2020-07-08Avoid "blacklist"Tamir Duberstein-2/+2
2020-07-05Use for<'tcx> fn pointers in Providers, instead of having Providers<'tcx>.Eduard-Mihai Burtescu-1/+1
2020-07-02resolve: disallow label use through closure/asyncDavid Wood-2/+6
2020-06-27Rename two `Resolver` traitsVadim Petrochenkov-1/+1
2020-06-24Rollup merge of #73652 - da-x:add-reexported-to-use-suggestions, r=petrochenkovDylan DPC-0/+7
2020-06-23Add re-exports to use suggestionsDan Aloni-0/+7
2020-06-21Move `next_disambiguator` to `Resolver`marmeladema-1/+13
2020-06-21Always create a root definition when creating a new `Definitions` object.marmeladema-5/+5
2020-06-21Move remaining `NodeId` APIs from `Definitions` to `Resolver`marmeladema-24/+93
2020-06-20Move `trait_map` into `hir::Crate`marmeladema-11/+4
2020-06-19Rollup merge of #73357 - petrochenkov:tmap, r=davidtwcoManish Goregaokar-21/+4
2020-06-18Rollup merge of #73320 - estebank:type-param-sugg-more, r=davidtwcoManish Goregaokar-6/+8
2020-06-17review commentsEsteban Küber-4/+4
2020-06-15Use `LocalDefId` for import IDs in trait mapVadim Petrochenkov-21/+4
2020-06-13Make new type param suggestion more targettedEsteban Küber-6/+8
2020-06-10Rollup merge of #72789 - petrochenkov:impcand, r=davidtwcoDylan DPC-1/+2
2020-06-07Use `LocalDefId` directly in `Resolver::export_map` and `module_exports` querymarmeladema-25/+3
2020-06-06Auto merge of #72927 - petrochenkov:rustc, r=Mark-Simulacrumbors-6/+7
2020-06-02Improve E0433, so that it suggests missing importsPatryk Wychowaniec-7/+7
2020-06-02Rename the crates in source codeVadim Petrochenkov-6/+7
2020-05-30resolve: Pass parent scope to the function providing import suggestionsVadim Petrochenkov-1/+2
2020-05-30Use `LocalDefId` instead of `NodeId` in `resolve_str_path_error`marmeladema-5/+2
2020-05-29Remove remaining calls to `as_local_node_id`marmeladema-15/+25
2020-05-27Store `LocalDefId` directly in `rustc_resolve::Resolver` where possiblemarmeladema-47/+16
2020-05-24Rollup merge of #72402 - marmeladema:resolver-outputs-def-id, r=ecstatic-morseRalf Jung-13/+101
2020-05-22Remove `macro_defs` mapAaron Hill-8/+3
2020-05-21Replace unecessary calls to `.clone()` by argument binding pattern for `Copy`...marmeladema-11/+11
2020-05-21Use `collect()` instead of manually inserting elements into mapsmarmeladema-46/+42
2020-05-21Use `DefId` in `ResolverOutputs::extern_crate_map` instead of `NodeId`marmeladema-2/+15
2020-05-21Use `DefId` in `ResolverOutputs::glob_map` instead of `NodeId`marmeladema-2/+11
2020-05-21Use `DefId` in `ResolverOutputs::maybe_unused_extern_crates` instead of `NodeId`marmeladema-2/+11
2020-05-21Use `LocalDefId` in `ResolverOutputs::maybe_unused_trait_imports` instead of ...marmeladema-2/+11
2020-05-21Use `HirId` in `ResolverOutputs::export_map` instead of `NodeId`marmeladema-2/+25
2020-05-21Use `HirId` in value of `ResolverOutputs::trait_map` instead of `NodeId`marmeladema-3/+17
2020-05-21Use `HirId` as key for `ResolverOutputs::trait_map` instead of `NodeId`marmeladema-2/+17
2020-05-19Suggest fixes for `use foo::self`mibac138-1/+1
2020-05-08Remove ast::{Ident, Name} reexports.Camille GILLOT-26/+26
2020-05-02fix rustdoc warningsTshepang Lekhonkhobe-1/+1
2020-04-27Rollup merge of #71419 - contrun:wrong-namespace-rustc-resolve, r=petrochenkovDylan DPC-45/+83
2020-04-26use defkind.descr in wrong namespace resolve failureYI-18/+21
2020-04-26Rollup merge of #70043 - mark-i-m:def-kind-more, r=eddybDylan DPC-3/+1
2020-04-24Avoid unused Option::map resultsJosh Stone-1/+3
2020-04-24add a few more DefKindsmark-3/+1
2020-04-22add message for resolution failure because wrong namespaceYI-45/+80
2020-04-19Dogfood more or_patterns in the compilerJosh Stone-8/+9
2020-04-09Auto merge of #70909 - marmeladema:issue70853/librustc_hir-local-def-id, r=eddybbors-3/+3
2020-04-07Do not suggest adding type param when `use` is already suggestedEsteban Küber-2/+1
2020-04-08librustc_hir: return LocalDefId instead of DefId in local_def_idmarmeladema-3/+3
2020-04-01Rollup merge of #70081 - lcnr:issue68387, r=varkorDylan DPC-1/+1