summary refs log tree commit diff
path: root/compiler/rustc_resolve/src/lib.rs
AgeCommit message (Expand)AuthorLines
2024-10-03rustdoc: prevent ctors from resolvingMichael Howell-1/+3
2024-10-03Handle `rustc_metadata` cases of `rustc::potential_query_instability` lintismailarilik-2/+2
2024-10-02Handle `rustc-hir-analysis` cases of `rustc::potential_query_instability` lintismailarilik-1/+1
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-6/+6
2024-09-21Handle macro calls in anon const def creation take 2Boxy-0/+5
2024-09-13Auto merge of #129137 - camelid:lazy-def-macro-const, r=BoxyUwUbors-3/+25
2024-09-12Fix anon const def-creation when macros are involvedNoah Lev-3/+25
2024-09-12Introduce `'ra` lifetime name.Nicholas Nethercote-143/+144
2024-08-29Add `warn(unreachable_pub)` to `rustc_resolve`.Nicholas Nethercote-0/+1
2024-08-10rm `import.used`bohan-5/+7
2024-08-08rm `declared_features` field in resolverbohan-5/+0
2024-08-07make `import.vis` is not mutablebohan-1/+2
2024-07-31Rollup merge of #123813 - compiler-errors:redundant-lint, r=petrochenkovMatthias Krüger-2/+2
2024-07-31Introduce REDUNDANT_IMPORTS lintMichael Goulet-2/+2
2024-07-29Structured suggestion for `extern crate foo` when `foo` isn't resolved in importEsteban Küber-0/+6
2024-07-29Reformat `use` declarations.Nicholas Nethercote-20/+24
2024-07-11Account for `let foo = expr`; to suggest `const foo: Ty = expr;`Esteban Küber-5/+6
2024-07-08Rollup merge of #127431 - oli-obk:feed_item_attrs, r=compiler-errors许杰友 Jieyou Xu (Joe)-5/+13
2024-07-06Use field ident spans directly instead of the full field span in diagnostics ...Oli Scherer-5/+13
2024-07-06out_of_scope_macro_calls: Detect calls inside attributes more preciselyVadim Petrochenkov-2/+3
2024-06-28Change RTN to use .. againMichael Goulet-0/+1
2024-06-25resolve: Tweak some naming around import ambiguitiesVadim Petrochenkov-6/+8
2024-06-14delegation: Implement glob delegationVadim Petrochenkov-1/+13
2024-05-29Rollup merge of #125381 - estebank:issue-96799, r=petrochenkov许杰友 Jieyou Xu (Joe)-1/+3
2024-05-28Silence some resolve errors when there have been glob import errorsEsteban Küber-1/+3
2024-05-21Rename buffer_lint_with_diagnostic to buffer_lintXiretza-1/+1
2024-05-21Convert uses of BuiltinLintDiag::Normal to custom variantsXiretza-3/+7
2024-05-10Remove unused `derive(Clone)` on `MacroData`.Nicholas Nethercote-1/+0
2024-05-10Remove `#[macro_use] extern crate tracing` from `rustc_resolve`.Nicholas Nethercote-9/+5
2024-05-10Remove unnecessary `allow` attribute.Nicholas Nethercote-6/+7
2024-04-26Rollup merge of #124391 - nnethercote:builtin_macros-cleanups, r=fee1-deadJacob Pratt-2/+2
2024-04-26Introduce `DeriveResolution`.Nicholas Nethercote-2/+2
2024-04-23delegation: Support async, const, extern "ABI" and C-variadic functionsVadim Petrochenkov-10/+6
2024-04-17consistency rename: language item -> lang itemRalf Jung-1/+1
2024-04-11Silence unused_imports lint for redundant importsMichael Goulet-1/+1
2024-03-28remove `def_id_to_node_id` in ast loweringbohan-1/+0
2024-03-20store segment and module in `UnresolvedImportError`bohan-0/+13
2024-03-14fixes #121331surechen-2/+5
2024-03-07Rollup merge of #121089 - oli-obk:create_def_feed, r=petrochenkovGuillaume Gomez-22/+45
2024-03-06avoid overlapping privacy suggestion for single nested importsbohan-0/+2
2024-03-05Remove a use of feed_local_crate and make it fail if used within queriesOli Scherer-7/+11
2024-03-05Prevent feeding `CRATE_DEF_ID` queries outside the resolverOli Scherer-2/+5
2024-03-05Get rid of `feed_local_def_id`Oli Scherer-1/+1
2024-03-05Eliminate all non-CRATE_DEF_ID uses of `feed_def_id`Oli Scherer-4/+5
2024-03-05Preserve the `Feed` in local tablesOli Scherer-9/+23
2024-03-05Bubble up the TyCtxtFeedOli Scherer-4/+5
2024-02-28Rename `DiagnosticBuilder` as `Diag`.Nicholas Nethercote-2/+2
2024-02-18resolve: Scale back unloading of speculatively loaded cratesVadim Petrochenkov-1/+0
2024-02-18By tracking import use types to check whether it is scope uses or the other s...surechen-12/+39
2024-02-14Move all the heavy lifting from `TyCtxtAt::create_def` into `TyCtxt::create_def`Oli Scherer-1/+1