about summary refs log tree commit diff
path: root/tests/ui/borrowck
AgeCommit message (Expand)AuthorLines
2025-01-29Rollup merge of #136212 - estebank:span-tweak, r=petrochenkovMatthias Krüger-4/+4
2025-01-28Auto merge of #136203 - matthiaskrgr:rollup-1k0f44l, r=matthiaskrgrbors-4/+4
2025-01-28Tweak `&mut self` suggestion spanEsteban Küber-4/+4
2025-01-28"normalize" signature before checking mentions selfBoxy-4/+4
2025-01-27Reapply "Auto merge of #133734 - scottmcm:lower-indexing-to-ptrmetadata, r=da...Michael Goulet-19/+7
2025-01-23tests: use `needs-subprocess` instead of `ignore-{wasm32,emscripten,sgx}`许杰友 Jieyou Xu (Joe)-2/+2
2025-01-18add tests for issue 135671Rémy Rakic-0/+30
2025-01-18Revert "Auto merge of #133734 - scottmcm:lower-indexing-to-ptrmetadata, r=dav...Rémy Rakic-7/+19
2025-01-15Rollup merge of #132397 - m-ou-se:warn-missing-abi, r=NadrierilJacob Pratt-1/+1
2025-01-07Update tests.Mara Bos-1/+1
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