summary refs log tree commit diff
path: root/tests/ui/borrowck
AgeCommit message (Expand)AuthorLines
2025-03-14Do not suggest using `-Zmacro-backtrace` for builtin macrosEsteban Küber-5/+0
2025-03-11Implement `#[define_opaque]` attribute for functions.Oli Scherer-2/+3
2025-03-01Rollup merge of #136503 - estebank:const-panic, r=RalfJungMatthias Krüger-36/+18
2025-02-28Shorten span of panic failures in const contextEsteban Küber-36/+18
2025-02-24tests: use minicore moreDavid Wood-24/+4
2025-02-21Auto merge of #137348 - compiler-errors:span-trim, r=estebankbors-24/+16
2025-02-21More sophisticated span trimmingMichael Goulet-24/+16
2025-02-20Use a probe to avoid registering stray region obligations when re-checking dr...Michael Goulet-0/+27
2025-02-15Rework name_regions to not rely on reverse scc graph for non-member-constrain...Michael Goulet-0/+27
2025-02-14Trim suggestion parts to the subset that is purely additiveMichael Goulet-4/+4
2025-02-14Use underline suggestions for purely 'additive' replacementsMichael Goulet-12/+8
2025-02-11Deeply normalize in impl headerMichael Goulet-0/+28
2025-02-11Deeply normalize args for implied boundsMichael Goulet-0/+22
2025-02-10Show diff suggestion format on verbose replacementEsteban Küber-48/+72
2025-02-04bless test expectationsRémy Rakic-1/+1
2025-02-01diagnostics: fix borrowck suggestions for if/while let conditionalsMichael Howell-0/+135
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