rust/src/test/ui/borrowck
bors 4aa7879b55 Auto merge of #89110 - Aaron1011:adjustment-span, r=estebank
Use larger span for adjustment THIR expressions

Currently, we use a relatively 'small' span for THIR
expressions generated by an 'adjustment' (e.g. an autoderef,
autoborrow, unsizing). As a result, if a borrow generated
by an adustment ends up causing a borrowcheck error, for example:

```rust
let mut my_var = String::new();
let my_ref = &my_var
my_var.push('a');
my_ref;
```

then the span for the mutable borrow may end up referring
to only the base expression (e.g. `my_var`), rather than
the method call which triggered the mutable borrow
(e.g. `my_var.push('a')`)

Due to a quirk of the MIR borrowck implementation,
this doesn't always get exposed in migration mode,
but it does in many cases.

This commit makes THIR building consistently use 'larger'
spans for adjustment expressions. These spans are recoded
when we first create the adjustment during typecheck. For
example, an autoref adjustment triggered by a method call
will record the span of the entire method call.

The intent of this change it make it clearer to users
when it's the specific way in which a variable is
used (for example, in a method call) that produdes
a borrowcheck error. For example, an error message
claiming that a 'mutable borrow occurs here' might
be confusing if it just points at a usage of a variable
(e.g. `my_var`), when no `&mut` is in sight. Pointing
at the entire expression should help to emphasize
that the method call itself is responsible for
the mutable borrow.

