about summary refs log tree commit diff
path: root/compiler/rustc_resolve/src/imports.rs
AgeCommit message (Expand)AuthorLines
2025-07-19Revert "resolve: Make disambiguators for underscore bindings module-local"Rémy Rakic-25/+13
2025-07-18Rollup merge of #144013 - petrochenkov:disambunder, r=oli-obkMatthias Krüger-13/+25
2025-07-17resolve: Make disambiguators for underscore bindings module-localVadim Petrochenkov-13/+25
2025-07-17Rollup merge of #143550 - petrochenkov:lessmutres, r=lcnrMatthias Krüger-1/+1
2025-07-17Rollup merge of #143856 - mladedav:dm/private-reexport, r=petrochenkovLeón Orell Valerian Liehr-6/+24
2025-07-17resolve: Change `&mut Resolver` to `&Resolver` when possibleVadim Petrochenkov-1/+1
2025-07-16resolve: Import `ty::Visibility` everywhereVadim Petrochenkov-4/+5
2025-07-16resolve: Remove trait `ToNameBinding`Vadim Petrochenkov-1/+1
2025-07-16resolve: Merge `NameBindingKind::Module` into `NameBindingKind::Res`Vadim Petrochenkov-3/+0
2025-07-15Implement resolver warnings about reexporting private dependenciesDavid Mládek-2/+23
2025-07-15rustc_resolve: rename `check_hidden_glob_reexports` to `lint_reexports`David Mládek-4/+1
2025-07-13Rollup merge of #143734 - LorrensP-2158466:refactor-resolve-resolution-bindin...Matthias Krüger-35/+50
2025-07-12merge source and target bindings into single fieldLorrensP-2158466-118/+109
2025-07-12replace binding and shadowed_glob on NameResolution with non_glob_binding and...b-naber-35/+50
2025-06-29explain `ImportData::imported_module`bohan-1/+8
2025-06-24Emit a single error when importing a path with `_`Esteban Küber-4/+14
2025-06-03resolve: Tweak `private_macro_use` lint to be compatible with upcoming macro ...Vadim Petrochenkov-1/+3
2025-05-02resolve: Support imports of associated types and glob imports from traitsVadim Petrochenkov-20/+23
2025-04-15Use a dummy ident for a `lint_if_path_starts_with_module` call.Nicholas Nethercote-1/+1
2025-04-11Only compute the `DefId` when a diagnostic is definitely emittedOli Scherer-22/+22
2025-04-11Avoid a reverse map that is only used in diagnostics pathsOli Scherer-2/+2
2025-04-01Rollup merge of #138790 - xizheyin:issue-138626, r=compiler-errorsMatthias Krüger-1/+1
2025-03-24resolve: Avoid some unstable iteration 2Vadim Petrochenkov-4/+4
2025-03-22Note potential but private items in show_candidatesxizheyin-1/+1
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