about summary refs log tree commit diff
path: root/compiler/rustc_resolve/src/imports.rs
AgeCommit message (Expand)AuthorLines
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-19/+16
2024-09-12Rollup merge of #130208 - nnethercote:rslv-lifetime, r=petrochenkovMatthias Krüger-34/+38
2024-09-12Introduce `'ra` lifetime name.Nicholas Nethercote-34/+38
2024-09-11Also fix if in elseMichael Goulet-21/+15
2024-08-10rm `import.used`bohan-3/+2
2024-08-07make `import.vis` is not mutablebohan-27/+26
2024-08-04docs(resolve): more explain about `target`bohan-0/+1
2024-07-31Introduce REDUNDANT_IMPORTS lintMichael Goulet-5/+3
2024-07-29Reformat `use` declarations.Nicholas Nethercote-20/+20
2024-07-19Avoid ref when using format! in compilerYuri Astrakhan-1/+1
2024-06-25resolve: Tweak some naming around import ambiguitiesVadim Petrochenkov-42/+32
2024-06-18Remove redundant argument from `subdiagnostic` methodOli Scherer-2/+2
2024-06-11Rollup merge of #125913 - fmease:early-lints-spruce-up-some-diags, r=Nadrieril许杰友 Jieyou Xu (Joe)-8/+16
2024-06-04resolve: mark it undetermined if single import is not has any bindingsbohan-2/+2
2024-06-03Spruce up the diagnostics of some early lintsLeón Orell Valerian Liehr-8/+16
2024-05-29Rollup merge of #125381 - estebank:issue-96799, r=petrochenkov许杰友 Jieyou Xu (Joe)-7/+15
2024-05-28Silence some resolve errors when there have been glob import errorsEsteban Küber-7/+15
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