In several cases, this makes the `#![feature(nll)]` diagnostic
output match up exactly with the default (migration mode) output.
As a result, several `.nll.stderr` files end up getting removed
entirely.
2021-09-30 01:40:30 +00: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 removed more uses of feature gate 2021-06-04 09:41:55 -07:00
bindings-after-at-or-patterns-slice-patterns-box-patterns.stderr updated line #'s on ui tests and removed feature flag test 2021-06-04 09:42:50 -07: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 Point to span of upvar making closure FnMut 2021-01-25 16:53:27 +11:00
borrow-tuple-fields.rs Remove box syntax from most places in src/test outside of the issues dir 2021-09-26 04:07:44 +02:00
borrow-tuple-fields.stderr Use larger span for adjustments on method calls 2021-09-25 10:00:41 -05: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 Fix debugger stepping behavior around match expressions 2021-08-25 15:17:22 -04:00
borrowck-anon-fields-variant.stderr Fix debugger stepping behavior around match expressions 2021-08-25 15:17:22 -04:00
borrowck-argument.rs update tests for migrate mode by default 2019-04-22 08:40:08 +01:00
borrowck-argument.stderr Use larger span for adjustments on method calls 2021-09-25 10:00:41 -05:00
borrowck-asm.rs Fix ui tests for llvm_asm! deprecation 2021-08-15 13:27:13 +01:00
borrowck-asm.stderr Fix ui tests for llvm_asm! deprecation 2021-08-15 13:27:13 +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 Improve error reporting for modifications behind & references 2021-07-02 18:29:49 +02: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 Revert PR 81473 to resolve (on mainline) issues 81626 and 81658. 2021-07-21 22:49:52 -04: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 Use larger span for adjustments on method calls 2021-09-25 10:00:41 -05: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 box syntax from most places in src/test outside of the issues dir 2021-09-26 04:07:44 +02: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 box syntax from most places in src/test outside of the issues dir 2021-09-26 04:07:44 +02: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 Remove box syntax from most places in src/test outside of the issues dir 2021-09-26 04:07:44 +02: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 Remove box syntax from most places in src/test outside of the issues dir 2021-09-26 04:07:44 +02:00
borrowck-borrow-immut-deref-of-box-as-mut.stderr Auto merge of #89110 - Aaron1011:adjustment-span, r=estebank 2021-09-30 01:40:30 +00:00
borrowck-borrow-mut-base-ptr-in-aliasable-loc.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
borrowck-borrow-mut-base-ptr-in-aliasable-loc.stderr Improve error reporting for modifications behind & references 2021-07-02 18:29:49 +02: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 Use larger span for adjustments on method calls 2021-09-25 10:00:41 -05:00
borrowck-borrow-of-mut-base-ptr-safe.rs mv compiler to compiler/ 2020-08-30 18:45:07 +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 Use larger span for adjustments on method calls 2021-09-25 10:00:41 -05: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 pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03: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 Show macro name in 'this error originates in macro' message 2021-05-12 19:03:06 -04:00
borrowck-borrowed-uniq-rvalue.rs Remove box syntax from most places in src/test outside of the issues dir 2021-09-26 04:07:44 +02:00
borrowck-borrowed-uniq-rvalue.stderr Use larger span for adjustments on method calls 2021-09-25 10:00:41 -05:00
borrowck-box-sensitivity.rs Remove box syntax from most places in src/test outside of the issues dir 2021-09-26 04:07:44 +02: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 Remove box syntax from most places in src/test outside of the issues dir 2021-09-26 04:07:44 +02:00
borrowck-closures-mut-and-imm.stderr Closure capture borrow diagnostics for disjoint captures 2021-05-01 19:01:05 -04:00
borrowck-closures-mut-of-imm.rs update ui tests 2019-09-21 17:43:56 +02:00
borrowck-closures-mut-of-imm.stderr Closure capture borrow diagnostics for disjoint captures 2021-05-01 19:01:05 -04: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 Closure capture borrow diagnostics for disjoint captures 2021-05-01 19:01:05 -04: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 Closure capture borrow diagnostics for disjoint captures 2021-05-01 19:01:05 -04: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 box syntax from most places in src/test outside of the issues dir 2021-09-26 04:07:44 +02:00
borrowck-closures-two-mut-fail.stderr Closure capture borrow diagnostics for disjoint captures 2021-05-01 19:01:05 -04:00
borrowck-closures-two-mut.rs Remove box syntax from most places in src/test outside of the issues dir 2021-09-26 04:07:44 +02:00
borrowck-closures-two-mut.stderr Closure capture borrow diagnostics for disjoint captures 2021-05-01 19:01:05 -04:00
borrowck-closures-unique-imm.rs Remove licenses 2018-12-25 21:08:33 -07:00
borrowck-closures-unique-imm.stderr Use larger span for adjustments on method calls 2021-09-25 10:00:41 -05:00
borrowck-closures-unique.rs update tests for migrate mode by default 2019-04-22 08:40:08 +01:00
borrowck-closures-unique.stderr Closure capture borrow diagnostics for disjoint captures 2021-05-01 19:01:05 -04:00
borrowck-closures-use-after-free.rs Remove box syntax from most places in src/test outside of the issues dir 2021-09-26 04:07:44 +02:00
borrowck-closures-use-after-free.stderr Remove box syntax from most places in src/test outside of the issues dir 2021-09-26 04:07:44 +02:00
borrowck-consume-unsize-vec.rs Remove licenses 2018-12-25 21:08:33 -07:00
borrowck-consume-unsize-vec.stderr pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03: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 pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03:00
borrowck-describe-lvalue.rs Fix debugger stepping behavior around match expressions 2021-08-25 15:17:22 -04:00
borrowck-describe-lvalue.stderr Use larger span for adjustments on method calls 2021-09-25 10:00:41 -05:00
borrowck-drop-from-guard.rs Remove licenses 2018-12-25 21:08:33 -07:00
borrowck-drop-from-guard.stderr pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03:00
borrowck-escaping-closure-error-1.rs Remove licenses 2018-12-25 21:08:33 -07:00
borrowck-escaping-closure-error-1.stderr Modify structured suggestion output 2021-08-11 09:46:24 +00: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 Modify structured suggestion output 2021-08-11 09:46:24 +00:00
borrowck-feature-nll-overrides-migrate.edition.stderr pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03: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 pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03:00
borrowck-field-sensitivity-rpass.rs Remove box syntax from most places in src/test outside of the issues dir 2021-09-26 04:07:44 +02:00
borrowck-field-sensitivity.rs Remove box syntax from most places in src/test outside of the issues dir 2021-09-26 04:07:44 +02:00
borrowck-field-sensitivity.stderr Remove box syntax from most places in src/test outside of the issues dir 2021-09-26 04:07:44 +02: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 pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03: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 box syntax from most places in src/test outside of the issues dir 2021-09-26 04:07:44 +02:00
borrowck-for-loop-correct-cmt-for-pattern.stderr pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03: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 Point to closure when emitting 'cannot move out' for captured variable 2021-09-15 01:47:22 +02: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 Use larger span for adjustments on method calls 2021-09-25 10:00:41 -05:00
borrowck-issue-2657-1.rs Remove box syntax from most places in src/test outside of the issues dir 2021-09-26 04:07:44 +02:00
borrowck-issue-2657-1.stderr Use larger span for adjustments on method calls 2021-09-25 10:00:41 -05:00
borrowck-issue-2657-2.rs Remove box syntax from most places in src/test outside of the issues dir 2021-09-26 04:07:44 +02:00
borrowck-issue-2657-2.stderr pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03:00
borrowck-issue-14498.rs Remove box syntax from most places in src/test outside of the issues dir 2021-09-26 04:07:44 +02:00
borrowck-issue-14498.stderr Improve error reporting for modifications behind & references 2021-07-02 18:29:49 +02: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 box syntax from most places in src/test outside of the issues dir 2021-09-26 04:07:44 +02:00
borrowck-lend-flow-if.stderr Use larger span for adjustments on method calls 2021-09-25 10:00:41 -05:00
borrowck-lend-flow-loop.rs Remove box syntax from most places in src/test outside of the issues dir 2021-09-26 04:07:44 +02:00
borrowck-lend-flow-loop.stderr Remove box syntax from most places in src/test outside of the issues dir 2021-09-26 04:07:44 +02: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 box syntax from most places in src/test outside of the issues dir 2021-09-26 04:07:44 +02:00
borrowck-lend-flow.stderr Use larger span for adjustments on method calls 2021-09-25 10:00:41 -05:00
borrowck-loan-blocks-move-cc.rs Remove box syntax from most places in src/test outside of the issues dir 2021-09-26 04:07:44 +02:00
borrowck-loan-blocks-move-cc.stderr Use larger span for adjustments on method calls 2021-09-25 10:00:41 -05:00
borrowck-loan-blocks-move.rs Remove box syntax from most places in src/test outside of the issues dir 2021-09-26 04:07:44 +02:00
borrowck-loan-blocks-move.stderr Use larger span for adjustments on method calls 2021-09-25 10:00:41 -05:00
borrowck-loan-blocks-mut-uniq.rs Remove box syntax from most places in src/test outside of the issues dir 2021-09-26 04:07:44 +02:00
borrowck-loan-blocks-mut-uniq.stderr Remove box syntax from most places in src/test outside of the issues dir 2021-09-26 04:07:44 +02:00
borrowck-loan-in-overloaded-op.rs Remove box syntax from most places in src/test outside of the issues dir 2021-09-26 04:07:44 +02:00
borrowck-loan-in-overloaded-op.stderr Auto merge of #89110 - Aaron1011:adjustment-span, r=estebank 2021-09-30 01:40:30 +00: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 Use larger span for adjustments on method calls 2021-09-25 10:00:41 -05:00
borrowck-loan-rcvr.rs Remove licenses 2018-12-25 21:08:33 -07:00
borrowck-loan-rcvr.stderr Use larger span for adjustments on method calls 2021-09-25 10:00:41 -05: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 Remove box syntax from most places in src/test outside of the issues dir 2021-09-26 04:07:44 +02:00
borrowck-match-already-borrowed.rs Fix debugger stepping behavior around match expressions 2021-08-25 15:17:22 -04:00
borrowck-match-already-borrowed.stderr Fix debugger stepping behavior around match expressions 2021-08-25 15:17:22 -04: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 Compiler error messages: reduce assertiveness of message E0384 2021-04-12 23:29:09 +01:00
borrowck-move-by-capture-ok.rs Remove box syntax from most places in src/test outside of the issues dir 2021-09-26 04:07:44 +02:00
borrowck-move-by-capture.rs Remove box syntax from most places in src/test outside of the issues dir 2021-09-26 04:07:44 +02:00
borrowck-move-by-capture.stderr Remove box syntax from most places in src/test outside of the issues dir 2021-09-26 04:07:44 +02:00
borrowck-move-error-with-note.rs Remove box syntax from most places in src/test outside of the issues dir 2021-09-26 04:07:44 +02:00
borrowck-move-error-with-note.stderr pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03:00
borrowck-move-from-subpath-of-borrowed-path.rs Remove box syntax from most places in src/test outside of the issues dir 2021-09-26 04:07:44 +02:00
borrowck-move-from-subpath-of-borrowed-path.stderr Use larger span for adjustments on method calls 2021-09-25 10:00:41 -05: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 pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03: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 pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03:00
borrowck-move-moved-value-into-closure.rs Remove box syntax from most places in src/test outside of the issues dir 2021-09-26 04:07:44 +02:00
borrowck-move-moved-value-into-closure.stderr Remove box syntax from most places in src/test outside of the issues dir 2021-09-26 04:07:44 +02:00
borrowck-move-mut-base-ptr.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
borrowck-move-mut-base-ptr.stderr Use larger span for adjustments on method calls 2021-09-25 10:00:41 -05:00
borrowck-move-out-from-array-match.rs Be consistent when describing a move as a 'partial' in diagnostics 2020-08-08 14:21:04 -04:00
borrowck-move-out-from-array-match.stderr pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03:00
borrowck-move-out-from-array-no-overlap-match.rs Be consistent when describing a move as a 'partial' in diagnostics 2020-08-08 14:21:04 -04:00
borrowck-move-out-from-array-no-overlap-match.stderr pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03: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 pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03:00
borrowck-move-out-from-array-use-no-overlap-match.rs Be consistent when describing a move as a 'partial' in diagnostics 2020-08-08 14:21:04 -04:00
borrowck-move-out-from-array-use-no-overlap-match.stderr pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03: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 pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03: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 pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03: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 Use larger span for adjustments on method calls 2021-09-25 10:00:41 -05: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 pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03: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 pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03: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 pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03: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 Modify structured suggestion output 2021-08-11 09:46:24 +00:00
borrowck-move-subcomponent.rs Remove box syntax from most places in src/test outside of the issues dir 2021-09-26 04:07:44 +02: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 Remove box syntax from most places in src/test outside of the issues dir 2021-09-26 04:07:44 +02:00
borrowck-multiple-captures.stderr Remove box syntax from most places in src/test outside of the issues dir 2021-09-26 04:07:44 +02: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 Use larger span for adjustments on method calls 2021-09-25 10:00:41 -05:00
borrowck-mut-borrow-of-mut-base-ptr.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
borrowck-mut-borrow-of-mut-base-ptr.stderr Use larger span for adjustments on method calls 2021-09-25 10:00:41 -05: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 Remove box syntax from most places in src/test outside of the issues dir 2021-09-26 04:07:44 +02: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 box syntax from most places in src/test outside of the issues dir 2021-09-26 04:07:44 +02: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.rs Update ui test suite to use dyn 2019-05-29 00:57:31 -04:00
borrowck-object-lifetime.stderr Use larger span for adjustments on method calls 2021-09-25 10:00:41 -05: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 Use larger span for adjustments on method calls 2021-09-25 10:00:41 -05:00
borrowck-overloaded-index-move-from-vec.rs Remove box syntax from most places in src/test outside of the issues dir 2021-09-26 04:07:44 +02:00
borrowck-overloaded-index-move-from-vec.stderr pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03:00
borrowck-overloaded-index-move-index.rs Remove licenses 2018-12-25 21:08:33 -07:00
borrowck-overloaded-index-move-index.stderr pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03: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 pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03:00
borrowck-report-with-custom-diagnostic.rs Remove licenses 2018-12-25 21:08:33 -07:00
borrowck-report-with-custom-diagnostic.stderr Use larger span for adjustments on method calls 2021-09-25 10:00:41 -05: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 pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03:00
borrowck-swap-mut-base-ptr.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
borrowck-swap-mut-base-ptr.stderr Use larger span for adjustments on method calls 2021-09-25 10:00:41 -05: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 Modify structured suggestion output 2021-08-11 09:46:24 +00: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 Be consistent when describing a move as a 'partial' in diagnostics 2020-08-08 14:21:04 -04: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 Use larger span for adjustments on method calls 2021-09-25 10:00:41 -05:00
borrowck-union-borrow.rs Remove redundant ignore-tidy-linelength annotations 2021-04-03 22:30:20 +02:00
borrowck-union-borrow.stderr Remove redundant ignore-tidy-linelength annotations 2021-04-03 22:30:20 +02: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 box syntax from most places in src/test outside of the issues dir 2021-09-26 04:07:44 +02:00
borrowck-uniq-via-lend.stderr Use larger span for adjustments on method calls 2021-09-25 10:00:41 -05: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 Ignore automatically derived impls of Clone and Debug in dead code analysis 2021-09-09 19:49:07 +02: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 Remove box syntax from most places in src/test outside of the issues dir 2021-09-26 04:07:44 +02:00
borrowck-use-mut-borrow.rs Remove box syntax from most places in src/test outside of the issues dir 2021-09-26 04:07:44 +02: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 Use larger span for adjustments on method calls 2021-09-25 10:00:41 -05: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 Remove box syntax from most places in src/test outside of the issues dir 2021-09-26 04:07:44 +02:00
borrowck-vec-pattern-nesting.stderr Auto merge of #89110 - Aaron1011:adjustment-span, r=estebank 2021-09-30 01:40:30 +00: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
fsu-moves-and-copies.rs Remove box syntax from most places in src/test outside of the issues dir 2021-09-26 04:07:44 +02:00
immutable-arg.rs Update tests 2019-05-03 03:11:37 -04:00
immutable-arg.stderr Compiler error messages: reduce assertiveness of message E0384 2021-04-12 23:29:09 +01:00
index-mut-help-with-impl.rs Remove licenses 2018-12-25 21:08:33 -07:00
index-mut-help-with-impl.stderr Use larger span for adjustments on method calls 2021-09-25 10:00:41 -05:00
index-mut-help.rs Remove licenses 2018-12-25 21:08:33 -07:00
index-mut-help.stderr Use larger span for adjustments on method calls 2021-09-25 10:00:41 -05:00
issue-7573.rs Update tests 2020-05-22 18:03:08 +01:00
issue-7573.stderr Update ui tests 2021-02-01 18:23:12 +01:00
issue-10876.rs Update test stderr with results of enabling unused lints 2019-09-08 11:32:28 -04:00
issue-17263.rs Remove box syntax from most places in src/test outside of the issues dir 2021-09-26 04:07:44 +02:00
issue-17545.rs Move some tests to more reasonable directories - 2 2021-01-16 19:46:54 -03:00
issue-17545.stderr Move some tests to more reasonable directories - 2 2021-01-16 19:46:54 -03:00
issue-20801.rs Move some tests to more reasonable directories - 2 2021-01-16 19:46:54 -03:00
issue-20801.stderr Move some tests to more reasonable directories - 2 2021-01-16 19:46:54 -03:00
issue-24267-flow-exit.rs Move some tests to more reasonable directories - 2 2021-01-16 19:46:54 -03:00
issue-24267-flow-exit.stderr Move some tests to more reasonable directories - 2 2021-01-16 19:46:54 -03:00
issue-25793.rs Move some tests to more reasonable directories - 2 2021-01-16 19:46:54 -03:00
issue-25793.stderr Show macro name in 'this error originates in macro' message 2021-05-12 19:03:06 -04:00
issue-27282-move-match-input-into-guard.rs Fix debugger stepping behavior around match expressions 2021-08-25 15:17:22 -04:00
issue-27282-move-match-input-into-guard.stderr Fix debugger stepping behavior around match expressions 2021-08-25 15:17:22 -04:00
issue-27282-mutate-before-diverging-arm-2.rs Move some tests to more reasonable directories - 2 2021-01-16 19:46:54 -03:00
issue-27282-mutate-before-diverging-arm-2.stderr Closure capture borrow diagnostics for disjoint captures 2021-05-01 19:01:05 -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 pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03:00
issue-27282-reborrow-ref-mut-in-guard.rs Move some tests to more reasonable directories - 2 2021-01-16 19:46:54 -03:00
issue-27282-reborrow-ref-mut-in-guard.stderr Closure capture borrow diagnostics for disjoint captures 2021-05-01 19:01:05 -04: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 pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03:00
issue-33819.rs fix test/ui/borrowck/issue-33819 2021-07-25 10:56:13 -04:00
issue-33819.stderr suggest removing unnecessary \&mut as help message 2021-07-25 10:24:37 -04:00
issue-41962.rs Update tests 2019-05-03 03:11:37 -04:00
issue-41962.stderr Modify structured suggestion output 2021-08-11 09:46:24 +00:00
issue-42344.rs Move some tests to more suitable subdirs 2021-03-06 18:24:53 +09:00
issue-42344.stderr Use larger span for adjustments on method calls 2021-09-25 10:00:41 -05:00
issue-45199.rs Compiler error messages: reduce assertiveness of message E0384 2021-04-12 23:29:09 +01:00
issue-45199.stderr Compiler error messages: reduce assertiveness of message E0384 2021-04-12 23:29:09 +01:00
issue-45983.rs Update tests 2020-05-22 18:03:08 +01:00
issue-45983.stderr Update ui tests 2021-02-01 18:23:12 +01:00
issue-46471.rs Move some tests to more reasonable directories - 2 2021-01-16 19:46:54 -03:00
issue-46471.stderr Move some tests to more reasonable directories - 2 2021-01-16 19:46:54 -03: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 pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03:00
issue-51117.rs Remove licenses 2018-12-25 21:08:33 -07:00
issue-51117.stderr Use larger span for adjustments on method calls 2021-09-25 10:00:41 -05: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 pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03: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 use RegionNameHighlight for async fn and closure returns 2020-11-09 16:14:40 +00: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 pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03: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 Add new const_format_args!() macro and use it in panics. 2021-07-28 16:12:25 +02:00
issue-64453.stderr Stop sorting bodies by span. 2021-09-01 20:13:16 +02: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 Improve error reporting for modifications behind & references 2021-07-02 18:29:49 +02:00
issue-81365-1.rs Add tests 2021-02-08 13:29:42 +11:00
issue-81365-1.stderr Add deref definition location 2021-02-19 18:43:57 +11:00
issue-81365-2.rs Point out implicit deref coercions in borrow 2021-02-08 13:24:37 +11:00
issue-81365-2.stderr Add deref definition location 2021-02-19 18:43:57 +11:00
issue-81365-3.rs Point out implicit deref coercions in borrow 2021-02-08 13:24:37 +11:00
issue-81365-3.stderr Add deref definition location 2021-02-19 18:43:57 +11:00
issue-81365-4.rs Point out implicit deref coercions in borrow 2021-02-08 13:24:37 +11:00
issue-81365-4.stderr Add deref definition location 2021-02-19 18:43:57 +11:00
issue-81365-5.rs Point out implicit deref coercions in borrow 2021-02-08 13:24:37 +11:00
issue-81365-5.stderr Use larger span for adjustments on method calls 2021-09-25 10:00:41 -05:00
issue-81365-6.rs Point out implicit deref coercions in borrow 2021-02-08 13:24:37 +11:00
issue-81365-6.stderr Add deref definition location 2021-02-19 18:43:57 +11:00
issue-81365-7.rs Point out implicit deref coercions in borrow 2021-02-08 13:24:37 +11:00
issue-81365-7.stderr Add deref definition location 2021-02-19 18:43:57 +11:00
issue-81365-8.rs Point out implicit deref coercions in borrow 2021-02-08 13:24:37 +11:00
issue-81365-8.stderr Add deref definition location 2021-02-19 18:43:57 +11:00
issue-81365-9.rs Add tests 2021-02-08 13:29:42 +11:00
issue-81365-9.stderr Add tests 2021-02-08 13:29:42 +11:00
issue-81365-10.rs Add tests 2021-02-08 13:29:42 +11:00
issue-81365-10.stderr Use larger span for adjustments on method calls 2021-09-25 10:00:41 -05:00
issue-81365-11.rs Add tests 2021-02-08 13:29:42 +11:00
issue-81365-11.stderr Add tests 2021-02-08 13:29:42 +11:00
issue-82032.rs add test 2021-02-13 12:12:57 +01:00
issue-82032.stderr Use larger span for adjustments on method calls 2021-09-25 10:00:41 -05:00
issue-82126-mismatched-subst-and-hir.rs Use ty::Error for opaque types with errors in its bounds. 2021-09-20 14:15:36 +00:00
issue-82126-mismatched-subst-and-hir.stderr Use ty::Error for opaque types with errors in its bounds. 2021-09-20 14:15:36 +00:00
issue-82462.rs rustc: use more correct span data in for loop desugaring 2021-08-28 12:18:46 -07:00
issue-82462.stderr rustc: use more correct span data in for loop desugaring 2021-08-28 12:18:46 -07:00
issue-83309-ice-immut-in-for-loop.rs Improve error reporting for modifications behind & references 2021-07-02 18:29:49 +02:00
issue-83309-ice-immut-in-for-loop.stderr Improve error reporting for modifications behind & references 2021-07-02 18:29:49 +02:00
issue-83760.rs Add help on reinitialization between move and access 2021-07-07 18:33:50 +02:00
issue-83760.stderr Add help on reinitialization between move and access 2021-07-07 18:33:50 +02:00
issue-85581.rs Do not emit invalid suggestions on multiple mutable borrow errors 2021-06-16 09:47:37 +09:00
issue-85581.stderr Use larger span for adjustments on method calls 2021-09-25 10:00:41 -05:00
issue-85765.rs fix help message for modification to &T created by &{t} 2021-07-25 13:17:47 -04:00
issue-85765.stderr Use larger span for adjustments on method calls 2021-09-25 10:00:41 -05:00
issue-87456-point-to-closure.rs Point to closure when emitting 'cannot move out' for captured variable 2021-09-15 01:47:22 +02:00
issue-87456-point-to-closure.stderr Point to closure when emitting 'cannot move out' for captured variable 2021-09-15 01:47:22 +02: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 Remove trailing whitespace from error messages 2021-08-04 10:48:30 +02: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 pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03:00
move-in-pattern-mut-in-loop.rs Do not suggest invalid code in pattern with loop 2021-01-12 17:31:13 +09:00
move-in-pattern-mut-in-loop.stderr Modify structured suggestion output 2021-08-11 09:46:24 +00:00
move-in-pattern-mut.rs Be consistent when describing a move as a 'partial' in diagnostics 2020-08-08 14:21:04 -04:00
move-in-pattern-mut.stderr Modify structured suggestion output 2021-08-11 09:46:24 +00:00
move-in-pattern.fixed Be consistent when describing a move as a 'partial' in diagnostics 2020-08-08 14:21:04 -04:00
move-in-pattern.rs Be consistent when describing a move as a 'partial' in diagnostics 2020-08-08 14:21:04 -04:00
move-in-pattern.stderr Modify structured suggestion output 2021-08-11 09:46:24 +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-2.fixed Provide suggestions for some moved value errors 2020-06-24 17:42:26 -07:00
mut-borrow-in-loop-2.rs Provide suggestions for some moved value errors 2020-06-24 17:42:26 -07:00
mut-borrow-in-loop-2.stderr Modify structured suggestion output 2021-08-11 09:46:24 +00: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 Added better error message for shared borrow treated as unique for purposes of lifetimes 2020-12-01 10:24:23 +05:30
mut-borrow-of-mut-ref.rs Suggestion for call on immutable binding of mutable type 2021-08-29 08:34:53 +00:00
mut-borrow-of-mut-ref.stderr Use larger span for adjustments on method calls 2021-09-25 10:00:41 -05:00
mut-borrow-outside-loop.rs Remove licenses 2018-12-25 21:08:33 -07:00
mut-borrow-outside-loop.stderr Use larger span for adjustments on method calls 2021-09-25 10:00:41 -05:00
mutability-errors.rs update tests for migrate mode by default 2019-04-22 08:40:08 +01:00
mutability-errors.stderr Improve error reporting for modifications behind & references 2021-07-02 18:29:49 +02:00
or-patterns.rs update tests 2021-03-19 19:45:42 -05:00
or-patterns.stderr update tests 2021-03-19 19:45:42 -05: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 ui tests 2021-02-01 18:23:12 +01:00
regions-escape-bound-fn.rs Update tests 2020-05-22 18:03:08 +01:00
regions-escape-bound-fn.stderr Update ui tests 2021-02-01 18:23:12 +01:00
regions-escape-unboxed-closure.rs Update tests 2020-05-22 18:03:08 +01:00
regions-escape-unboxed-closure.stderr Update ui tests 2021-02-01 18:23:12 +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 Use larger span for adjustments on method calls 2021-09-25 10:00:41 -05: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 Remove redundant ignore-tidy-linelength annotations 2021-04-03 22:30:20 +02:00
two-phase-allow-access-during-reservation.rs Remove redundant ignore-tidy-linelength annotations 2021-04-03 22:30:20 +02: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 Use larger span for adjustments on method calls 2021-09-25 10:00:41 -05: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 Use larger span for adjustments on method calls 2021-09-25 10:00:41 -05: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 pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03: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 Use larger span for adjustments on method calls 2021-09-25 10:00:41 -05:00
two-phase-reservation-sharing-interference-2.migrate2018.stderr Use larger span for adjustments on method calls 2021-09-25 10:00:41 -05:00
two-phase-reservation-sharing-interference-2.nll2015.stderr Use larger span for adjustments on method calls 2021-09-25 10:00:41 -05:00
two-phase-reservation-sharing-interference-2.nll2018.stderr Use larger span for adjustments on method calls 2021-09-25 10:00:41 -05: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 Use larger span for adjustments on method calls 2021-09-25 10:00:41 -05: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 Use larger span for adjustments on method calls 2021-09-25 10:00:41 -05:00
two-phase-reservation-sharing-interference.nll_target.stderr Remove redundant ignore-tidy-linelength annotations 2021-04-03 22:30:20 +02:00
two-phase-reservation-sharing-interference.rs compiletest: ignore tests on a per-revision basis 2021-06-24 23:13:08 +03:00
two-phase-sneaky.rs update tests for migrate mode by default 2019-04-22 08:40:08 +01:00
two-phase-sneaky.stderr Use larger span for adjustments on method calls 2021-09-25 10:00:41 -05: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 Use larger span for adjustments on method calls 2021-09-25 10:00:41 -05: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 Point to closure when emitting 'cannot move out' for captured variable 2021-09-15 01:47:22 +02:00