summary refs log tree commit diff
path: root/src/test/ui/borrowck
AgeCommit message (Expand)AuthorLines
2022-12-06Change CTFE backtraces to use `note` instead of `label` to preserve their orderOli Scherer-18/+30
2022-12-06Remove now-redundant file/line info from const backtracesOli Scherer-6/+6
2022-11-23review comments: inline bindings and fix typoEsteban Küber-3/+3
2022-11-23Tweak output to account for alternative bindings in the same patternEsteban Küber-8/+2
2022-11-23Fix wordingEsteban Küber-3/+3
2022-11-23Remove logic duplicationEsteban Küber-3/+3
2022-11-23Do not suggest `ref` multiple times for the same bindingEsteban Küber-8/+0
2022-11-23Suggest `.clone()` or `ref binding` on E0382Esteban Küber-6/+381
2022-11-16cleanup and dedupe CTFE and Miri error reportingRalf Jung-13/+16
2022-11-13Rollup merge of #104181 - jackh726:known-bug-tests, r=Mark-SimulacrumManish Goregaokar-0/+62
2022-11-13Add a few known-bug testsJack Huey-0/+62
2022-11-12Auto merge of #103530 - cjgillot:hir-lifetimes-direct, r=estebankbors-15/+4
2022-11-11Visit opaque types during type collection too.Camille GILLOT-15/+4
2022-11-09Rollup merge of #103307 - b4den:master, r=estebankManish Goregaokar-7/+7
2022-11-05Adjust diagnostics, bless testsMichael Goulet-18/+18
2022-10-27Erase regions from CallArgument, add test + blessMichael Goulet-0/+66
2022-10-25Rollup merge of #103382 - compiler-errors:anon-apit-lt-region-ice, r=cjgillotYuki Okushi-0/+28
2022-10-23Rollup merge of #103305 - c410-f3r:moar-errors, r=petrochenkovDylan DPC-0/+30
2022-10-22Don't ICE on regions from anonymous_lifetime_in_impl_traitMichael Goulet-0/+28
2022-10-20Update tests to match error message changesb4den-7/+7
2022-10-20Move some tests for more reasonable placesCaio-0/+30
2022-10-19Erase regions before checking for default in uninitialized binding errorMichael Goulet-0/+54
2022-10-16Auto merge of #102080 - yanchen4791:issue-99824-fix, r=cjgillotbors-2/+8
2022-10-13Move some tests to more reasonable directoriesCaio-0/+19
2022-10-07make const_err a hard errorRalf Jung-63/+15
2022-10-01Auto merge of #101986 - WaffleLapkin:move_lint_note_to_the_bottom, r=estebankbors-6/+6
2022-10-01bless ui testsMaybe Waffle-6/+6
2022-09-29Generate synthetic impl region even in closure body in associated fnMichael Goulet-0/+50
2022-09-28Fix missing explanation of where borrowed reference is used when the borrow o...Yan Chen-2/+8
2022-09-26Auto merge of #102184 - chenyukang:fix-102087-add-binding-sugg, r=nagisabors-0/+361
2022-09-26fix #102087, Suggest Default::default() when binding isn't initializedyukang-0/+361
2022-09-25Rollup merge of #101431 - compiler-errors:move-place-ty-for-move-place-sugg, ...fee1-dead-0/+50
2022-09-06Shrink span for bindings with subpatterns.Camille GILLOT-61/+61
2022-09-05Look at move place's type when suggesting mutable reborrowMichael Goulet-0/+50
2022-09-05Don't suggest reborrow if usage is inside a closureMichael Goulet-0/+31
2022-09-01do not suggest adding `move` to closure when `move` is already usedTakayuki Maeda-0/+26
2022-08-31Fix a bunch of typoDezhi Wu-3/+3
2022-08-25Provide structured suggestion for `hashmap[idx] = val`Esteban Küber-7/+16
2022-08-23Suggest alternatives when trying to mutate a `HashMap`/`BTreeMap` via indexingChayim Refael Friedman-0/+3
2022-08-20Rollup merge of #100507 - cameron1024:suggest-lazy, r=compiler-errorsMatthias Krüger-0/+1
2022-08-20Rollup merge of #100186 - compiler-errors:or-as_mut, r=fee1-deadMatthias Krüger-4/+1
2022-08-16Make as_ref suggestion a noteMichael Goulet-4/+1
2022-08-15Fix #95079 by adding help and suggestion for missing move in nested closureYan Chen-0/+59
2022-08-14suggest lazy-static for non-const staticscameron-0/+1
2022-08-14Suggest as_ref or as_mutMichael Goulet-1/+1
2022-08-03fix trailing whitespace in error messageklensy-1/+1
2022-07-31Improve `cannot move out of` error messageObei Sideg-2/+2
2022-07-19Mention first and last macro in backtraceMichael Goulet-12/+12
2022-07-15Move tests to fit in limitEsteban Küber-0/+89
2022-07-15Provide structured suggestion for dropped temp valueEsteban Küber-6/+22