summary refs log tree commit diff
path: root/compiler/rustc_resolve/src/late.rs
AgeCommit message (Expand)AuthorLines
2022-10-29Only ban duplication across parameters.Camille GILLOT-31/+66
2022-10-29Do not consider repeated lifetime params for elision.Camille GILLOT-5/+5
2022-10-27Revert "Do not consider method call receiver as an argument in AST."Michael Goulet-2/+3
2022-09-12Remove `path_span` argument to the `visit_path_segment` methods.Nicholas Nethercote-5/+5
2022-09-09Make async fn in traits workMichael Goulet-1/+1
2022-09-02Refactor and re-use BindingAnnotationCameron Steffen-7/+7
2022-09-01Always import all tracing macros for the entire crate instead of piecemeal by...Oli Scherer-5/+2
2022-09-01Directly use the `instrument` macro instead of its full pathOli Scherer-9/+9
2022-08-23Remove FnItemRibKind.Camille GILLOT-16/+9
2022-08-23Improve local generic parameter suggestions.Camille GILLOT-9/+9
2022-08-23Create specific ConstantHasGenerics for ConstantItemRibKind.Camille GILLOT-14/+21
2022-08-11Rollup merge of #100392 - nnethercote:simplify-visitors, r=cjgillotMatthias Krüger-1/+1
2022-08-11Simplify `rustc_ast::visit::Visitor::visit_poly_trait_ref`.Nicholas Nethercote-1/+1
2022-08-10Do not consider method call receiver as an argument in AST.Camille GILLOT-3/+2
2022-08-07Use start_point instead of next_point to point to elided lifetime ampersand.Camille GILLOT-1/+1
2022-07-30Always create elided lifetimes, even if inferred.Camille GILLOT-23/+20
2022-07-26Move fn parameter ribs outwards.Camille GILLOT-36/+62
2022-07-26Replace LifetimeRes::Anonymous by LifetimeRes::Infer.Camille GILLOT-71/+37
2022-07-26Remove the distinction between LifetimeName::Implicit and LifetimeName::Under...Camille GILLOT-38/+12
2022-07-26Do not produce extra lifetime parameters when not needed.Camille GILLOT-0/+3
2022-07-25Auto merge of #97313 - cjgillot:ast-lifetimes-anon, r=petrochenkovbors-161/+499
2022-07-25Report elision failures on the AST.Camille GILLOT-161/+473
2022-07-23Use span_bug in case of unexpected rib kindJordan McQueen-1/+1
2022-07-20Introduce AnonymousLifetimeRib::Elided and use it for implied 'static.Camille GILLOT-2/+28
2022-07-19Auto merge of #98120 - TaKO8Ki:box-diagnostic-metadata-field, r=estebankbors-2/+2
2022-07-14Rollup merge of #98705 - WaffleLapkin:closure_binder, r=cjgillotDylan DPC-8/+45
2022-07-13Always use CreateParameter mode for function definitions.Camille GILLOT-11/+9
2022-07-12Add `LifetimeBinderKind::Closure`Maybe Waffle-1/+3
2022-07-12Lower closure binders to hir & properly check themMaybe Waffle-7/+42
2022-07-12Parse closure bindersMaybe Waffle-1/+1
2022-07-11Auto merge of #98637 - cjgillot:bare-trait-anon-lt, r=petrochenkovbors-0/+24
2022-07-08Check if E0530 is `rustc_resolve::late::PatternSource::Match` to emit suggestionObei Sideg-4/+4
2022-07-08Check if E0530 is `tuple variant` or `tuple struct` to emit suggestionObei Sideg-2/+2
2022-07-02Handle fresh lifetimes on bare trait objects.Camille GILLOT-0/+24
2022-06-23Remove excess rib while resolving closuresMaybe Waffle-1/+3
2022-06-21Use CreateParameter mode for closures too.Camille GILLOT-5/+10
2022-06-21Always create parameters for functions-like types.Camille GILLOT-53/+140
2022-06-19Leave the responsibility to create `Fresh` lifetimes to lowering.Camille GILLOT-23/+11
2022-06-19Make matches exhaustive.Camille GILLOT-3/+9
2022-06-19Remove the `region` terminology.Camille GILLOT-9/+9
2022-06-18Separate `AnonymousCreateParameter` and `ReportElidedInPath`.Camille GILLOT-62/+93
2022-06-18Refactor visit_fn.Camille GILLOT-65/+96
2022-06-18Rustfmt resolve_implementation.Camille GILLOT-39/+57
2022-06-18Extract AssocItem handling.Camille GILLOT-166/+131
2022-06-15box `diagnostic_metadata` fieldTakayuki Maeda-2/+2
2022-06-14Make ResolverAstLowering a struct.Camille GILLOT-2/+1
2022-06-11Rollup merge of #97812 - TaKO8Ki:suggest-to-swap-struct-and-trait, r=estebankDylan DPC-1/+8
2022-06-09Do not introduce bindings for types and consts in HRTB.Camille GILLOT-1/+6
2022-06-07suggest swapping a struct and a traitTakayuki Maeda-1/+8
2022-06-05Rename `visit_generic_param{_slice => s}`Maybe Waffle-5/+5