rust/src/test/ui/borrowck
Ralf Jung 5193c5d608
Rollup merge of #72598 - Aaron1011:feature/fnmut-capture-span, r=nikomatsakis
Display information about captured variable in `FnMut` error

Fixes #69446

When we encounter a region error involving an `FnMut` closure, we
display a specialized error message. However, we currently do not
tell the user which upvar was captured. This makes it difficult to
determine the cause of the error, especially when the closure is large.

This commit records marks constraints involving closure upvars
with `ConstraintCategory::ClosureUpvar`. When we decide to 'blame'
a `ConstraintCategory::Return`, we additionall store
the captured upvar if we found a `ConstraintCategory::ClosureUpvar` in
the path.

When generating an error message, we point to relevant spans if we have
closure upvar information available. We further customize the message if
an `async` closure is being returned, to make it clear that the captured
variable is being returned indirectly.
2020-06-15 09:57:28 +02:00
..
assign-never-type.rs Revert "Remove #![feature(never_type)] from tests." 2019-12-14 09:01:04 -05:00
assign_mutable_fields.rs update tests for migrate mode by default 2019-04-22 08:40:08 +01:00
assign_mutable_fields.stderr Fixed grammar/style in error messages and reblessed tests. 2019-09-06 03:46:08 +01:00
bindings-after-at-or-patterns-slice-patterns-box-patterns.rs test(patterns): add borrowck tests for combination of pattern features 2020-03-09 08:27:45 -05:00
bindings-after-at-or-patterns-slice-patterns-box-patterns.stderr test(patterns): add borrowck tests for combination of pattern features 2020-03-09 08:27:45 -05:00
borrow-immutable-upvar-mutation-impl-trait.rs Fix tests after rebase 2020-02-14 22:40:03 +00:00
borrow-immutable-upvar-mutation-impl-trait.stderr Fix tests after rebase 2020-02-14 22:40:03 +00:00
borrow-immutable-upvar-mutation.rs Fix tests after rebase 2020-02-14 22:40:03 +00:00
borrow-immutable-upvar-mutation.stderr Fix tests after rebase 2020-02-14 22:40:03 +00:00
borrow-raw-address-of-borrowed.rs Add more tests for raw_ref_op 2019-12-18 20:30:00 +00:00
borrow-raw-address-of-borrowed.stderr Add more tests for raw_ref_op 2019-12-18 20:30:00 +00:00
borrow-raw-address-of-deref-mutability-ok.rs Add more tests for raw_ref_op 2019-12-18 20:30:00 +00:00
borrow-raw-address-of-deref-mutability.rs Add more tests for raw_ref_op 2019-12-18 20:30:00 +00:00
borrow-raw-address-of-deref-mutability.stderr Add more tests for raw_ref_op 2019-12-18 20:30:00 +00:00
borrow-raw-address-of-mutability-ok.rs Add more tests for raw_ref_op 2019-12-18 20:30:00 +00:00
borrow-raw-address-of-mutability.rs Add more tests for raw_ref_op 2019-12-18 20:30:00 +00:00
borrow-raw-address-of-mutability.stderr Tweak borrow error on FnMut when Fn is expected 2020-02-03 18:02:44 -08:00
borrow-tuple-fields.rs Remove licenses 2018-12-25 21:08:33 -07:00
borrow-tuple-fields.stderr update tests for migrate mode by default 2019-04-22 08:40:08 +01:00
borrowck-access-permissions.rs update tests for migrate mode by default 2019-04-22 08:40:08 +01:00
borrowck-access-permissions.stderr update tests for migrate mode by default 2019-04-22 08:40:08 +01:00
borrowck-and-init.rs Fixed grammar/style in error messages and reblessed tests. 2019-09-06 03:46:08 +01:00
borrowck-and-init.stderr Fixed grammar/style in error messages and reblessed tests. 2019-09-06 03:46:08 +01:00
borrowck-anon-fields-struct.rs Remove licenses 2018-12-25 21:08:33 -07:00
borrowck-anon-fields-struct.stderr update tests for migrate mode by default 2019-04-22 08:40:08 +01:00
borrowck-anon-fields-tuple.rs Remove licenses 2018-12-25 21:08:33 -07:00
borrowck-anon-fields-tuple.stderr update tests for migrate mode by default 2019-04-22 08:40:08 +01:00
borrowck-anon-fields-variant.rs Adjust & --bless tests due to no longer downgrading NLL errors on 2015. 2019-09-26 06:44:57 +02:00
borrowck-anon-fields-variant.stderr Adjust & --bless tests due to no longer downgrading NLL errors on 2015. 2019-09-26 06:44:57 +02:00
borrowck-argument.rs update tests for migrate mode by default 2019-04-22 08:40:08 +01:00
borrowck-argument.stderr update tests for migrate mode by default 2019-04-22 08:40:08 +01:00
borrowck-asm.rs test: ui: skip tests which aren't appropriate for RISC-V 2020-06-04 15:59:59 +01:00
borrowck-asm.stderr test: ui: skip tests which aren't appropriate for RISC-V 2020-06-04 15:59:59 +01:00
borrowck-assign-comp-idx.rs Remove licenses 2018-12-25 21:08:33 -07:00
borrowck-assign-comp-idx.stderr update tests for migrate mode by default 2019-04-22 08:40:08 +01:00
borrowck-assign-comp.rs update tests for migrate mode by default 2019-04-22 08:40:08 +01:00
borrowck-assign-comp.stderr update tests for migrate mode by default 2019-04-22 08:40:08 +01:00
borrowck-assign-to-andmut-in-aliasable-loc.rs Remove licenses 2018-12-25 21:08:33 -07:00
borrowck-assign-to-andmut-in-aliasable-loc.stderr Update ui tests 2019-11-18 19:00:10 +01:00
borrowck-assign-to-andmut-in-borrowed-loc.rs update tests for migrate mode by default 2019-04-22 08:40:08 +01:00
borrowck-assign-to-andmut-in-borrowed-loc.stderr update tests for migrate mode by default 2019-04-22 08:40:08 +01:00
borrowck-assign-to-constants.rs update tests for migrate mode by default 2019-04-22 08:40:08 +01:00
borrowck-assign-to-constants.stderr Update ui tests 2019-11-18 19:00:10 +01:00
borrowck-assign-to-subfield.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
borrowck-assignment-to-static-mut.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
borrowck-auto-mut-ref-to-immut-var.rs Remove licenses 2018-12-25 21:08:33 -07:00
borrowck-auto-mut-ref-to-immut-var.stderr update tests for migrate mode by default 2019-04-22 08:40:08 +01:00
borrowck-autoref-3261.rs Remove licenses 2018-12-25 21:08:33 -07:00
borrowck-autoref-3261.stderr update tests for migrate mode by default 2019-04-22 08:40:08 +01:00
borrowck-bad-nested-calls-free.rs Remove licenses 2018-12-25 21:08:33 -07:00
borrowck-bad-nested-calls-free.stderr update tests for migrate mode by default 2019-04-22 08:40:08 +01:00
borrowck-bad-nested-calls-move.rs Remove licenses 2018-12-25 21:08:33 -07:00
borrowck-bad-nested-calls-move.stderr update tests for migrate mode by default 2019-04-22 08:40:08 +01:00
borrowck-binding-mutbl.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
borrowck-block-unint.rs Fixed grammar/style in error messages and reblessed tests. 2019-09-06 03:46:08 +01:00
borrowck-block-unint.stderr Fixed grammar/style in error messages and reblessed tests. 2019-09-06 03:46:08 +01:00
borrowck-borrow-from-expr-block.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
borrowck-borrow-from-owned-ptr.rs update tests for migrate mode by default 2019-04-22 08:40:08 +01:00
borrowck-borrow-from-owned-ptr.stderr update tests for migrate mode by default 2019-04-22 08:40:08 +01:00
borrowck-borrow-from-stack-variable.rs Remove licenses 2018-12-25 21:08:33 -07:00
borrowck-borrow-from-stack-variable.stderr update tests for migrate mode by default 2019-04-22 08:40:08 +01:00
borrowck-borrow-from-temporary.rs update tests for migrate mode by default 2019-04-22 08:40:08 +01:00
borrowck-borrow-from-temporary.stderr update tests for migrate mode by default 2019-04-22 08:40:08 +01:00
borrowck-borrow-immut-deref-of-box-as-mut.rs update tests for migrate mode by default 2019-04-22 08:40:08 +01:00
borrowck-borrow-immut-deref-of-box-as-mut.stderr update tests for migrate mode by default 2019-04-22 08:40:08 +01:00
borrowck-borrow-mut-base-ptr-in-aliasable-loc.rs Remove licenses 2018-12-25 21:08:33 -07:00
borrowck-borrow-mut-base-ptr-in-aliasable-loc.stderr Update ui tests 2019-11-18 19:00:10 +01:00
borrowck-borrow-mut-object-twice.rs Update ui test suite to use dyn 2019-05-29 00:57:31 -04:00
borrowck-borrow-mut-object-twice.stderr update tests for migrate mode by default 2019-04-22 08:40:08 +01:00
borrowck-borrow-of-mut-base-ptr-safe.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
borrowck-borrow-overloaded-auto-deref.rs Add help message for mutation though overloaded place operators 2019-07-07 15:24:19 +01:00
borrowck-borrow-overloaded-auto-deref.stderr Update ui tests 2019-11-18 19:00:10 +01:00
borrowck-borrow-overloaded-deref.rs Add help message for mutation though overloaded place operators 2019-07-07 15:24:19 +01:00
borrowck-borrow-overloaded-deref.stderr Update ui tests 2019-11-18 19:00:10 +01:00
borrowck-borrowed-uniq-rvalue-2.rs update tests for migrate mode by default 2019-04-22 08:40:08 +01:00
borrowck-borrowed-uniq-rvalue-2.stderr rustc_macros: don't limit the -Zmacro-backtrace suggestion to extern macros. 2020-02-06 21:46:38 +02:00
borrowck-borrowed-uniq-rvalue.rs update tests for migrate mode by default 2019-04-22 08:40:08 +01:00
borrowck-borrowed-uniq-rvalue.stderr update tests for migrate mode by default 2019-04-22 08:40:08 +01:00
borrowck-box-sensitivity.rs update tests for migrate mode by default 2019-04-22 08:40:08 +01:00
borrowck-break-uninit-2.rs Fixed grammar/style in error messages and reblessed tests. 2019-09-06 03:46:08 +01:00
borrowck-break-uninit-2.stderr Fixed grammar/style in error messages and reblessed tests. 2019-09-06 03:46:08 +01:00
borrowck-break-uninit.rs Fixed grammar/style in error messages and reblessed tests. 2019-09-06 03:46:08 +01:00
borrowck-break-uninit.stderr Fixed grammar/style in error messages and reblessed tests. 2019-09-06 03:46:08 +01:00
borrowck-closures-mut-and-imm.rs update tests for migrate mode by default 2019-04-22 08:40:08 +01:00
borrowck-closures-mut-and-imm.stderr update tests for migrate mode by default 2019-04-22 08:40:08 +01:00
borrowck-closures-mut-of-imm.rs update ui tests 2019-09-21 17:43:56 +02:00
borrowck-closures-mut-of-imm.stderr update ui tests 2019-09-21 17:43:56 +02:00
borrowck-closures-mut-of-mut.rs Add ui/borrowck/borrowck-closures-mut-of-mut.rs. 2018-11-05 15:26:02 +01:00
borrowck-closures-mut-of-mut.stderr update ui tests 2019-09-21 17:43:56 +02:00
borrowck-closures-slice-patterns-ok.rs slice_patterns: remove gates in tests 2020-01-18 19:33:47 +01:00
borrowck-closures-slice-patterns.rs slice_patterns: remove gates in tests 2020-01-18 19:33:47 +01:00
borrowck-closures-slice-patterns.stderr slice_patterns: remove gates in tests 2020-01-18 19:33:47 +01:00
borrowck-closures-two-imm.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
borrowck-closures-two-mut-fail.rs Remove licenses 2018-12-25 21:08:33 -07:00
borrowck-closures-two-mut-fail.stderr update tests for migrate mode by default 2019-04-22 08:40:08 +01:00
borrowck-closures-two-mut.rs Update tests 2019-05-03 03:11:37 -04:00
borrowck-closures-two-mut.stderr Update tests 2019-05-03 03:11:37 -04:00
borrowck-closures-unique-imm.rs Remove licenses 2018-12-25 21:08:33 -07:00
borrowck-closures-unique-imm.stderr update tests for migrate mode by default 2019-04-22 08:40:08 +01:00
borrowck-closures-unique.rs update tests for migrate mode by default 2019-04-22 08:40:08 +01:00
borrowck-closures-unique.stderr Update ui tests 2019-11-18 19:00:10 +01:00
borrowck-closures-use-after-free.rs Remove licenses 2018-12-25 21:08:33 -07:00
borrowck-closures-use-after-free.stderr rustc: collect upvars from HIR, instead of during name resolution. 2019-06-01 20:44:05 +03:00
borrowck-consume-unsize-vec.rs Remove licenses 2018-12-25 21:08:33 -07:00
borrowck-consume-unsize-vec.stderr update tests for migrate mode by default 2019-04-22 08:40:08 +01:00
borrowck-consume-upcast-box.rs Update ui test suite to use dyn 2019-05-29 00:57:31 -04:00
borrowck-consume-upcast-box.stderr Update ui test suite to use dyn 2019-05-29 00:57:31 -04:00
borrowck-describe-lvalue.rs slice_patterns: remove gates in tests 2020-01-18 19:33:47 +01:00
borrowck-describe-lvalue.stderr Display information about captured variable in FnMut error 2020-05-25 23:18:00 -04:00
borrowck-drop-from-guard.rs Remove licenses 2018-12-25 21:08:33 -07:00
borrowck-drop-from-guard.stderr Update tests 2019-03-11 23:10:26 +03:00
borrowck-escaping-closure-error-1.rs Remove licenses 2018-12-25 21:08:33 -07:00
borrowck-escaping-closure-error-1.stderr update tests for migrate mode by default 2019-04-22 08:40:08 +01:00
borrowck-escaping-closure-error-2.rs Update ui test suite to use dyn 2019-05-29 00:57:31 -04:00
borrowck-escaping-closure-error-2.stderr update tests for migrate mode by default 2019-04-22 08:40:08 +01:00
borrowck-feature-nll-overrides-migrate.edition.stderr Update tests for changes to cannot move errors 2019-06-03 14:55:29 +01:00
borrowck-feature-nll-overrides-migrate.rs Fix revision annotations in borrowck-feature-nll-overrides-migrate 2020-01-29 20:51:29 +01:00
borrowck-feature-nll-overrides-migrate.zflag.stderr Update tests for changes to cannot move errors 2019-06-03 14:55:29 +01:00
borrowck-field-sensitivity-rpass.rs tests: Move run-pass tests with naming conflicts to ui 2019-07-27 18:56:17 +03:00
borrowck-field-sensitivity.rs Fixed grammar/style in error messages and reblessed tests. 2019-09-06 03:46:08 +01:00
borrowck-field-sensitivity.stderr Fixed grammar/style in error messages and reblessed tests. 2019-09-06 03:46:08 +01:00
borrowck-fixed-length-vecs.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
borrowck-fn-in-const-a.rs Update tests for changes to cannot move errors 2019-06-03 14:55:29 +01:00
borrowck-fn-in-const-a.stderr Update tests for changes to cannot move errors 2019-06-03 14:55:29 +01:00
borrowck-fn-in-const-c.rs update tests for migrate mode by default 2019-04-22 08:40:08 +01:00
borrowck-fn-in-const-c.stderr update tests for migrate mode by default 2019-04-22 08:40:08 +01:00
borrowck-for-loop-correct-cmt-for-pattern.rs Remove licenses 2018-12-25 21:08:33 -07:00
borrowck-for-loop-correct-cmt-for-pattern.stderr Update tests for changes to cannot move errors 2019-06-03 14:55:29 +01:00
borrowck-for-loop-head-linkage.nll.stderr Change compare mode to use -Zborrowck=mir 2019-05-12 18:46:43 +01:00
borrowck-for-loop-head-linkage.rs Remove licenses 2018-12-25 21:08:33 -07:00
borrowck-for-loop-head-linkage.stderr update tests for migrate mode by default 2019-04-22 08:40:08 +01:00
borrowck-freeze-frozen-mut.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
borrowck-if-no-else.rs Fixed grammar/style in error messages and reblessed tests. 2019-09-06 03:46:08 +01:00
borrowck-if-no-else.stderr Fixed grammar/style in error messages and reblessed tests. 2019-09-06 03:46:08 +01:00
borrowck-if-with-else.rs Fixed grammar/style in error messages and reblessed tests. 2019-09-06 03:46:08 +01:00
borrowck-if-with-else.stderr Fixed grammar/style in error messages and reblessed tests. 2019-09-06 03:46:08 +01:00
borrowck-imm-ref-to-mut-rec-field-issue-3162-c.rs update tests for migrate mode by default 2019-04-22 08:40:08 +01:00
borrowck-imm-ref-to-mut-rec-field-issue-3162-c.stderr update tests for migrate mode by default 2019-04-22 08:40:08 +01:00
borrowck-in-static.rs Update tests for changes to cannot move errors 2019-06-03 14:55:29 +01:00
borrowck-in-static.stderr Update tests for changes to cannot move errors 2019-06-03 14:55:29 +01:00
borrowck-init-in-called-fn-expr.rs Fixed grammar/style in error messages and reblessed tests. 2019-09-06 03:46:08 +01:00
borrowck-init-in-called-fn-expr.stderr Fixed grammar/style in error messages and reblessed tests. 2019-09-06 03:46:08 +01:00
borrowck-init-in-fn-expr.rs Fixed grammar/style in error messages and reblessed tests. 2019-09-06 03:46:08 +01:00
borrowck-init-in-fn-expr.stderr Fixed grammar/style in error messages and reblessed tests. 2019-09-06 03:46:08 +01:00
borrowck-init-in-fru.rs Fixed grammar/style in error messages and reblessed tests. 2019-09-06 03:46:08 +01:00
borrowck-init-in-fru.stderr Evaluate borrow and struct expressions in into 2019-11-11 22:06:54 +00:00
borrowck-init-op-equal.rs Fixed grammar/style in error messages and reblessed tests. 2019-09-06 03:46:08 +01:00
borrowck-init-op-equal.stderr Fixed grammar/style in error messages and reblessed tests. 2019-09-06 03:46:08 +01:00
borrowck-init-plus-equal.rs Fixed grammar/style in error messages and reblessed tests. 2019-09-06 03:46:08 +01:00
borrowck-init-plus-equal.stderr Fixed grammar/style in error messages and reblessed tests. 2019-09-06 03:46:08 +01:00
borrowck-insert-during-each.rs update tests for migrate mode by default 2019-04-22 08:40:08 +01:00
borrowck-insert-during-each.stderr update tests for migrate mode by default 2019-04-22 08:40:08 +01:00
borrowck-issue-2657-1.rs Remove licenses 2018-12-25 21:08:33 -07:00
borrowck-issue-2657-1.stderr update tests for migrate mode by default 2019-04-22 08:40:08 +01:00
borrowck-issue-2657-2.rs Remove licenses 2018-12-25 21:08:33 -07:00
borrowck-issue-2657-2.stderr Remove asterisk suggestion for move errors in borrowck 2019-06-04 13:31:40 -04:00
borrowck-issue-14498.rs update tests for migrate mode by default 2019-04-22 08:40:08 +01:00
borrowck-issue-14498.stderr Update ui tests 2019-11-18 19:00:10 +01:00
borrowck-issue-48962.rs Remove feature(nll) when compare mode is sufficient 2019-05-12 18:46:43 +01:00
borrowck-issue-48962.stderr Remove feature(nll) when compare mode is sufficient 2019-05-12 18:46:43 +01:00
borrowck-lend-args.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
borrowck-lend-flow-if.rs Remove licenses 2018-12-25 21:08:33 -07:00
borrowck-lend-flow-if.stderr update tests for migrate mode by default 2019-04-22 08:40:08 +01:00
borrowck-lend-flow-loop.rs update tests for migrate mode by default 2019-04-22 08:40:08 +01:00
borrowck-lend-flow-loop.stderr update tests for migrate mode by default 2019-04-22 08:40:08 +01:00
borrowck-lend-flow-match.rs update tests for migrate mode by default 2019-04-22 08:40:08 +01:00
borrowck-lend-flow-match.stderr update tests for migrate mode by default 2019-04-22 08:40:08 +01:00
borrowck-lend-flow.rs Remove licenses 2018-12-25 21:08:33 -07:00
borrowck-lend-flow.stderr update tests for migrate mode by default 2019-04-22 08:40:08 +01:00
borrowck-loan-blocks-move-cc.rs update tests for migrate mode by default 2019-04-22 08:40:08 +01:00
borrowck-loan-blocks-move-cc.stderr update tests for migrate mode by default 2019-04-22 08:40:08 +01:00
borrowck-loan-blocks-move.rs Remove licenses 2018-12-25 21:08:33 -07:00
borrowck-loan-blocks-move.stderr update tests for migrate mode by default 2019-04-22 08:40:08 +01:00
borrowck-loan-blocks-mut-uniq.rs Remove licenses 2018-12-25 21:08:33 -07:00
borrowck-loan-blocks-mut-uniq.stderr update tests for migrate mode by default 2019-04-22 08:40:08 +01:00
borrowck-loan-in-overloaded-op.rs update tests for migrate mode by default 2019-04-22 08:40:08 +01:00
borrowck-loan-in-overloaded-op.stderr update tests for migrate mode by default 2019-04-22 08:40:08 +01:00
borrowck-loan-of-static-data-issue-27616.rs Remove licenses 2018-12-25 21:08:33 -07:00
borrowck-loan-of-static-data-issue-27616.stderr update tests for migrate mode by default 2019-04-22 08:40:08 +01:00
borrowck-loan-rcvr-overloaded-op.rs Remove licenses 2018-12-25 21:08:33 -07:00
borrowck-loan-rcvr-overloaded-op.stderr update tests for migrate mode by default 2019-04-22 08:40:08 +01:00
borrowck-loan-rcvr.rs Remove licenses 2018-12-25 21:08:33 -07:00
borrowck-loan-rcvr.stderr update tests for migrate mode by default 2019-04-22 08:40:08 +01:00
borrowck-loan-vec-content.rs Remove licenses 2018-12-25 21:08:33 -07:00
borrowck-loan-vec-content.stderr update tests for migrate mode by default 2019-04-22 08:40:08 +01:00
borrowck-local-borrow-outlives-fn.rs update tests for migrate mode by default 2019-04-22 08:40:08 +01:00
borrowck-local-borrow-outlives-fn.stderr update tests for migrate mode by default 2019-04-22 08:40:08 +01:00
borrowck-local-borrow-with-panic-outlives-fn.rs update tests for migrate mode by default 2019-04-22 08:40:08 +01:00
borrowck-local-borrow-with-panic-outlives-fn.stderr update tests for migrate mode by default 2019-04-22 08:40:08 +01:00
borrowck-local-borrow.rs Skip tests on emscripten 2020-05-08 00:39:02 +09:00
borrowck-macro-interaction-issue-6304.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
borrowck-match-already-borrowed.rs update tests for migrate mode by default 2019-04-22 08:40:08 +01:00
borrowck-match-already-borrowed.stderr update tests for migrate mode by default 2019-04-22 08:40:08 +01:00
borrowck-match-binding-is-assignment.rs update tests for migrate mode by default 2019-04-22 08:40:08 +01:00
borrowck-match-binding-is-assignment.stderr update tests for migrate mode by default 2019-04-22 08:40:08 +01:00
borrowck-move-by-capture-ok.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
borrowck-move-by-capture.rs Remove licenses 2018-12-25 21:08:33 -07:00
borrowck-move-by-capture.stderr Update tests for changes to cannot move errors 2019-06-03 14:55:29 +01:00
borrowck-move-error-with-note.rs Update tests for changes to cannot move errors 2019-06-03 14:55:29 +01:00
borrowck-move-error-with-note.stderr Tweak move error due to non-Copy 2019-11-25 13:30:52 -08:00
borrowck-move-from-subpath-of-borrowed-path.rs Remove licenses 2018-12-25 21:08:33 -07:00
borrowck-move-from-subpath-of-borrowed-path.stderr update tests for migrate mode by default 2019-04-22 08:40:08 +01:00
borrowck-move-from-unsafe-ptr.rs Update tests for changes to cannot move errors 2019-06-03 14:55:29 +01:00
borrowck-move-from-unsafe-ptr.stderr Remove asterisk suggestion for move errors in borrowck 2019-06-04 13:31:40 -04:00
borrowck-move-in-irrefut-pat.rs update tests for migrate mode by default 2019-04-22 08:40:08 +01:00
borrowck-move-in-irrefut-pat.stderr Update tests for changes to cannot move errors 2019-06-03 14:55:29 +01:00
borrowck-move-moved-value-into-closure.rs update tests for migrate mode by default 2019-04-22 08:40:08 +01:00
borrowck-move-moved-value-into-closure.stderr update tests for migrate mode by default 2019-04-22 08:40:08 +01:00
borrowck-move-mut-base-ptr.rs Remove licenses 2018-12-25 21:08:33 -07:00
borrowck-move-mut-base-ptr.stderr update tests for migrate mode by default 2019-04-22 08:40:08 +01:00
borrowck-move-out-from-array-match.rs slice_patterns: remove gates in tests 2020-01-18 19:33:47 +01:00
borrowck-move-out-from-array-match.stderr slice_patterns: remove gates in tests 2020-01-18 19:33:47 +01:00
borrowck-move-out-from-array-no-overlap-match.rs slice_patterns: remove gates in tests 2020-01-18 19:33:47 +01:00
borrowck-move-out-from-array-no-overlap-match.stderr slice_patterns: remove gates in tests 2020-01-18 19:33:47 +01:00
borrowck-move-out-from-array-no-overlap.rs slice_patterns: remove gates in tests 2020-01-18 19:33:47 +01:00
borrowck-move-out-from-array-use-match.rs slice_patterns: remove gates in tests 2020-01-18 19:33:47 +01:00
borrowck-move-out-from-array-use-match.stderr slice_patterns: remove gates in tests 2020-01-18 19:33:47 +01:00
borrowck-move-out-from-array-use-no-overlap-match.rs slice_patterns: remove gates in tests 2020-01-18 19:33:47 +01:00
borrowck-move-out-from-array-use-no-overlap-match.stderr slice_patterns: remove gates in tests 2020-01-18 19:33:47 +01:00
borrowck-move-out-from-array-use-no-overlap.rs slice_patterns: remove gates in tests 2020-01-18 19:33:47 +01:00
borrowck-move-out-from-array-use.rs slice_patterns: remove gates in tests 2020-01-18 19:33:47 +01:00
borrowck-move-out-from-array-use.stderr slice_patterns: remove gates in tests 2020-01-18 19:33:47 +01:00
borrowck-move-out-from-array.rs slice_patterns: remove gates in tests 2020-01-18 19:33:47 +01:00
borrowck-move-out-from-array.stderr slice_patterns: remove gates in tests 2020-01-18 19:33:47 +01:00
borrowck-move-out-of-overloaded-auto-deref.rs update tests for migrate mode by default 2019-04-22 08:40:08 +01:00
borrowck-move-out-of-overloaded-auto-deref.stderr Update tests for changes to cannot move errors 2019-06-03 14:55:29 +01:00
borrowck-move-out-of-overloaded-deref.rs update tests for migrate mode by default 2019-04-22 08:40:08 +01:00
borrowck-move-out-of-overloaded-deref.stderr Remove asterisk suggestion for move errors in borrowck 2019-06-04 13:31:40 -04:00
borrowck-move-out-of-static-item.rs Update tests for changes to cannot move errors 2019-06-03 14:55:29 +01:00
borrowck-move-out-of-static-item.stderr Update tests for changes to cannot move errors 2019-06-03 14:55:29 +01:00
borrowck-move-out-of-struct-with-dtor.rs update tests for migrate mode by default 2019-04-22 08:40:08 +01:00
borrowck-move-out-of-struct-with-dtor.stderr Update tests for changes to cannot move errors 2019-06-03 14:55:29 +01:00
borrowck-move-out-of-tuple-struct-with-dtor.rs update tests for migrate mode by default 2019-04-22 08:40:08 +01:00
borrowck-move-out-of-tuple-struct-with-dtor.stderr Update tests for changes to cannot move errors 2019-06-03 14:55:29 +01:00
borrowck-move-out-of-vec-tail.rs slice_patterns: remove gates in tests 2020-01-18 19:33:47 +01:00
borrowck-move-out-of-vec-tail.stderr slice_patterns: remove gates in tests 2020-01-18 19:33:47 +01:00
borrowck-move-subcomponent.rs Remove licenses 2018-12-25 21:08:33 -07:00
borrowck-move-subcomponent.stderr update tests for migrate mode by default 2019-04-22 08:40:08 +01:00
borrowck-multiple-borrows-interior-boxes.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
borrowck-multiple-captures.rs update tests for migrate mode by default 2019-04-22 08:40:08 +01:00
borrowck-multiple-captures.stderr update tests for migrate mode by default 2019-04-22 08:40:08 +01:00
borrowck-mut-addr-of-imm-var.rs Remove licenses 2018-12-25 21:08:33 -07:00
borrowck-mut-addr-of-imm-var.stderr update tests for migrate mode by default 2019-04-22 08:40:08 +01:00
borrowck-mut-borrow-linear-errors.rs update tests for migrate mode by default 2019-04-22 08:40:08 +01:00
borrowck-mut-borrow-linear-errors.stderr Create fewer basic blocks in match MIR lowering 2019-06-13 21:05:21 +01:00
borrowck-mut-borrow-of-mut-base-ptr.rs Remove licenses 2018-12-25 21:08:33 -07:00
borrowck-mut-borrow-of-mut-base-ptr.stderr update tests for migrate mode by default 2019-04-22 08:40:08 +01:00
borrowck-mut-slice-of-imm-vec.rs Remove licenses 2018-12-25 21:08:33 -07:00
borrowck-mut-slice-of-imm-vec.stderr update tests for migrate mode by default 2019-04-22 08:40:08 +01:00
borrowck-mut-uniq.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
borrowck-mut-vec-as-imm-slice.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
borrowck-mutate-in-guard.rs Update tests wrt. bind_by_by_move_pattern_guards stabilization. 2019-09-08 01:39:24 +02:00
borrowck-mutate-in-guard.stderr Update tests wrt. bind_by_by_move_pattern_guards stabilization. 2019-09-08 01:39:24 +02:00
borrowck-no-cycle-in-exchange-heap.rs Remove licenses 2018-12-25 21:08:33 -07:00
borrowck-no-cycle-in-exchange-heap.stderr update tests for migrate mode by default 2019-04-22 08:40:08 +01:00
borrowck-object-lifetime.nll.stderr Change compare mode to use -Zborrowck=mir 2019-05-12 18:46:43 +01:00
borrowck-object-lifetime.rs Update ui test suite to use dyn 2019-05-29 00:57:31 -04:00
borrowck-object-lifetime.stderr update tests for migrate mode by default 2019-04-22 08:40:08 +01:00
borrowck-or-init.rs Fixed grammar/style in error messages and reblessed tests. 2019-09-06 03:46:08 +01:00
borrowck-or-init.stderr Fixed grammar/style in error messages and reblessed tests. 2019-09-06 03:46:08 +01:00
borrowck-overloaded-call.rs update tests for migrate mode by default 2019-04-22 08:40:08 +01:00
borrowck-overloaded-call.stderr update tests for migrate mode by default 2019-04-22 08:40:08 +01:00
borrowck-overloaded-index-and-overloaded-deref.rs update tests for migrate mode by default 2019-04-22 08:40:08 +01:00
borrowck-overloaded-index-and-overloaded-deref.stderr update tests for migrate mode by default 2019-04-22 08:40:08 +01:00
borrowck-overloaded-index-autoderef.rs Remove licenses 2018-12-25 21:08:33 -07:00
borrowck-overloaded-index-autoderef.stderr update tests for migrate mode by default 2019-04-22 08:40:08 +01:00
borrowck-overloaded-index-move-from-vec.rs Update tests for changes to cannot move errors 2019-06-03 14:55:29 +01:00
borrowck-overloaded-index-move-from-vec.stderr Update tests for changes to cannot move errors 2019-06-03 14:55:29 +01:00
borrowck-overloaded-index-move-index.rs Remove licenses 2018-12-25 21:08:33 -07:00
borrowck-overloaded-index-move-index.stderr update tests for migrate mode by default 2019-04-22 08:40:08 +01:00
borrowck-overloaded-index-ref-index.rs Add help message for mutation though overloaded place operators 2019-07-07 15:24:19 +01:00
borrowck-overloaded-index-ref-index.stderr Update ui tests 2019-11-18 19:00:10 +01:00
borrowck-partial-reinit-1.rs update tests for migrate mode by default 2019-04-22 08:40:08 +01:00
borrowck-partial-reinit-1.stderr update tests for migrate mode by default 2019-04-22 08:40:08 +01:00
borrowck-partial-reinit-2.rs update tests for migrate mode by default 2019-04-22 08:40:08 +01:00
borrowck-partial-reinit-2.stderr update tests for migrate mode by default 2019-04-22 08:40:08 +01:00
borrowck-partial-reinit-3.rs update tests for migrate mode by default 2019-04-22 08:40:08 +01:00
borrowck-partial-reinit-3.stderr update tests for migrate mode by default 2019-04-22 08:40:08 +01:00
borrowck-partial-reinit-4.rs Fixed grammar/style in error messages and reblessed tests. 2019-09-06 03:46:08 +01:00
borrowck-partial-reinit-4.stderr Fixed grammar/style in error messages and reblessed tests. 2019-09-06 03:46:08 +01:00
borrowck-pat-enum.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
borrowck-pat-reassign-binding.rs update tests for migrate mode by default 2019-04-22 08:40:08 +01:00
borrowck-pat-reassign-binding.stderr update tests for migrate mode by default 2019-04-22 08:40:08 +01:00
borrowck-pat-reassign-no-binding.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
borrowck-reborrow-from-mut.rs Remove licenses 2018-12-25 21:08:33 -07:00
borrowck-reborrow-from-mut.stderr update tests for migrate mode by default 2019-04-22 08:40:08 +01:00
borrowck-reborrow-from-shorter-lived-andmut.nll.stderr update tests 2019-10-27 09:39:14 -05:00
borrowck-reborrow-from-shorter-lived-andmut.rs Remove licenses 2018-12-25 21:08:33 -07:00
borrowck-reborrow-from-shorter-lived-andmut.stderr Update ui tests 2019-11-07 13:02:34 +01:00
borrowck-ref-mut-of-imm.rs Remove licenses 2018-12-25 21:08:33 -07:00
borrowck-ref-mut-of-imm.stderr update tests for migrate mode by default 2019-04-22 08:40:08 +01:00
borrowck-reinit.rs Update tests 2019-05-03 03:11:37 -04:00
borrowck-reinit.stderr Update tests 2019-05-03 03:11:37 -04:00
borrowck-report-with-custom-diagnostic.rs Remove licenses 2018-12-25 21:08:33 -07:00
borrowck-report-with-custom-diagnostic.stderr update tests for migrate mode by default 2019-04-22 08:40:08 +01:00
borrowck-return-variable-on-stack-via-clone.rs update tests for migrate mode by default 2019-04-22 08:40:08 +01:00
borrowck-return-variable-on-stack-via-clone.stderr update tests for migrate mode by default 2019-04-22 08:40:08 +01:00
borrowck-return.rs Fixed grammar/style in error messages and reblessed tests. 2019-09-06 03:46:08 +01:00
borrowck-return.stderr Fixed grammar/style in error messages and reblessed tests. 2019-09-06 03:46:08 +01:00
borrowck-rvalues-mutable.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
borrowck-scope-of-deref-issue-4666.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
borrowck-slice-pattern-element-loan-array-no-overlap.rs slice_patterns: remove gates in tests 2020-01-18 19:33:47 +01:00
borrowck-slice-pattern-element-loan-array.rs slice_patterns: remove gates in tests 2020-01-18 19:33:47 +01:00
borrowck-slice-pattern-element-loan-array.stderr slice_patterns: remove gates in tests 2020-01-18 19:33:47 +01:00
borrowck-slice-pattern-element-loan-rpass.rs slice_patterns: address review comments 2020-01-18 19:33:47 +01:00
borrowck-slice-pattern-element-loan-slice-no-overlap.rs slice_patterns: remove gates in tests 2020-01-18 19:33:47 +01:00
borrowck-slice-pattern-element-loan-slice.rs slice_patterns: remove gates in tests 2020-01-18 19:33:47 +01:00
borrowck-slice-pattern-element-loan-slice.stderr slice_patterns: remove gates in tests 2020-01-18 19:33:47 +01:00
borrowck-static-item-in-fn.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
borrowck-storage-dead.rs Update tests 2019-05-03 03:11:37 -04:00
borrowck-storage-dead.stderr Fixed grammar/style in error messages and reblessed tests. 2019-09-06 03:46:08 +01:00
borrowck-struct-update-with-dtor.rs update tests for migrate mode by default 2019-04-22 08:40:08 +01:00
borrowck-struct-update-with-dtor.stderr Update tests for changes to cannot move errors 2019-06-03 14:55:29 +01:00
borrowck-swap-mut-base-ptr.rs Remove licenses 2018-12-25 21:08:33 -07:00
borrowck-swap-mut-base-ptr.stderr update tests for migrate mode by default 2019-04-22 08:40:08 +01:00
borrowck-thread-local-static-borrow-outlives-fn.rs update tests for migrate mode by default 2019-04-22 08:40:08 +01:00
borrowck-thread-local-static-borrow-outlives-fn.stderr update tests for migrate mode by default 2019-04-22 08:40:08 +01:00
borrowck-trait-lifetime.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
borrowck-unary-move.rs update tests for migrate mode by default 2019-04-22 08:40:08 +01:00
borrowck-unary-move.stderr update tests for migrate mode by default 2019-04-22 08:40:08 +01:00
borrowck-unboxed-closures.rs update tests for migrate mode by default 2019-04-22 08:40:08 +01:00
borrowck-unboxed-closures.stderr Explain move errors that occur due to method calls involving self 2020-06-11 17:40:40 -04:00
borrowck-uninit-after-item.rs Fixed grammar/style in error messages and reblessed tests. 2019-09-06 03:46:08 +01:00
borrowck-uninit-after-item.stderr Fixed grammar/style in error messages and reblessed tests. 2019-09-06 03:46:08 +01:00
borrowck-uninit-field-access.rs update tests for migrate mode by default 2019-04-22 08:40:08 +01:00
borrowck-uninit-field-access.stderr Fixed grammar/style in error messages and reblessed tests. 2019-09-06 03:46:08 +01:00
borrowck-uninit-in-assignop.rs Fixed grammar/style in error messages and reblessed tests. 2019-09-06 03:46:08 +01:00
borrowck-uninit-in-assignop.stderr Fixed grammar/style in error messages and reblessed tests. 2019-09-06 03:46:08 +01:00
borrowck-uninit-ref-chain.rs Fixed grammar/style in error messages and reblessed tests. 2019-09-06 03:46:08 +01:00
borrowck-uninit-ref-chain.stderr Fixed grammar/style in error messages and reblessed tests. 2019-09-06 03:46:08 +01:00
borrowck-uninit.rs Fixed grammar/style in error messages and reblessed tests. 2019-09-06 03:46:08 +01:00
borrowck-uninit.stderr Fixed grammar/style in error messages and reblessed tests. 2019-09-06 03:46:08 +01:00
borrowck-union-borrow-nested.rs Remove licenses 2018-12-25 21:08:33 -07:00
borrowck-union-borrow-nested.stderr update tests for migrate mode by default 2019-04-22 08:40:08 +01:00
borrowck-union-borrow.rs update tests for migrate mode by default 2019-04-22 08:40:08 +01:00
borrowck-union-borrow.stderr update tests for migrate mode by default 2019-04-22 08:40:08 +01:00
borrowck-union-move-assign.rs update tests for migrate mode by default 2019-04-22 08:40:08 +01:00
borrowck-union-move-assign.stderr update tests for migrate mode by default 2019-04-22 08:40:08 +01:00
borrowck-union-move.rs update tests for migrate mode by default 2019-04-22 08:40:08 +01:00
borrowck-union-move.stderr update tests for migrate mode by default 2019-04-22 08:40:08 +01:00
borrowck-union-uninitialized.rs Fixed grammar/style in error messages and reblessed tests. 2019-09-06 03:46:08 +01:00
borrowck-union-uninitialized.stderr Fixed grammar/style in error messages and reblessed tests. 2019-09-06 03:46:08 +01:00
borrowck-uniq-via-lend.rs Remove licenses 2018-12-25 21:08:33 -07:00
borrowck-uniq-via-lend.stderr update tests for migrate mode by default 2019-04-22 08:40:08 +01:00
borrowck-uniq-via-ref.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
borrowck-univariant-enum.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
borrowck-unsafe-static-mutable-borrows.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
borrowck-unused-mut-locals.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
borrowck-use-in-index-lvalue.rs update tests for migrate mode by default 2019-04-22 08:40:08 +01:00
borrowck-use-in-index-lvalue.stderr Fixed grammar/style in error messages and reblessed tests. 2019-09-06 03:46:08 +01:00
borrowck-use-mut-borrow-rpass.rs tests: Move run-pass tests with naming conflicts to ui 2019-07-27 18:56:17 +03:00
borrowck-use-mut-borrow.rs Remove licenses 2018-12-25 21:08:33 -07:00
borrowck-use-mut-borrow.stderr update tests for migrate mode by default 2019-04-22 08:40:08 +01:00
borrowck-use-uninitialized-in-cast-trait.rs Update ui test suite to use dyn 2019-05-29 00:57:31 -04:00
borrowck-use-uninitialized-in-cast-trait.stderr Fixed grammar/style in error messages and reblessed tests. 2019-09-06 03:46:08 +01:00
borrowck-use-uninitialized-in-cast.rs update tests for migrate mode by default 2019-04-22 08:40:08 +01:00
borrowck-use-uninitialized-in-cast.stderr Fixed grammar/style in error messages and reblessed tests. 2019-09-06 03:46:08 +01:00
borrowck-vec-pattern-element-loan.rs slice_patterns: remove gates in tests 2020-01-18 19:33:47 +01:00
borrowck-vec-pattern-element-loan.stderr slice_patterns: remove gates in tests 2020-01-18 19:33:47 +01:00
borrowck-vec-pattern-loan-from-mut.rs slice_patterns: remove gates in tests 2020-01-18 19:33:47 +01:00
borrowck-vec-pattern-loan-from-mut.stderr slice_patterns: remove gates in tests 2020-01-18 19:33:47 +01:00
borrowck-vec-pattern-move-tail.rs slice_patterns: remove gates in tests 2020-01-18 19:33:47 +01:00
borrowck-vec-pattern-move-tail.stderr slice_patterns: remove gates in tests 2020-01-18 19:33:47 +01:00
borrowck-vec-pattern-nesting.rs slice_patterns: remove gates in tests 2020-01-18 19:33:47 +01:00
borrowck-vec-pattern-nesting.stderr slice_patterns: remove gates in tests 2020-01-18 19:33:47 +01:00
borrowck-vec-pattern-tail-element-loan.rs slice_patterns: remove gates in tests 2020-01-18 19:33:47 +01:00
borrowck-vec-pattern-tail-element-loan.stderr slice_patterns: remove gates in tests 2020-01-18 19:33:47 +01:00
borrowck-while-break.rs Fixed grammar/style in error messages and reblessed tests. 2019-09-06 03:46:08 +01:00
borrowck-while-break.stderr Fixed grammar/style in error messages and reblessed tests. 2019-09-06 03:46:08 +01:00
borrowck-while-cond.rs Fixed grammar/style in error messages and reblessed tests. 2019-09-06 03:46:08 +01:00
borrowck-while-cond.stderr Fixed grammar/style in error messages and reblessed tests. 2019-09-06 03:46:08 +01:00
borrowck-while.rs Fixed grammar/style in error messages and reblessed tests. 2019-09-06 03:46:08 +01:00
borrowck-while.stderr Fixed grammar/style in error messages and reblessed tests. 2019-09-06 03:46:08 +01:00
disallow-possibly-uninitialized.rs Fixed grammar/style in error messages and reblessed tests. 2019-09-06 03:46:08 +01:00
disallow-possibly-uninitialized.stderr Fixed grammar/style in error messages and reblessed tests. 2019-09-06 03:46:08 +01:00
immutable-arg.rs Update tests 2019-05-03 03:11:37 -04:00
immutable-arg.stderr Update tests 2019-05-03 03:11:37 -04:00
index-mut-help-with-impl.rs Remove licenses 2018-12-25 21:08:33 -07:00
index-mut-help-with-impl.stderr Add help message for mutation though overloaded place operators 2019-07-07 15:24:19 +01:00
index-mut-help.rs Remove licenses 2018-12-25 21:08:33 -07:00
index-mut-help.stderr Update ui tests 2019-11-18 19:00:10 +01:00
issue-7573.rs Update tests 2020-05-22 18:03:08 +01:00
issue-7573.stderr Update tests 2020-05-22 18:03:08 +01:00
issue-10876.rs Update test stderr with results of enabling unused lints 2019-09-08 11:32:28 -04:00
issue-27282-mutation-in-guard.rs Add tests for #27282, #31287 as hard errors. 2019-07-30 06:43:06 +02:00
issue-27282-mutation-in-guard.stderr Add tests for #27282, #31287 as hard errors. 2019-07-30 06:43:06 +02:00
issue-31287-drop-in-guard.rs Add tests for #27282, #31287 as hard errors. 2019-07-30 06:43:06 +02:00
issue-31287-drop-in-guard.stderr Add tests for #27282, #31287 as hard errors. 2019-07-30 06:43:06 +02:00
issue-41962.rs Update tests 2019-05-03 03:11:37 -04:00
issue-41962.stderr Update tests 2019-05-03 03:11:37 -04:00
issue-45983.rs Update tests 2020-05-22 18:03:08 +01:00
issue-45983.stderr Update tests 2020-05-22 18:03:08 +01:00
issue-47215-ice-from-drop-elab.rs Update tests for changes to cannot move errors 2019-06-03 14:55:29 +01:00
issue-47215-ice-from-drop-elab.stderr Update tests for changes to cannot move errors 2019-06-03 14:55:29 +01:00
issue-51117.rs Remove licenses 2018-12-25 21:08:33 -07:00
issue-51117.stderr update tests for migrate mode by default 2019-04-22 08:40:08 +01:00
issue-51348-multi-ref-mut-in-guard.rs Remove feature(nll) when compare mode is sufficient 2019-05-12 18:46:43 +01:00
issue-51415.rs Remove licenses 2018-12-25 21:08:33 -07:00
issue-51415.stderr Update tests for changes to cannot move errors 2019-06-03 14:55:29 +01:00
issue-52713-bug.rs Remove feature(nll) when compare mode is sufficient 2019-05-12 18:46:43 +01:00
issue-52713-bug.stderr Remove feature(nll) when compare mode is sufficient 2019-05-12 18:46:43 +01:00
issue-52967-edition-2018-needs-two-phase-borrows.rs update tests for migrate mode by default 2019-04-22 08:40:08 +01:00
issue-53432-nested-closure-outlives-borrowed-value.rs add test for #53432. 2019-09-26 06:44:57 +02:00
issue-53432-nested-closure-outlives-borrowed-value.stderr add test for #53432. 2019-09-26 06:44:57 +02:00
issue-54499-field-mutation-marks-mut-as-used.rs Fixed grammar/style in error messages and reblessed tests. 2019-09-06 03:46:08 +01:00
issue-54499-field-mutation-marks-mut-as-used.stderr Fixed grammar/style in error messages and reblessed tests. 2019-09-06 03:46:08 +01:00
issue-54499-field-mutation-of-moved-out-with-mut.rs update tests for migrate mode by default 2019-04-22 08:40:08 +01:00
issue-54499-field-mutation-of-moved-out-with-mut.stderr update tests for migrate mode by default 2019-04-22 08:40:08 +01:00
issue-54499-field-mutation-of-moved-out.rs update tests for migrate mode by default 2019-04-22 08:40:08 +01:00
issue-54499-field-mutation-of-moved-out.stderr Update ui tests 2019-11-18 19:00:10 +01:00
issue-54499-field-mutation-of-never-init.rs Fixed grammar/style in error messages and reblessed tests. 2019-09-06 03:46:08 +01:00
issue-54499-field-mutation-of-never-init.stderr Fixed grammar/style in error messages and reblessed tests. 2019-09-06 03:46:08 +01:00
issue-54597-reject-move-out-of-borrow-via-pat.rs Update tests for changes to cannot move errors 2019-06-03 14:55:29 +01:00
issue-54597-reject-move-out-of-borrow-via-pat.stderr Remove asterisk suggestion for move errors in borrowck 2019-06-04 13:31:40 -04:00
issue-55492-borrowck-migrate-scans-parents.migrate.stderr Update ui tests 2019-11-18 19:00:10 +01:00
issue-55492-borrowck-migrate-scans-parents.nll.stderr Update ui tests 2019-11-18 19:00:10 +01:00
issue-55492-borrowck-migrate-scans-parents.rs update tests for migrate mode by default 2019-04-22 08:40:08 +01:00
issue-55552-ascribe-wildcard-to-structured-pattern.rs Use check-pass in ui tests where appropriate 2019-11-04 16:03:46 +01:00
issue-58776-borrowck-scans-children.migrate.stderr update tests for migrate mode by default 2019-04-22 08:40:08 +01:00
issue-58776-borrowck-scans-children.rs Remove feature(nll) when compare mode is sufficient 2019-05-12 18:46:43 +01:00
issue-58776-borrowck-scans-children.stderr Remove feature(nll) when compare mode is sufficient 2019-05-12 18:46:43 +01:00
issue-62007-assign-box.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
issue-62007-assign-field.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
issue-62107-match-arm-scopes.rs Fixed grammar/style in error messages and reblessed tests. 2019-09-06 03:46:08 +01:00
issue-62107-match-arm-scopes.stderr Fixed grammar/style in error messages and reblessed tests. 2019-09-06 03:46:08 +01:00
issue-64453.rs Bless const tests with improved diagnostics 2019-11-13 10:44:14 -08:00
issue-64453.stderr --bless --compare-mode=nll 2020-02-09 20:43:49 +01:00
issue-69789-iterator-mut-suggestion.rs Fix invalid suggestion on &mut iterators yielding & references 2020-03-22 18:37:34 +09:00
issue-69789-iterator-mut-suggestion.stderr Fix invalid suggestion on &mut iterators yielding & references 2020-03-22 18:37:34 +09:00
move-error-in-promoted-2.rs Report cannot move errors in promoted MIR 2020-05-02 11:11:17 +01:00
move-error-in-promoted-2.stderr Report cannot move errors in promoted MIR 2020-05-02 11:11:17 +01:00
move-error-in-promoted.rs Report cannot move errors in promoted MIR 2020-05-02 11:11:17 +01:00
move-error-in-promoted.stderr Report cannot move errors in promoted MIR 2020-05-02 11:11:17 +01:00
move-error-snippets-ext.rs Don't unwrap the result of span_to_snippet 2019-08-24 18:25:34 +01:00
move-error-snippets.rs Don't unwrap the result of span_to_snippet 2019-08-24 18:25:34 +01:00
move-error-snippets.stderr parser: token -> normalized_token, nonnormalized_token -> token 2020-02-24 13:04:13 +03:00
move-from-union-field-issue-66500.rs Don't suppress move errors for union fields 2019-12-19 20:28:57 +00:00
move-from-union-field-issue-66500.stderr Don't suppress move errors for union fields 2019-12-19 20:28:57 +00:00
move-in-static-initializer-issue-38520.rs update tests for migrate mode by default 2019-04-22 08:40:08 +01:00
move-in-static-initializer-issue-38520.stderr Update tests for changes to cannot move errors 2019-06-03 14:55:29 +01:00
mut-borrow-in-loop.rs Make WhileTrue into an EarlyLintPass lint. 2019-07-06 06:43:58 +02:00
mut-borrow-in-loop.stderr rustc: Add a warning count upon completion 2020-04-11 16:15:24 +02:00
mut-borrow-of-mut-ref.rs Remove licenses 2018-12-25 21:08:33 -07:00
mut-borrow-of-mut-ref.stderr update tests for migrate mode by default 2019-04-22 08:40:08 +01:00
mut-borrow-outside-loop.rs Remove licenses 2018-12-25 21:08:33 -07:00
mut-borrow-outside-loop.stderr update tests for migrate mode by default 2019-04-22 08:40:08 +01:00
mutability-errors.rs update tests for migrate mode by default 2019-04-22 08:40:08 +01:00
mutability-errors.stderr Tweak borrow error on FnMut when Fn is expected 2020-02-03 18:02:44 -08:00
or-patterns.rs Add more tests for or-patterns 2020-02-03 19:42:15 +00:00
or-patterns.stderr Add more tests for or-patterns 2020-02-03 19:42:15 +00:00
promote-ref-mut-in-let-issue-46557.rs update tests for migrate mode by default 2019-04-22 08:40:08 +01:00
promote-ref-mut-in-let-issue-46557.stderr update tests for migrate mode by default 2019-04-22 08:40:08 +01:00
reassignment_immutable_fields.rs update tests for migrate mode by default 2019-04-22 08:40:08 +01:00
reassignment_immutable_fields.stderr Fixed grammar/style in error messages and reblessed tests. 2019-09-06 03:46:08 +01:00
reassignment_immutable_fields_overlapping.rs Remove licenses 2018-12-25 21:08:33 -07:00
reassignment_immutable_fields_overlapping.stderr Update ui tests 2019-11-18 19:00:10 +01:00
reassignment_immutable_fields_twice.rs update tests for migrate mode by default 2019-04-22 08:40:08 +01:00
reassignment_immutable_fields_twice.stderr Update ui tests 2019-11-18 19:00:10 +01:00
regions-bound-missing-bound-in-impl.rs Update tests 2020-01-09 21:23:12 +03:00
regions-bound-missing-bound-in-impl.stderr Update tests 2020-01-09 21:23:12 +03:00
regions-escape-bound-fn-2.rs Update tests 2020-05-22 18:03:08 +01:00
regions-escape-bound-fn-2.stderr Update tests 2020-05-22 18:03:08 +01:00
regions-escape-bound-fn.rs Update tests 2020-05-22 18:03:08 +01:00
regions-escape-bound-fn.stderr Update tests 2020-05-22 18:03:08 +01:00
regions-escape-unboxed-closure.rs Update tests 2020-05-22 18:03:08 +01:00
regions-escape-unboxed-closure.stderr Update tests 2020-05-22 18:03:08 +01:00
return-local-binding-from-desugaring.rs review comments 2019-07-27 19:15:25 -07:00
return-local-binding-from-desugaring.stderr review comments 2019-07-27 19:15:25 -07:00
slice-index-bounds-check-invalidation.rs Fix soundness issue with index bounds checks 2019-11-11 22:06:54 +00:00
slice-index-bounds-check-invalidation.stderr Fix soundness issue with index bounds checks 2019-11-11 22:06:54 +00:00
two-phase-across-loop.rs Fixed grammar/style in error messages and reblessed tests. 2019-09-06 03:46:08 +01:00
two-phase-across-loop.stderr Remove feature(nll) when compare mode is sufficient 2019-05-12 18:46:43 +01:00
two-phase-activation-sharing-interference.nll_target.stderr Update ui tests 2019-04-23 11:42:14 +01:00
two-phase-activation-sharing-interference.rs Remove unnecessary ignore-tidy-linelength 2019-04-23 11:42:14 +01:00
two-phase-allow-access-during-reservation.nll_target.stderr Updated UI test output to remove test annotations for revisions 2019-03-17 17:00:18 +01:00
two-phase-allow-access-during-reservation.rs update tests for migrate mode by default 2019-04-22 08:40:08 +01:00
two-phase-baseline.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
two-phase-bin-ops.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
two-phase-cannot-nest-mut-self-calls.rs update tests for migrate mode by default 2019-04-22 08:40:08 +01:00
two-phase-cannot-nest-mut-self-calls.stderr Update tests for restrictive two-phase borrows 2019-04-04 18:47:14 +01:00
two-phase-control-flow-split-before-activation.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
two-phase-method-receivers.rs update tests for migrate mode by default 2019-04-22 08:40:08 +01:00
two-phase-multi-mut.rs Remove feature(nll) when compare mode is sufficient 2019-05-12 18:46:43 +01:00
two-phase-multi-mut.stderr Remove feature(nll) when compare mode is sufficient 2019-05-12 18:46:43 +01:00
two-phase-multiple-activations.rs Update test stderr with results of enabling unused lints 2019-09-08 11:32:28 -04:00
two-phase-nonrecv-autoref.nll.stderr compiletest: error if compile-fail header in ui test. 2020-02-02 02:08:30 -05:00
two-phase-nonrecv-autoref.rs compiletest: error if compile-fail header in ui test. 2020-02-02 02:08:30 -05:00
two-phase-reservation-sharing-interference-2.migrate2015.stderr rustc: Add a warning count upon completion 2020-04-11 16:15:24 +02:00
two-phase-reservation-sharing-interference-2.migrate2018.stderr rustc: Add a warning count upon completion 2020-04-11 16:15:24 +02:00
two-phase-reservation-sharing-interference-2.nll2015.stderr Ignore two-phase-reservation-sharing-interference-2.rs in Polonius compare mode 2019-07-22 10:32:37 +02:00
two-phase-reservation-sharing-interference-2.nll2018.stderr Ignore two-phase-reservation-sharing-interference-2.rs in Polonius compare mode 2019-07-22 10:32:37 +02:00
two-phase-reservation-sharing-interference-2.rs Ignore two-phase-reservation-sharing-interference-2.rs in Polonius compare mode 2019-07-22 10:32:37 +02:00
two-phase-reservation-sharing-interference-future-compat-lint.nll.stderr Change compare mode to use -Zborrowck=mir 2019-05-12 18:46:43 +01:00
two-phase-reservation-sharing-interference-future-compat-lint.rs Adjust the mutable_borrow_reservation_conflict message 2019-04-04 18:50:03 +01:00
two-phase-reservation-sharing-interference-future-compat-lint.stderr rustc: Add a warning count upon completion 2020-04-11 16:15:24 +02:00
two-phase-reservation-sharing-interference.nll_target.stderr Remove licenses 2018-12-25 21:08:33 -07:00
two-phase-reservation-sharing-interference.rs Remove double trailing newlines 2019-04-22 16:57:01 +01:00
two-phase-sneaky.rs update tests for migrate mode by default 2019-04-22 08:40:08 +01:00
two-phase-sneaky.stderr update tests for migrate mode by default 2019-04-22 08:40:08 +01:00
two-phase-surprise-no-conflict.rs Fix backticks in documentation 2019-09-18 23:17:36 -06:00
two-phase-surprise-no-conflict.stderr update tests for migrate mode by default 2019-04-22 08:40:08 +01:00
unboxed-closures-move-upvar-from-non-once-ref-closure.rs Update tests for changes to cannot move errors 2019-06-03 14:55:29 +01:00
unboxed-closures-move-upvar-from-non-once-ref-closure.stderr Update tests for changes to cannot move errors 2019-06-03 14:55:29 +01:00