about summary refs log tree commit diff
path: root/tests/ui/borrowck
AgeCommit message (Expand)AuthorLines
2025-01-06`best_blame_constraint`: don't filter constraints by sup SCCdianne-18/+22
2024-12-31Fix span for IndexMut method call on HashMap/BTreeMapMichael Goulet-1/+4
2024-12-31Use if-let in structured suggestion instead of Option::mapMichael Goulet-2/+2
2024-12-31Explain how to mutate a HashMap/BTreeMap with more nuanceMichael Goulet-1/+1
2024-12-29Auto merge of #134627 - estebank:issue-133252, r=jackh726bors-0/+81
2024-12-23Note def descr in NonConstFunctionCallMichael Goulet-2/+2
2024-12-21Avoid ICE in borrowckEsteban Küber-0/+81
2024-12-18fix crasheslcnr-0/+36
2024-12-17Rollup merge of #134397 - Enselic:raw-mut, r=compiler-errorsJacob Pratt-0/+5
2024-12-16rustc_borrowck: Suggest changing `&raw const` to `&raw mut` if applicableMartin Nordholts-0/+5
2024-12-14Auto merge of #133734 - scottmcm:lower-indexing-to-ptrmetadata, r=davidtwco,R...bors-19/+7
2024-12-14Rollup merge of #134244 - Enselic:no-mut-hint-for-raw-ref, r=jieyouxuMatthias Krüger-0/+17
2024-12-13rustc_borrowck: Stop suggesting the invalid syntax `&mut raw const`Martin Nordholts-5/+0
2024-12-13Add regression test for issue 127562Martin Nordholts-0/+22
2024-12-12Tweak multispan renderingEsteban Küber-2/+0
2024-12-08Rollup merge of #134024 - jieyouxu:ui-cleanup-2, r=NadrierilMatthias Krüger-0/+59
2024-12-08Move `assign-imm-local-twice.rs` to `tests/ui/borrowck/`许杰友 Jieyou Xu (Joe)-0/+59
2024-12-07Mention type parameter in more cases and don't suggest ~const bound already t...Esteban Küber-2/+2
2024-12-07reword trait bound suggestion message to include the boundsEsteban Küber-3/+3
2024-12-03Bounds-check with PtrMetadata instead of Len in MIRScott McMurray-19/+7
2024-11-26tests: remove `//@ pretty-expanded` usages许杰友 Jieyou Xu (Joe)-8/+0
2024-10-25Re-do recursive const stability checksRalf Jung-12/+2
2024-09-24replace "cast" with "coercion" where applicableLukas Markeffsky-2/+2
2024-09-22No longer mark RTN as incompleteMichael Goulet-12/+0
2024-09-13Update tests for hidden references to mutable staticObei Sideg-100/+21
2024-08-22Do not rely on names to find lifetimes.Camille GILLOT-5/+4
2024-08-20Auto merge of #127672 - compiler-errors:precise-capturing, r=spastorinobors-0/+5
2024-08-18stabilize raw_ref_opRalf Jung-20/+10
2024-08-17Bless test falloutMichael Goulet-0/+5
2024-07-26Peel off explicit (or implicit) deref before suggesting clone on move error i...Michael Goulet-53/+39
2024-07-25Rollup merge of #128172 - compiler-errors:non-self-arg, r=chenyukangMatthias Krüger-0/+55
2024-07-24Don't ICE if HIR and middle types disagree in borrowck error reportingMichael Goulet-0/+55
2024-07-22Revert suggestion verbosity changeEsteban Küber-12/+6
2024-07-22Change suggestion message wordingEsteban Küber-2/+2
2024-07-22Use verbose suggestion for "wrong # of generics"Esteban Küber-6/+12
2024-07-20Rollup merge of #127948 - surechen:fix_127915, r=compiler-errorsMatthias Krüger-0/+40
2024-07-19fixes panic errorsurechen-0/+40
2024-07-18Use more accurate span for `addr_of!` suggestionEsteban Küber-6/+6
2024-07-17If the moved value is a mut reference, it is used in a generic function and i...surechen-12/+55
2024-07-16Suggest a borrow when using dbgyukang-0/+185
2024-07-04Rollup merge of #127301 - estebank:fix-suggestions, r=UrgauMatthias Krüger-86/+136
2024-07-04More accurate mutability suggestionEsteban Küber-49/+85
2024-07-04Fix `&mut` removal suggestionEsteban Küber-4/+7
2024-07-04Better span for "make binding mutable" suggestionEsteban Küber-33/+44
2024-07-03Rollup merge of #127092 - compiler-errors:rtn-dots-redux, r=estebankMatthias Krüger-2/+2
2024-06-29fix: prefer `(*p).clone` to `p.clone` if the `p` is a raw pointerLin Yihai-24/+6
2024-06-28Change RTN to use .. againMichael Goulet-2/+2
2024-06-27Tighten spans for async blocksMichael Goulet-10/+8
2024-06-17Convert a `span_bug` to a `span_delayed_bug`.Nicholas Nethercote-0/+48
2024-06-12No uninitalized report in a pre-returned match armLin Yihai-0/+37