about summary refs log tree commit diff
path: root/compiler/rustc_resolve/src/imports.rs
AgeCommit message (Expand)AuthorLines
2023-07-12Re-format let-else per rustfmt updateMark Rousskov-3/+1
2023-07-05resolve: Add comments explaining use of `Interned`Vadim Petrochenkov-0/+2
2023-07-05resolve: Use `Interned` for `Module`Vadim Petrochenkov-6/+6
2023-07-05resolve: Use `Interned` for `Import`Vadim Petrochenkov-29/+20
2023-07-05resolve: Use `Interned` for `NameBinding`Vadim Petrochenkov-28/+25
2023-07-01fix(resolve): skip assertion judgment when `NonModule` is dummybohan-2/+3
2023-06-29resolve: Remove artificial import ambiguity errorsVadim Petrochenkov-17/+6
2023-06-26Rollup merge of #112979 - NotStirred:translatable_diag/resolve_imports, r=fee...Matthias Krüger-44/+49
2023-06-25Add translatable diagnostic for import resolution stringsTom Martin-44/+49
2023-06-24fix: add cfg diagnostic for unresolved import errorbohan-1/+12
2023-06-22Tweak privacy errors to account for reachable itemsEsteban Küber-0/+19
2023-06-20Revert "Rollup merge of #112758 - bvanjoi:clean-up-resolve, r=petrochenkov"bohan-40/+53
2023-06-18refactor(resolve): delete `update_resolution` functionbohan-53/+40
2023-06-14fix(resolve): update `shadowed_glob` more precisionbohan-1/+15
2023-06-01Remember names of `cfg`-ed out items to mention them in diagnosticsNilstrieb-3/+23
2023-05-27Add warn-by-default lint for local binding shadowing exported glob re-export ...许杰友 Jieyou Xu (Joe)-21/+62
2023-05-19Auto merge of #109602 - bvanjoi:fix-issue-109343, r=petrochenkovbors-5/+6
2023-05-18fix(resolve): only disambiguate binding key during definebohan-2/+2
2023-05-18fix(resolve): replace bindings to dummy for unresolved importsbohan-5/+6
2023-05-04Rollup merge of #110908 - petrochenkov:notagain4, r=compiler-errorsDylan DPC-13/+6
2023-05-03Restrict `From<S>` for `{D,Subd}iagnosticMessage`.Nicholas Nethercote-7/+7
2023-05-02resolve: One more attempt to simplify `module_children`Vadim Petrochenkov-13/+6
2023-04-18rustc_metadata: Remove `Span` from `ModChild`Vadim Petrochenkov-7/+1
2023-04-12resolve: Pre-compute non-reexport module childrenVadim Petrochenkov-5/+11
2023-04-08resolve: Preserve reexport chains in `ModChild`renVadim Petrochenkov-0/+21
2023-03-23Rollup merge of #107880 - jieyouxu:issue-107563, r=petrochenkovMatthias Krüger-1/+31
2023-03-20Lint ambiguous glob re-exports许杰友 Jieyou Xu (Joe)-1/+31
2023-03-19fix: modify the condition that `resolve_imports` stopsbohan-15/+23
2023-03-17resolve: Improve debug impls for `NameBinding`Vadim Petrochenkov-4/+12
2023-03-02rustc_middle: Remove trait `DefIdTree`Vadim Petrochenkov-5/+5
2023-02-22resolve: Remove `ImportResolver`Vadim Petrochenkov-76/+65
2023-02-21Use `source_span` query instead of passing the untracked vec aroundOli Scherer-4/+2
2023-02-21Auto merge of #105462 - oli-obk:feeding_full, r=cjgillot,petrochenkovbors-12/+12
2023-02-20Stuff a TyCtxt into the ResolverOli Scherer-2/+2
2023-02-20Make untracked.source_span lockable so that resolution can still write to it ...Oli Scherer-2/+2
2023-02-20Prepare for adding a `TyCtxt` to `Resolver`Oli Scherer-10/+10
2023-02-19Make public API, docs algorithm-agnosticJacob Pratt-1/+1
2023-02-14Separate the lifetime of the session and the arena in the resolverOli Scherer-5/+5
2023-02-13rustdoc: Eliminate remaining uses of resolverVadim Petrochenkov-6/+6
2023-01-09review commentMichael Goulet-2/+8
2022-12-27Fix some totally useless suggestionsMichael Goulet-1/+1
2022-12-27Dont clobber `as ..` rename in import suggestionMichael Goulet-2/+4
2022-12-27Note alternative import candidates in nested use treeMichael Goulet-9/+20
2022-12-27Suppress suggestions for nested use treeMichael Goulet-17/+27
2022-12-09Move the untracked cstore and source_span into a structOli Scherer-1/+1
2022-12-03fix #105069, Add AmbiguityError for inconsistent resolution for an importyukang-5/+16
2022-12-01rustc_ast_lowering: Stop lowering imports into multiple itemsVadim Petrochenkov-5/+0
2022-11-27Prefer doc comments over `//`-comments in compilerMaybe Waffle-4/+4
2022-11-04Rollup merge of #103953 - TaKO8Ki:remove-unused-arg-from-throw_unresolved_imp...Matthias Krüger-18/+10
2022-11-04remove unused argument from `throw_unresolved_import_error`Takayuki Maeda-18/+10