summary refs log tree commit diff
path: root/src/test/ui/borrowck
AgeCommit message (Expand)AuthorLines
2020-06-28Update testsDylan MacKenzie-6/+21
2020-06-26Explain move errors that occur due to method calls involving `self`Aaron Hill-1/+6
2020-06-24Provide suggestions for some moved value errorsEsteban Küber-0/+228
2020-06-22Revert "Rollup merge of #72389 - Aaron1011:feature/move-fn-self-msg, r=nikoma...Aaron Hill-6/+1
2020-06-15Rollup merge of #72598 - Aaron1011:feature/fnmut-capture-span, r=nikomatsakisRalf Jung-0/+3
2020-06-11Explain move errors that occur due to method calls involving `self`Aaron Hill-1/+6
2020-06-04test: ui: skip tests which aren't appropriate for RISC-VTom Eccles-7/+8
2020-05-25Display information about captured variable in `FnMut` errorAaron Hill-0/+3
2020-05-22Update testsMatthew Jasper-132/+50
2020-05-08Skip tests on emscriptenYuki Okushi-0/+1
2020-05-06Move tests from `test/run-fail` to UIYuki Okushi-0/+11
2020-05-02Report cannot move errors in promoted MIRMatthew Jasper-0/+51
2020-04-11rustc: Add a warning count upon completionRoccoDev-4/+4
2020-03-29Tweak `suggest_constraining_type_param`Esteban Küber-4/+3
2020-03-26Update tests to use llvm_asm!Amanieu d'Antras-31/+31
2020-03-22Fix invalid suggestion on `&mut` iterators yielding `&` referencesWonwoo Choi-0/+23
2020-03-09test(patterns): add borrowck tests for combination of pattern featuresMatthew Kuo-0/+432
2020-02-24parser: `token` -> `normalized_token`, `nonnormalized_token` -> `token`Vadim Petrochenkov-9/+11
2020-02-14Fix tests after rebaseMatthew Jasper-49/+68
2020-02-11Rollup merge of #68816 - estebank:fn-mut-closure, r=varkorDylan DPC-130/+170
2020-02-11Auto merge of #68929 - matprec:consistent-issue-references, r=Dylan-DPCbors-1/+1
2020-02-09--bless --compare-mode=nllMatthias Prechtl-1/+1
2020-02-09Improve reporting errors and suggestions for trait boundsPatryk Wychowaniec-3/+7
2020-02-08review commentsEsteban Küber-6/+2
2020-02-06rustc_macros: don't limit the -Zmacro-backtrace suggestion to extern macros.Eduard-Mihai Burtescu-2/+4
2020-02-06rustc: rename -Zexternal-macro-backtrace to -Zmacro-backtrace.Eduard-Mihai Burtescu-2/+2
2020-02-03Tweak borrow error on `FnMut` when `Fn` is expectedEsteban Küber-130/+174
2020-02-03Auto merge of #67668 - matthewjasper:or-patterns, r=pnkfelixbors-0/+205
2020-02-03Add more tests for or-patternsMatthew Jasper-0/+205
2020-02-02compiletest: error if `compile-fail` header in ui test.Tyler Lanphear-14/+7
2020-01-31Auto merge of #68080 - varkor:declared-here, r=petrochenkovbors-7/+7
2020-01-29Fix revision annotations in borrowck-feature-nll-overrides-migrateTomasz Miąsko-2/+2
2020-01-24Update new testsvarkor-4/+4
2020-01-24Normalise notes with the/isvarkor-2/+2
2020-01-24Normalise diagnostics with respect to "the X is declared/defined here"varkor-1/+1
2020-01-18slice_patterns: address review commentsMazdak Farrokhzad-1/+0
2020-01-18slice_patterns: remove gates in testsMazdak Farrokhzad-185/+141
2020-01-09Update testsVadim Petrochenkov-3/+23
2020-01-08slice patterns: harden match-based borrowck testsMazdak Farrokhzad-0/+978
2019-12-21Rollup merge of #67467 - matthewjasper:test-slice-patterns, r=oli-obkMazdak Farrokhzad-0/+316
2019-12-21Add more tests for slice patternsMatthew Jasper-0/+316
2019-12-20Rollup merge of #67314 - matthewjasper:union-move-errors, r=nikomatsakisMazdak Farrokhzad-0/+57
2019-12-19Don't suppress move errors for union fieldsMatthew Jasper-0/+57
2019-12-18Add more tests for raw_ref_opMatthew Jasper-0/+268
2019-12-14Revert "Remove `#![feature(never_type)]` from tests."Niko Matsakis-0/+2
2019-12-09Add more tests for borrowck and dropck slice pattern handlingMatthew Jasper-75/+817
2019-11-28Deduplicate type param constraint suggestion codeEsteban Küber-1/+1
2019-11-28Use structured suggestion when requiring `Copy` constraint in type paramEsteban Küber-2/+2
2019-11-26Rollup merge of #66754 - estebank:rustdoc-capitalization, r=Dylan-DPCTyler Mandry-29/+5
2019-11-25Tweak move error due to non-CopyEsteban Küber-29/+5