summary refs log tree commit diff
path: root/compiler/rustc_resolve/src
AgeCommit message (Expand)AuthorLines
2024-08-29Add `warn(unreachable_pub)` to `rustc_resolve`.Nicholas Nethercote-0/+1
2024-08-26Stop using a special inner body for the coroutine by-move body for async clos...Michael Goulet-0/+1
2024-08-26mv `build_reduced_graph_for_external_crate_res` into Resolverbohan-68/+71
2024-08-24Rollup merge of #129246 - BoxyUwU:feature_gate_const_arg_path, r=cjgillotMatthias Krüger-7/+9
2024-08-21Rollup merge of #129345 - compiler-errors:scratch4, r=jieyouxuMatthias Krüger-1/+1
2024-08-21Rollup merge of #129344 - compiler-errors:less-option-unit-diagnostics, r=jie...Matthias Krüger-2/+2
2024-08-21Simplify some redundant field namesMichael Goulet-1/+1
2024-08-21Use bool in favor of Option<()> for diagnosticsMichael Goulet-2/+2
2024-08-20Rollup merge of #129270 - compiler-errors:inner-generics-shadowing, r=petroch...Matthias Krüger-3/+3
2024-08-20skip updating when external binding is existedbohan-5/+13
2024-08-19Don't consider RibKind::Module's bindings when checking generics shadowingMichael Goulet-3/+3
2024-08-19Retroactively feature gate `ConstArgKind::Path`Boxy-7/+9
2024-08-11Rollup merge of #128875 - bvanjoi:cleanup-import-used, r=petrochenkovMatthias Krüger-15/+16
2024-08-11Rollup merge of #128762 - fmease:use-more-slice-pats, r=compiler-errorsMatthias Krüger-23/+20
2024-08-10rm `import.used`bohan-15/+16
2024-08-08rm `declared_features` field in resolverbohan-6/+2
2024-08-08Auto merge of #128550 - compiler-errors:shadowed-params-perf, r=petrochenkovbors-96/+105
2024-08-07make `import.vis` is not mutablebohan-63/+129
2024-08-07Use more slice patterns inside the compilerLeón Orell Valerian Liehr-23/+20
2024-08-04docs(resolve): more explain about `target`bohan-0/+1
2024-08-02Only walk ribs to collect possibly shadowed params if we are adding params in...Michael Goulet-96/+105
2024-07-31Rollup merge of #123813 - compiler-errors:redundant-lint, r=petrochenkovMatthias Krüger-7/+5
2024-07-31Rollup merge of #128151 - estebank:missing-extern-crate, r=petrochenkovMatthias Krüger-4/+13
2024-07-31Introduce REDUNDANT_IMPORTS lintMichael Goulet-7/+5
2024-07-29Structured suggestion for `extern crate foo` when `foo` isn't resolved in importEsteban Küber-4/+13
2024-07-29Detect non-lifetime binder params shadowing item paramsMichael Goulet-10/+10
2024-07-29Reformat `use` declarations.Nicholas Nethercote-149/+163
2024-07-26Rollup merge of #127557 - linyihai:issue-126694, r=compiler-errorsTrevor Gross-2/+5
2024-07-26Add a label to point to the lacking macro name definitionLin Yihai-2/+5
2024-07-24Do not use question as labelEsteban Küber-2/+2
2024-07-20Just totally fully deny late-bound constsMichael Goulet-1/+5
2024-07-19Avoid ref when using format! in compilerYuri Astrakhan-5/+5
2024-07-19Auto merge of #127957 - matthiaskrgr:rollup-1u5ivck, r=matthiaskrgrbors-1/+16
2024-07-19Rollup merge of #127662 - estebank:gate-span, r=TaKO8KiMatthias Krüger-1/+16
2024-07-19Auto merge of #125915 - camelid:const-arg-refactor, r=BoxyUwUbors-2/+13
2024-07-18Auto merge of #117967 - adetaylor:fix-lifetime-elision-bug, r=lcnrbors-22/+56
2024-07-18Rollup merge of #127886 - estebank:as-rename-suggestion, r=compiler-errorsMatthias Krüger-8/+10
2024-07-18Accurate `use` rename suggestion spanEsteban Küber-8/+10
2024-07-16Add `ConstArgKind::Path` and make `ConstArg` its own HIR nodeNoah Lev-2/+13
2024-07-16Update method name to reflect changes to its internalsOli Scherer-3/+3
2024-07-12Rollup merge of #127310 - chenyukang:yukang-fix-suggest-import-ice, r=estebankJubilee-5/+5
2024-07-12When finding item gated behind a `cfg` flat, point at itEsteban Küber-1/+16
2024-07-12Auto merge of #127382 - estebank:const-let, r=compiler-errorsbors-25/+55
2024-07-11Account for `let foo = expr`; to suggest `const foo: Ty = expr;`Esteban Küber-22/+51
2024-07-11Use verbose style when suggesting changing `const` with `let`Esteban Küber-4/+5
2024-07-10Fix diagnostic and add a test for itMichael Goulet-1/+1
2024-07-08Rollup merge of #127431 - oli-obk:feed_item_attrs, r=compiler-errors许杰友 Jieyou Xu (Joe)-37/+41
2024-07-07Rollup merge of #127308 - nnethercote:Attribute-cleanups, r=petrochenkovMatthias Krüger-1/+1
2024-07-07Remove `HasSpan` trait.Nicholas Nethercote-1/+1
2024-07-06Use field ident spans directly instead of the full field span in diagnostics ...Oli Scherer-37/+41