about summary refs log tree commit diff
path: root/compiler/rustc_resolve/src/imports.rs
AgeCommit message (Expand)AuthorLines
2024-02-18By tracking import use types to check whether it is scope uses or the other s...surechen-34/+41
2024-02-15errors: only eagerly translate subdiagnosticsDavid Wood-2/+2
2024-01-29Stop using `String` for error codes.Nicholas Nethercote-1/+1
2024-01-21exclude unexported macro bindings from extern cratebohan-5/+9
2024-01-13store the segment name when resolution failsbohan-1/+2
2024-01-10Shorten some error invocations.Nicholas Nethercote-2/+2
2024-01-10Rename `struct_span_err!` as `struct_span_code_err!`.Nicholas Nethercote-2/+2
2024-01-08Make `DiagnosticBuilder::emit` consuming.Nicholas Nethercote-1/+1
2023-12-24Remove `Session` methods that duplicate `DiagCtxt` methods.Nicholas Nethercote-18/+11
2023-12-12more clippy::complexity fixesMatthias Krüger-6/+2
2023-12-11remove some redundant clonesMatthias Krüger-1/+1
2023-12-06Use the glob binding in resolve_rustdoc_path processr0cky-0/+3
2023-12-02Auto merge of #118470 - nnethercote:cleanup-error-handlers, r=compiler-errorsbors-1/+1
2023-12-02Rename `HandlerInner::delay_span_bug` as `HandlerInner::span_delayed_bug`.Nicholas Nethercote-1/+1
2023-12-01vis note for no pub reexports glob importbohan-4/+14
2023-11-21Fix `clippy::needless_borrow` in the compilerNilstrieb-2/+2
2023-10-13Format all the let chains in compilerMichael Goulet-19/+21
2023-09-19fix confusing let chain indentation in rustc_resolveEthan Brierley-3/+3
2023-09-13resolve: determined binding after parent module macro expandbohan-7/+2
2023-07-31Rollup merge of #113920 - bvanjoi:fix-81413, r=petrochenkovMatthias Krüger-23/+30
2023-07-30inline format!() args up to and including rustc_codegen_llvmMatthias Krüger-8/+7
2023-07-29fix(resolve): update the ambiguity glob binding as warning recursivelybohan-20/+94
2023-07-29fix(resolve): report unresolved imports firstlybohan-23/+30
2023-07-25resolve: ensure compile failed when has dummy or ambiguousbohan-8/+8
2023-07-25fix(resolve): skip panic when resolution is dummybohan-1/+4
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