summary refs log tree commit diff
path: root/compiler/rustc_resolve/src/late.rs
AgeCommit message (Expand)AuthorLines
2022-05-06Rollup merge of #96557 - nbdd0121:const, r=oli-obkGuillaume Gomez-1/+8
2022-05-05Rollup merge of #96507 - TaKO8Ki:suggest-calling-associated-function, r=lcnrMatthias Krüger-0/+5
2022-05-05suggest calling `Self::associated_function()`Takayuki Maeda-0/+5
2022-05-04Auto merge of #96353 - estebank:issue-95413, r=compiler-errorsbors-0/+2
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-26/+48
2022-05-03When suggesting to import an item, also suggest changing the path if appropriateEsteban Küber-0/+2
2022-05-02Use a yes/no enum instead of a bool.Oli Scherer-26/+48
2022-05-02rustc: Panic by default in `DefIdTree::parent`Vadim Petrochenkov-6/+2
2022-05-01resolve: Rename `unusable_binding` to `ignore_binding`Vadim Petrochenkov-2/+2
2022-05-01resolve: Turn `enum Finalize` into an optional structVadim Petrochenkov-32/+23
2022-04-30Auto merge of #95776 - cjgillot:ast-lifetimes-static, r=petrochenkovbors-9/+39
2022-04-30When encountering a binding that could be a const or unit variant, suggest th...Esteban Kuber-11/+14
2022-04-30Ban non-static lifetimes from AnonConst on AST.Camille GILLOT-6/+21
2022-04-29Remove `error` variable.Camille GILLOT-5/+3
2022-04-29Use the correct lifetime binder for elided lifetimes in path.Camille GILLOT-11/+14
2022-04-29Ban non-static in const generics in AST.Camille GILLOT-4/+19
2022-04-27Auto merge of #91557 - cjgillot:ast-lifetimes-named, r=petrochenkovbors-48/+186
2022-04-27Collect extra lifetime parameters during late resolution.Camille GILLOT-9/+37
2022-04-27Use LifetimeRes during lowering.Camille GILLOT-46/+156
2022-04-27Do not resolve elided lifetimes in path twice.Camille GILLOT-1/+1
2022-04-25Auto merge of #96246 - SparrowLii:bound_contxet, r=compiler-errorsbors-6/+6
2022-04-21Remove redundant `format!`sNixon Enraght-Moony-1/+1
2022-04-21rename to `BoundKind` and add commentsSparrowLii-6/+6
2022-04-20Add `BoundCtxt` in `visit_param_bounds` to check questions in boundsSparrowLii-6/+6
2022-04-19Rollup merge of #96142 - cjgillot:no-crate-def-index, r=petrochenkovDylan DPC-2/+2
2022-04-17Stop using CRATE_DEF_INDEX.Camille GILLOT-2/+2
2022-04-17Lint elided lifetimes in path on the AST.Camille GILLOT-1/+131
2022-04-17Report undeclared lifetimes on AST.Camille GILLOT-307/+717
2022-04-17Visit generics inside visit_fn.Camille GILLOT-1/+7
2022-04-17Count number of lifetime parameters in a separate pass.Camille GILLOT-13/+39
2022-04-14Reimplement lowering of sym operands for asm! so that it also works with glob...Amanieu d'Antras-2/+25
2022-04-12Rollup merge of #95918 - compiler-errors:issue-95878, r=cjgillotDylan DPC-0/+9
2022-04-12Pass last_import_segment and unusable_binding as parameters.Camille GILLOT-21/+36
2022-04-10Delay a bug when we see SelfCtor in ref patternMichael Goulet-0/+9
2022-04-06Fix unit struct/enum variant in destructuring assignmentMichael Goulet-7/+4
2022-04-04format condTakayuki Maeda-2/+4
2022-04-04remove unnecessary nested blocksTakayuki Maeda-12/+8
2022-03-29Remember mutability in `DefKind::Static`.Camille GILLOT-2/+2
2022-03-25resolve: Rename `CrateLint` to `Finalize`Vadim Petrochenkov-43/+32
2022-03-25resolve: Stop passing unused spans and node ids to path resolution functionsVadim Petrochenkov-52/+47
2022-03-25resolve: Do not build expensive suggestions if they are not actually usedVadim Petrochenkov-23/+7
2022-03-18refactor: remove an unnecessary pattern for ignoring all partsTakayuki Maeda-1/+1
2022-02-23rustc_errors: take `self` by value in `DiagnosticBuilder::cancel`.Eduard-Mihai Burtescu-3/+1
2022-02-12change to a struct variantEllen-11/+16
2022-02-02Detect `::` -> `:` typo in type argumentEsteban Kuber-1/+5
2022-01-19Only suggest adding `!` to expressions that can be macro invocationEsteban Kuber-0/+4
2022-01-15Auto merge of #92441 - cjgillot:resolve-trait-impl-item, r=matthewjasperbors-23/+62
2022-01-12Ensure res and module are consistent with each other.Camille GILLOT-23/+13