about summary refs log tree commit diff
path: root/compiler/rustc_resolve/src/imports.rs
AgeCommit message (Expand)AuthorLines
2024-05-21Rename buffer_lint_with_diagnostic to buffer_lintXiretza-4/+4
2024-05-21Convert uses of BuiltinLintDiag::Normal to custom variantsXiretza-7/+2
2024-05-21Generate lint diagnostic message from BuiltinLintDiagXiretza-8/+1
2024-05-10Remove `#[macro_use] extern crate tracing` from `rustc_resolve`.Nicholas Nethercote-0/+1
2024-04-11Silence unused_imports lint for redundant importsMichael Goulet-0/+2
2024-04-03rustc_index: Add a `ZERO` constant to index typesVadim Petrochenkov-3/+3
2024-03-20store segment and module in `UnresolvedImportError`bohan-16/+39
2024-03-14fixes #121331surechen-4/+7
2024-03-07Auto merge of #122113 - matthiaskrgr:rollup-5d1jnwi, r=matthiaskrgrbors-2/+0
2024-03-06Fix redundant import errors for preload extern crateyukang-2/+0
2024-03-06avoid overlapping privacy suggestion for single nested importsbohan-1/+1
2024-03-05Rollup merge of #121846 - bvanjoi:fix-121760, r=petrochenkovMatthias Krüger-4/+6
2024-03-05Rename `BuiltinLintDiagnostics` as `BuiltinLintDiag`.Nicholas Nethercote-5/+5
2024-03-05Rename `DiagnosticMode` as `DiagMode`.Nicholas Nethercote-3/+3
2024-03-01only compare ambiguity item that have hard errorbohan-4/+6
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