about summary refs log tree commit diff
path: root/compiler/rustc_borrowck/src/diagnostics
AgeCommit message (Expand)AuthorLines
2024-06-13Replace some `Option<Diag>` with `Result<(), Diag>`Oli Scherer-5/+5
2024-06-12No uninitalized report in a pre-returned match armLin Yihai-4/+17
2024-06-10Make suggestion to change `Fn` to `FnMut` work with methods wellGurinder Singh-44/+69
2024-06-05Remove confusing `use_polonius` flag and do less cloningAmanda Stjerna-6/+5
2024-06-03Move FulfillmentErrorCode to rustc_trait_selection tooMichael Goulet-3/+5
2024-06-03Opt-in diagnostics reporting to avoid doing extra work in the new solverMichael Goulet-1/+1
2024-06-03Auto merge of #125778 - estebank:issue-67100, r=compiler-errorsbors-1/+1
2024-05-31Rollup merge of #125635 - fmease:mv-type-binding-assoc-item-constraint, r=com...Matthias Krüger-8/+4
2024-05-30Rename HIR `TypeBinding` to `AssocItemConstraint` and related cleanupLeón Orell Valerian Liehr-8/+4
2024-05-29Use parenthetical notation for `Fn` traitsEsteban Küber-1/+1
2024-05-29Make `body_owned_by` return the body directly.Oli Scherer-19/+15
2024-05-24Remove `DefId` from `EarlyParamRegion` (tedium/diagnostics)Boxy-32/+51
2024-05-20Rename confusing function nameMichael Goulet-1/+1
2024-05-19fix suggestion in E0373 for !Unpin coroutinesJoshua Wong-0/+4
2024-05-19Rollup merge of #124948 - blyxyas:remove-repeated-words, r=compiler-errorsMatthias Krüger-1/+1
2024-05-18Auto merge of #125077 - spastorino:add-new-fnsafety-enum2, r=jackh726bors-1/+1
2024-05-18Fix typos (taking into account review comments)blyxyas-1/+1
2024-05-17Rename Unsafe to SafetySantiago Pastorino-1/+1
2024-05-16Rename ToPredicate for UpcastMichael Goulet-5/+5
2024-05-13split out AliasTy -> AliasTermMichael Goulet-1/+2
2024-05-10Auto merge of #124982 - compiler-errors:uplift-trait-ref, r=lcnrbors-0/+1
2024-05-10Lift `TraitRef` into `rustc_type_ir`Michael Goulet-0/+1
2024-05-10Auto merge of #124952 - compiler-errors:no-error, r=lcnrbors-2/+2
2024-05-10rename some variants in FulfillmentErrorCodeMichael Goulet-2/+2
2024-05-10Rollup merge of #124957 - compiler-errors:builtin-deref, r=michaelwoeristerMatthias Krüger-3/+2
2024-05-10Auto merge of #124953 - compiler-errors:own-params, r=lcnrbors-26/+29
2024-05-09Make builtin_deref just return a TyMichael Goulet-3/+2
2024-05-09Rename Generics::params to Generics::own_paramsMichael Goulet-26/+29
2024-05-09Suggest borrowing on fn argument that is `impl AsRef`Esteban Küber-19/+70
2024-05-09chore: remove repetitive wordsgoofylfg-1/+1
2024-04-29Remove `extern crate rustc_middle` from numerous crates.Nicholas Nethercote-0/+6
2024-04-25review comment: rename methodEsteban Küber-2/+2
2024-04-25Check equivalence of indices in more casesEsteban Küber-1/+7
2024-04-25Don't suggest `split_at_mut` when the multiple borrows have the same indexEsteban Küber-2/+6
2024-04-25Mention `split_at_mut` when mixing mutability in indexing opsEsteban Küber-2/+17
2024-04-25Only suggest `split_at_mut` on indexing borrowck errors for std typesEsteban Küber-8/+22
2024-04-25Detect borrow error involving sub-slices and suggest `split_at_mut`Esteban Küber-16/+25
2024-04-25Auto merge of #119650 - chenyukang:yukang-fix-118596-ref-mut, r=wesleywiserbors-1/+16
2024-04-24Suggest cloning captured binding in `move` closureEsteban Küber-8/+136
2024-04-24Mention when type parameter could be `Clone`Esteban Küber-8/+51
2024-04-24Modify `find_expr` from `Span` to better account for closuresEsteban Küber-4/+4
2024-04-25Suggest ref mut for pattern matching assignmentyukang-1/+16
2024-04-23Rollup merge of #122598 - Nadrieril:full-derefpats, r=matthewjasperLeón Orell Valerian Liehr-11/+20
2024-04-20Add a non-shallow fake borrowNadrieril-11/+20
2024-04-19Stop taking ParamTy/ParamConst/EarlyParamRegion/AliasTy by refMichael Goulet-2/+2
2024-04-17Rename `BindingAnnotation` to `BindingMode`Jules Bertholet-8/+8
2024-04-15Make suggest_deref_closure_return more idiomatic/easier to understandMichael Goulet-73/+64
2024-04-16Rollup merge of #123989 - compiler-errors:type-dependent-def-id, r=oli-obkLeón Orell Valerian Liehr-26/+20
2024-04-16Rollup merge of #123016 - compiler-errors:no-type-var-origin, r=lcnrLeón Orell Valerian Liehr-5/+4
2024-04-15Rebase falloutMichael Goulet-5/+4