about summary refs log tree commit diff
path: root/compiler/rustc_resolve/src/imports.rs
AgeCommit message (Expand)AuthorLines
2025-02-26Rollup merge of #137529 - klensy:unused3, r=lcnrLeón Orell Valerian Liehr-5/+3
2025-02-24cleanup few unused argsklensy-5/+3
2025-02-22Fix binding mode problemsMichael Goulet-9/+9
2025-02-17Enforce T: Hash for Interned<...>Mark Rousskov-0/+13
2025-02-09Auto merge of #136751 - bjorn3:update_rustfmt, r=Mark-Simulacrumbors-6/+9
2025-02-08Rustfmtbjorn3-6/+9
2025-02-08Small resolve refactorAndre Bogus-2/+2
2025-01-21rustc_resolve: reduce rightwards drift with `let..else` 👉💨Yotam Ofek-99/+99
2025-01-21rustc_resolve: flatten nested `if`sYotam Ofek-44/+39
2025-01-19Run `clippy --fix` for `unnecessary_map_or` lintYotam Ofek-1/+1
2025-01-16Implement `use` associated items of traitsFrank King-1/+13
2024-12-18Re-export more `rustc_span::symbol` things from `rustc_span`.Nicholas Nethercote-2/+1
2024-12-10Silence `use foo::Bar;` error if `Bar` isn't found in `foo` and `foo.rs` has ...Esteban Küber-1/+6
2024-12-10Keep track of parse errors in `mod`s and don't emit resolve errors for paths ...Esteban Küber-0/+1
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