about summary refs log tree commit diff
path: root/compiler/rustc_resolve
AgeCommit message (Expand)AuthorLines
2023-11-28def collector: Set correct namespace in `DefPathData` for foreign typesVadim Petrochenkov-16/+10
2023-11-28resolve: Feed the `def_kind` query immediately on `DefId` creationVadim Petrochenkov-54/+112
2023-11-27Address unused tuple struct fields in the compilerJake Goulding-5/+3
2023-11-27Dont suggest `!` for path in function call if it has generic argsMichael Goulet-6/+16
2023-11-26merge `DefKind::Coroutine` into `DefKind::Closure`bohan-2/+1
2023-11-25Rollup merge of #118288 - compiler-errors:is_some_and, r=lqd,dtolnayMichael Goulet-1/+1
2023-11-25Rollup merge of #118158 - nnethercote:reduce-fluent-boilerplate, r=compiler-e...Michael Goulet-5/+2
2023-11-26Use `rustc_fluent_macro::fluent_messages!` directly.Nicholas Nethercote-2/+1
2023-11-26Avoid need for `{D,Subd}iagnosticMessage` imports.Nicholas Nethercote-3/+1
2023-11-25is_{some,ok}_andMichael Goulet-1/+1
2023-11-25resolve: Avoid clones of `MacroData`Vadim Petrochenkov-55/+52
2023-11-24Auto merge of #117934 - Young-Flash:dev, r=petrochenkovbors-3/+12
2023-11-23feat: make let_binding_suggestion more reasonableYoung-Flash-3/+12
2023-11-23Auto merge of #118065 - estebank:core-not-found-404, r=TaKO8Kibors-0/+9
2023-11-22When failing to import `core`, suggest `std`Esteban Küber-0/+9
2023-11-21Fix `clippy::needless_borrow` in the compilerNilstrieb-25/+25
2023-11-20let-chain fmtEsteban Küber-31/+24
2023-11-20Rely in resolve and not on path name for `&str` -> `String` suggestionEsteban Küber-49/+54
2023-11-20Do not consider traits as ownable in suggestionEsteban Küber-7/+55
2023-11-20Account for '_ in lifetime suggestionEsteban Küber-4/+15
2023-11-20Suggest 'a when trait object assoc type has '_Esteban Küber-12/+21
2023-11-20Fix incorrect lifetime suggestionEsteban Küber-2/+2
2023-11-20Tweak wordingEsteban Küber-4/+4
2023-11-20Account for impl Trait in lifetime suggestionEsteban Küber-5/+72
2023-11-20On borrow return type, suggest borrowing from arg or owned return typeEsteban Küber-12/+126
2023-11-19fix rebaseEsteban Küber-1/+4
2023-11-19review commentsEsteban Küber-22/+13
2023-11-19Account for number of arguments in suggestionEsteban Küber-5/+24
2023-11-19fix tidyEsteban Küber-1/+1
2023-11-19Suggest using builder on curly brace struct called as fnEsteban Küber-165/+178
2023-11-19Do not suggest struct literal when fields are privateEsteban Küber-35/+64
2023-11-19On private tuple struct, suggest `Default::default` when possibleEsteban Küber-1/+56
2023-11-19Don't sort `span_suggestions`, leave that to callerEsteban Küber-5/+9
2023-11-19When encountering struct fn call literal with private fields, suggest all bui...Esteban Küber-16/+75
2023-11-17Rollup merge of #117964 - estebank:issue-81232, r=petrochenkovMatthias Krüger-1/+13
2023-11-17On resolve error of `[rest..]`, suggest `[rest @ ..]`Esteban Küber-0/+35
2023-11-16When using existing fn as module, don't claim it doesn't existEsteban Küber-1/+13
2023-11-15Bump cfg(bootstrap)sMark Rousskov-2/+2
2023-11-08rustc: minor changes suggested by clippy perf lints.Nicholas Nethercote-1/+1
2023-10-30Clean up `rustc_*/Cargo.toml`.Nicholas Nethercote-2/+2
2023-10-29Auto merge of #116447 - oli-obk:gen_fn, r=compiler-errorsbors-14/+14
2023-10-27Rename `RibKind::ClosureOrAsync` to reflect how it is actually usedOli Scherer-12/+12
2023-10-27Add gen blocks to ast and do some broken ast loweringOli Scherer-2/+2
2023-10-27Auto merge of #116858 - estebank:issue-22488, r=petrochenkovbors-1/+20
2023-10-26Suggest assoc fn `new` when trying to build tuple struct with private fieldsEsteban Küber-1/+20
2023-10-26Rollup merge of #116905 - Fenex:refactor/compiler/resolve, r=petrochenkovMatthias Krüger-11/+10
2023-10-25Rollup merge of #117009 - fmease:diag-disambig-sugg-crate, r=b-naberMatthias Krüger-14/+44
2023-10-22use visibility to check unused imports and delete some stmtsbohan-4/+1
2023-10-21on unresolved import disambiguate suggested path if it would collideLeón Orell Valerian Liehr-14/+44
2023-10-21Rollup merge of #116961 - estebank:issue-60164, r=oli-obkMatthias Krüger-2/+15