about summary refs log tree commit diff
path: root/compiler/rustc_resolve
AgeCommit message (Expand)AuthorLines
2022-04-30Use newtype `enum`s instead of `bool`Esteban Kuber-21/+43
2022-04-30When encountering a binding that could be a const or unit variant, suggest th...Esteban Kuber-34/+89
2022-04-30Ban non-static lifetimes from AnonConst on AST.Camille GILLOT-38/+37
2022-04-29Rollup merge of #96559 - cjgillot:elided-path-fn, r=petrochenkovDylan DPC-12/+13
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-29errors: `span_suggestion` takes `impl ToString`David Wood-1/+1
2022-04-29Ban non-static in const generics in AST.Camille GILLOT-33/+34
2022-04-28Auto merge of #96495 - Dylan-DPC:rollup-9lm4tpp, r=Dylan-DPCbors-3/+1
2022-04-28Rollup merge of #96471 - BoxyUwU:let_else_considered_harmful, r=lcnrDylan DPC-3/+1
2022-04-27Auto merge of #91557 - cjgillot:ast-lifetimes-named, r=petrochenkovbors-50/+202
2022-04-27Collect extra lifetime parameters during late resolution.Camille GILLOT-9/+44
2022-04-27Use LifetimeRes during lowering.Camille GILLOT-48/+165
2022-04-27Do not resolve elided lifetimes in path twice.Camille GILLOT-1/+1
2022-04-27tut tut tutEllen-3/+1
2022-04-25Auto merge of #96246 - SparrowLii:bound_contxet, r=compiler-errorsbors-6/+6
2022-04-23Compute has_pub_restricted in the resolver.Camille GILLOT-0/+7
2022-04-23Fix lints.Camille GILLOT-1/+8
2022-04-23Drop vis in Item.Camille GILLOT-0/+2
2022-04-23Stop visiting visibility.Camille GILLOT-2/+2
2022-04-21Remove redundant `format!`sNixon Enraght-Moony-2/+2
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-24/+21
2022-04-17Stop using CRATE_DEF_INDEX.Camille GILLOT-24/+21
2022-04-17Lint elided lifetimes in path on the AST.Camille GILLOT-61/+188
2022-04-17Report undeclared lifetimes on AST.Camille GILLOT-381/+831
2022-04-17Remove is_in_fn_syntax.Camille GILLOT-11/+0
2022-04-17Visit generics inside visit_fn.Camille GILLOT-2/+10
2022-04-17Count number of lifetime parameters in a separate pass.Camille GILLOT-13/+39
2022-04-16Rollup merge of #95887 - petrochenkov:doclink5, r=cjgillotDylan DPC-30/+28
2022-04-14Reimplement lowering of sym operands for asm! so that it also works with glob...Amanieu d'Antras-2/+71
2022-04-12Rollup merge of #95918 - compiler-errors:issue-95878, r=cjgillotDylan DPC-0/+9
2022-04-12Rollup merge of #95405 - cjgillot:probe, r=petrochenkovDylan DPC-2191/+2337
2022-04-12Handle `unusable_binding` more compactly.Vadim Petrochenkov-17/+14
2022-04-12Fix imports.Camille GILLOT-8/+3
2022-04-12Move diagnostic methods to the dedicated module.Camille GILLOT-477/+472
2022-04-12Simplify error reporting.Camille GILLOT-85/+76
2022-04-12Move path resolution error to rustc_resolve::diagnostics.Camille GILLOT-164/+207
2022-04-12Make the logic more explicit with let chains.Camille GILLOT-18/+16
2022-04-12Do not record Res when builing a suggestion.Camille GILLOT-6/+9
2022-04-12Insert error after checking for binding usability.Camille GILLOT-6/+6
2022-04-12Pass last_import_segment and unusable_binding as parameters.Camille GILLOT-79/+177
2022-04-12Simplify binding finalization.Camille GILLOT-53/+54
2022-04-12Move ident resolution to a dedicated module.Camille GILLOT-1643/+1668
2022-04-12Rollup merge of #95936 - TaKO8Ki:fix-relative-paths-error-message, r=Dylan-DPCMatthias Krüger-1/+1
2022-04-11fix a bad error message for `relative paths are not supported in visibilities...Takayuki Maeda-1/+1
2022-04-11Rollup merge of #95907 - compiler-errors:diag, r=Dylan-DPCMatthias Krüger-7/+6
2022-04-10Delay a bug when we see SelfCtor in ref patternMichael Goulet-0/+9
2022-04-10resolve: Create dummy bindings for all unresolved importsVadim Petrochenkov-30/+28