about summary refs log tree commit diff
path: root/compiler/rustc_resolve/src
AgeCommit message (Expand)AuthorLines
2022-06-03Compute `is_late_bound` in a separate query.Camille GILLOT-68/+24
2022-06-03Manipulate lifetimes by LocalDefId for region resolution.Camille GILLOT-89/+87
2022-06-03Use the same message as type & const generics.Camille GILLOT-51/+28
2022-06-03Reuse resolve_label to check lifetime shadowing.Camille GILLOT-40/+29
2022-06-03Do not lower generic lifetime params when AST resolution emitted an error.Camille GILLOT-0/+7
2022-06-02Stop warning against unrelated labels.Camille GILLOT-1/+0
2022-06-02Do not report mixed label/lifetime shadowing.Camille GILLOT-111/+45
2022-06-02Diagnose shadowing on AST.Camille GILLOT-325/+209
2022-06-01Rollup merge of #97264 - TaKO8Ki:suggest-extern-crate-when-failing-to-resolve...Matthias Krüger-3/+16
2022-05-25suggest `extern crate foo` when failing to resolve `use foo`Takayuki Maeda-3/+16
2022-05-24Rollup merge of #97240 - TaKO8Ki:improve-errors-about-typos-on-variables, r=c...Yuki Okushi-7/+8
2022-05-23add typo suggestions for all `AssocSuggestion` variantsTakayuki Maeda-1/+1
2022-05-23Auto merge of #97195 - notriddle:notriddle/cleanup, r=GuillaumeGomezbors-1/+1
2022-05-21Merge crate and restricted visibilitiesJacob Pratt-1/+0
2022-05-21Remove feature: `crate` visibility modifierJacob Pratt-3/+1
2022-05-21Fix broken intra-doc linkMichael Howell-1/+1
2022-05-21typo suggestion for a variable with a name similar to struct fieldsTakayuki Maeda-7/+8
2022-05-20Remove `crate` visibility usage in compilerJacob Pratt-85/+93
2022-05-20Lint single-use-lifetimes on the AST.Camille GILLOT-431/+204
2022-05-20Introduce BareFnTy::decl_span and fix generics span.Camille GILLOT-12/+3
2022-05-20Introduce LifetimeCtxt.Camille GILLOT-2/+2
2022-05-18Auto merge of #96800 - nbdd0121:const, r=nagisabors-32/+25
2022-05-18Rollup merge of #96651 - ken-matsui:omit-unnecessary-help-to-add-cfg-test, r=...Yuki Okushi-14/+21
2022-05-17Omit unnecessary help to add `#[cfg(test)]` when already annotatedKen Matsui-14/+21
2022-05-14Auto merge of #97039 - cjgillot:no-rpit-hrtb, r=jackh726bors-0/+14
2022-05-14Forbid nested opaque types to reference HRTB from opaque types.Camille GILLOT-0/+14
2022-05-13resolve: Move collection of all `macro_rules` in the crate to rustdocVadim Petrochenkov-12/+7
2022-05-13Rollup merge of #96989 - cjgillot:defpath-use, r=davidtwcoMatthias Krüger-4/+4
2022-05-12Replace DefPathData::Misc by two appropriately-named variants.Camille GILLOT-4/+4
2022-05-12Auto merge of #95562 - lcnr:attr-no-encode, r=davidtwcobors-6/+1
2022-05-12Auto merge of #96150 - est31:unused_macro_rules, r=petrochenkovbors-14/+109
2022-05-10only_local: always check for misuselcnr-6/+1
2022-05-07Auto merge of #96094 - Elliot-Roberts:fix_doctests, r=compiler-errorsbors-15/+15
2022-05-07Permit asm_const and asm_sym to reference outer generic paramsGary Guo-32/+25
2022-05-06Rollup merge of #96557 - nbdd0121:const, r=oli-obkGuillaume Gomez-1/+8
2022-05-05Implement the unused_macro_rules lintest31-14/+109
2022-05-05Rollup merge of #96507 - TaKO8Ki:suggest-calling-associated-function, r=lcnrMatthias Krüger-34/+80
2022-05-05suggest calling `Self::associated_function()`Takayuki Maeda-34/+80
2022-05-04Stabilize `bool::then_some`Josh Triplett-1/+0
2022-05-04Auto merge of #96353 - estebank:issue-95413, r=compiler-errorsbors-1/+18
2022-05-03Auto merge of #95380 - compiler-errors:unit-destructure-assign, r=nikomatsakisbors-7/+4
2022-05-03Allow inline consts to reference generic paramsGary Guo-1/+8
2022-05-03Rollup merge of #96641 - oli-obk:bool_args, r=wesleywiserYuki Okushi-28/+50
2022-05-03Tweak wordingEsteban Kuber-5/+4
2022-05-03When suggesting to import an item, also suggest changing the path if appropriateEsteban Küber-4/+22
2022-05-02fix most compiler/ doctestsElliot Roberts-15/+15
2022-05-02Use a yes/no enum instead of a bool.Oli Scherer-28/+50
2022-05-02Auto merge of #96431 - petrochenkov:parent, r=cjgillotbors-69/+53
2022-05-02rustc: Panic by default in `DefIdTree::parent`Vadim Petrochenkov-69/+53
2022-05-01Auto merge of #96521 - petrochenkov:docrules, r=notriddle,GuillaumeGomezbors-14/+19