rust/tests/ui/suggestions
bors 6eaa7fb576 Auto merge of #122603 - estebank:clone-o-rama, r=lcnr
Detect borrow checker errors where `.clone()` would be an appropriate user action

When a value is moved twice, suggest cloning the earlier move:

```
error[E0509]: cannot move out of type `U2`, which implements the `Drop` trait
  --> $DIR/union-move.rs:49:18
   |
LL |         move_out(x.f1_nocopy);
   |                  ^^^^^^^^^^^
   |                  |
   |                  cannot move out of here
   |                  move occurs because `x.f1_nocopy` has type `ManuallyDrop<RefCell<i32>>`, which does not implement the `Copy` trait
   |
help: consider cloning the value if the performance cost is acceptable
   |
LL |         move_out(x.f1_nocopy.clone());
   |                             ++++++++
```

When a value is borrowed by an `fn` call, consider if cloning the result of the call would be reasonable, and suggest cloning that, instead of the argument:

```
error[E0505]: cannot move out of `a` because it is borrowed
  --> $DIR/variance-issue-20533.rs:53:14
   |
LL |         let a = AffineU32(1);
   |             - binding `a` declared here
LL |         let x = bat(&a);
   |                     -- borrow of `a` occurs here
LL |         drop(a);
   |              ^ move out of `a` occurs here
LL |         drop(x);
   |              - borrow later used here
   |
help: consider cloning the value if the performance cost is acceptable
   |
LL |         let x = bat(&a).clone();
   |                        ++++++++
```

otherwise, suggest cloning the argument:

```
error[E0505]: cannot move out of `a` because it is borrowed
  --> $DIR/variance-issue-20533.rs:59:14
   |
LL |         let a = ClonableAffineU32(1);
   |             - binding `a` declared here
LL |         let x = foo(&a);
   |                     -- borrow of `a` occurs here
LL |         drop(a);
   |              ^ move out of `a` occurs here
LL |         drop(x);
   |              - borrow later used here
   |
help: consider cloning the value if the performance cost is acceptable
   |
LL -         let x = foo(&a);
LL +         let x = foo(a.clone());
   |
```

This suggestion doesn't attempt to square out the types between what's cloned and what the `fn` expects, to allow the user to make a determination on whether to change the `fn` call or `fn` definition themselves.

Special case move errors caused by `FnOnce`:

```
error[E0382]: use of moved value: `blk`
  --> $DIR/once-cant-call-twice-on-heap.rs:8:5
   |
LL | fn foo<F:FnOnce()>(blk: F) {
   |                    --- move occurs because `blk` has type `F`, which does not implement the `Copy` trait
LL |     blk();
   |     ----- `blk` moved due to this call
LL |     blk();
   |     ^^^ value used here after move
   |
note: `FnOnce` closures can only be called once
  --> $DIR/once-cant-call-twice-on-heap.rs:6:10
   |
LL | fn foo<F:FnOnce()>(blk: F) {
   |          ^^^^^^^^ `F` is made to be an `FnOnce` closure here
LL |     blk();
   |     ----- this value implements `FnOnce`, which causes it to be moved when called
```

Account for redundant `.clone()` calls in resulting suggestions:

```
error[E0507]: cannot move out of dereference of `S`
  --> $DIR/needs-clone-through-deref.rs:15:18
   |
LL |         for _ in self.clone().into_iter() {}
   |                  ^^^^^^^^^^^^ ----------- value moved due to this method call
   |                  |
   |                  move occurs because value has type `Vec<usize>`, which does not implement the `Copy` trait
   |
note: `into_iter` takes ownership of the receiver `self`, which moves value
  --> $SRC_DIR/core/src/iter/traits/collect.rs:LL:COL
help: you can `clone` the value and consume it, but this might not be your desired behavior
   |
LL |         for _ in <Vec<usize> as Clone>::clone(&self).into_iter() {}
   |                  ++++++++++++++++++++++++++++++    ~
```

We use the presence of `&mut` values in a move error as a proxy for the user caring about side effects, so we don't emit a clone suggestion in that case:

```
error[E0505]: cannot move out of `s` because it is borrowed
  --> $DIR/borrowck-overloaded-index-move-index.rs:53:7
   |
LL |     let mut s = "hello".to_string();
   |         ----- binding `s` declared here
LL |     let rs = &mut s;
   |              ------ borrow of `s` occurs here
...
LL |     f[s] = 10;
   |       ^ move out of `s` occurs here
...
LL |     use_mut(rs);
   |             -- borrow later used here
```

We properly account for `foo += foo;` errors where we *don't* suggest `foo.clone() += foo;`, instead suggesting `foo += foo.clone();`.

---

Each commit can be reviewed in isolation. There are some "cleanup" commits, but kept them separate in order to show *why* specific changes were being made, and their effect on tests' output.

Fix #49693, CC #64167.
2024-04-13 09:07:26 +00:00
..
auxiliary [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
dont-suggest-doc-hidden-variant-for-enum [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
dont-suggest-ref Do not report errors from move path builder. 2023-10-21 10:29:40 +00:00
lifetimes Fix bad span for explicit lifetime suggestion 2024-03-21 10:31:04 +09:00
types Replace closures with _ when suggesting fully qualified path for method call 2024-03-21 00:07:44 +00:00
abi-typo.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
abi-typo.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
abi-typo.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
adt-param-with-implicit-sized-bound.rs
adt-param-with-implicit-sized-bound.stderr review comment: change wording 2024-02-01 03:31:03 +00:00
args-instead-of-tuple-errors.rs
args-instead-of-tuple-errors.stderr
args-instead-of-tuple.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
args-instead-of-tuple.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
args-instead-of-tuple.stderr
as-ref-2.rs
as-ref-2.stderr Suggest cloning and point out obligation errors on move error 2023-12-04 21:54:32 +00:00
as-ref.rs More robust as_ref/as_deref suggestions 2023-06-08 16:30:05 +00:00
as-ref.stderr recurse into refs when comparing tys for diagnostics 2023-12-07 23:00:46 -05:00
assoc_fn_without_self.rs More accurate suggestion for self. and Self:: 2023-09-23 01:34:50 +00:00
assoc_fn_without_self.stderr Tweak wording and logic 2023-09-23 01:54:05 +00:00
assoc-const-as-field.rs
assoc-const-as-field.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
assoc-const-as-fn.rs
assoc-const-as-fn.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
assoc-const-without-self.rs
assoc-const-without-self.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
assoc-ct-for-assoc-method.rs
assoc-ct-for-assoc-method.stderr Fix msg for verbose suggestions with confusable capitalization 2024-02-14 20:15:13 +00:00
assoc-type-in-method-return.rs
assoc-type-in-method-return.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
async-fn-ctor-passed-as-arg-where-it-should-have-been-called.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
async-fn-ctor-passed-as-arg-where-it-should-have-been-called.stderr Use root obligation on E0277 for some cases 2024-03-03 18:53:35 +00:00
attribute-typos.rs
attribute-typos.stderr
bad-hex-float-lit.rs
bad-hex-float-lit.stderr
bad-infer-in-trait-impl.rs Avoid silencing relevant follow-up errors 2024-01-09 21:08:16 +00:00
bad-infer-in-trait-impl.stderr Avoid silencing relevant follow-up errors 2024-01-09 21:08:16 +00:00
bool_typo_err_suggest.rs
bool_typo_err_suggest.stderr Fix msg for verbose suggestions with confusable capitalization 2024-02-14 20:15:13 +00:00
borrow-for-loop-head.rs
borrow-for-loop-head.stderr Account for unops when suggesting cloning 2024-04-11 16:41:41 +00:00
bound-suggestions.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
bound-suggestions.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
bound-suggestions.stderr Update tests 2024-02-07 10:42:01 +08:00
box-future-wrong-output.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
box-future-wrong-output.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
boxed-variant-field.rs
boxed-variant-field.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
call-boxed.rs
call-boxed.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
call-on-missing.rs
call-on-missing.stderr recover primary span label 2023-11-16 17:00:23 +00:00
call-on-unimplemented-ctor.rs
call-on-unimplemented-ctor.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
call-on-unimplemented-fn-ptr.rs
call-on-unimplemented-fn-ptr.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
call-on-unimplemented-with-autoderef.rs
call-on-unimplemented-with-autoderef.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
chain-method-call-mutation-in-place.rs
chain-method-call-mutation-in-place.stderr Recurse over the method chain and maintain a stack to peek at previous receiver to align spans 2023-11-10 13:00:27 -08:00
clone-bounds-121524.rs diagnostics: suggest Clone bounds when noop clone() 2024-03-08 09:34:38 -07:00
clone-bounds-121524.stderr diagnostics: suggest Clone bounds when noop clone() 2024-03-08 09:34:38 -07:00
clone-on-unconstrained-borrowed-type-param.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
clone-on-unconstrained-borrowed-type-param.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
clone-on-unconstrained-borrowed-type-param.stderr Note that type param is chosen by caller when suggesting return impl Trait 2024-03-16 23:20:42 +00:00
const-in-struct-pat.rs
const-in-struct-pat.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
const-no-type.rs
const-no-type.stderr
const-pat-non-exaustive-let-new-var.rs
const-pat-non-exaustive-let-new-var.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
constrain-suggest-ice.rs
constrain-suggest-ice.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
constrain-trait.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
constrain-trait.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
constrain-trait.stderr Update tests 2024-02-07 10:42:01 +08:00
copied-and-cloned.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
copied-and-cloned.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
copied-and-cloned.stderr Revert PR #114052 to fix invalid suggestion 2023-08-17 14:33:33 +02:00
core-std-import-order-issue-83564.rs Use generic NonZero in tests. 2024-02-25 12:03:48 +01:00
core-std-import-order-issue-83564.stderr Use generic NonZero in tests. 2024-02-25 12:03:48 +01:00
correct-binder-for-arbitrary-bound-sugg.rs
correct-binder-for-arbitrary-bound-sugg.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
count2len.rs
count2len.stderr
crate-or-module-typo.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
crate-or-module-typo.stderr When using existing fn as module, don't claim it doesn't exist 2023-11-16 06:07:33 +00:00
deref-path-method.rs
deref-path-method.stderr Avoid more NonNull-raw-NonNull roundtrips in Vec 2024-04-12 18:14:29 -04:00
derive-clone-for-eq.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
derive-clone-for-eq.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
derive-clone-for-eq.stderr Provide more context on derived obligation error primary label 2024-01-30 21:28:18 +00:00
derive-macro-missing-bounds.rs
derive-macro-missing-bounds.stderr Provide more context on derived obligation error primary label 2024-01-30 21:28:18 +00:00
derive-trait-for-method-call.rs Continue to borrowck even if there were previous errors 2024-02-08 08:10:43 +00:00
derive-trait-for-method-call.stderr Use only one label for multiple unsatisfied bounds on type (typeck) 2024-01-26 20:47:19 +00:00
do-not-attempt-to-add-suggestions-with-no-changes.rs
do-not-attempt-to-add-suggestions-with-no-changes.stderr
dont-suggest-deref-inside-macro-issue-58298.rs
dont-suggest-deref-inside-macro-issue-58298.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
dont-suggest-foreign-doc-hidden.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
dont-suggest-foreign-doc-hidden.stderr Hide foreign #[doc(hidden)] paths in import suggestions 2023-12-20 00:19:45 -05:00
dont-suggest-pin-array-dot-set.rs
dont-suggest-pin-array-dot-set.stderr Consider methods from traits when suggesting typos 2024-02-22 18:04:55 +00:00
dont-suggest-try_into-in-macros.rs
dont-suggest-try_into-in-macros.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
dont-suggest-ufcs-for-const.rs
dont-suggest-ufcs-for-const.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
dont-try-removing-the-field.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
dont-try-removing-the-field.stderr
dont-wrap-ambiguous-receivers.rs Tweak wording of "implemented trait isn't imported" suggestion 2024-02-22 18:05:27 +00:00
dont-wrap-ambiguous-receivers.stderr Tweak wording of "implemented trait isn't imported" suggestion 2024-02-22 18:05:27 +00:00
enum-method-probe.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
enum-method-probe.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
enum-method-probe.stderr
enum-variant-arg-mismatch.rs
enum-variant-arg-mismatch.stderr On Fn arg mismatch for a fn path, suggest a closure 2023-11-29 18:55:00 +00:00
expected-boxed-future-isnt-pinned.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
expected-boxed-future-isnt-pinned.stderr update ui tests 2024-01-07 08:56:20 -08:00
field-access-considering-privacy.rs
field-access-considering-privacy.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
field-access.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
field-access.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
field-access.stderr
field-has-method.rs
field-has-method.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
fn-ctor-passed-as-arg-where-it-should-have-been-called.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
fn-ctor-passed-as-arg-where-it-should-have-been-called.stderr adjust how closure/generator types and rvalues are printed 2023-09-21 22:20:58 +02:00
fn-missing-lifetime-in-item.rs
fn-missing-lifetime-in-item.stderr
fn-needing-specified-return-type-param.rs
fn-needing-specified-return-type-param.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
fn-or-tuple-struct-with-underscore-args.rs
fn-or-tuple-struct-with-underscore-args.stderr
fn-or-tuple-struct-without-args.rs
fn-or-tuple-struct-without-args.stderr adjust how closure/generator types and rvalues are printed 2023-09-21 22:20:58 +02:00
fn-to-method-deeply-nested.rs
fn-to-method-deeply-nested.stderr
fn-to-method.rs
fn-to-method.stderr
fn-trait-notation.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
fn-trait-notation.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
fn-trait-notation.stderr Continue compilation after check_mod_type_wf errors 2024-02-14 11:00:30 +00:00
for-i-in-vec.fixed Suggest .clone() in some move errors 2024-04-11 16:41:41 +00:00
for-i-in-vec.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
for-i-in-vec.stderr Suggest .clone() in some move errors 2024-04-11 16:41:41 +00:00
format-borrow.rs
format-borrow.stderr
if-let-typo.rs
if-let-typo.stderr
if-then-neeing-semi.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
if-then-neeing-semi.stderr
ignore-nested-field-binding.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
ignore-nested-field-binding.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
ignore-nested-field-binding.stderr
imm-ref-trait-object-literal-bound-regions.rs
imm-ref-trait-object-literal-bound-regions.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
imm-ref-trait-object-literal.rs
imm-ref-trait-object-literal.stderr
imm-ref-trait-object.rs
imm-ref-trait-object.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
impl-on-dyn-trait-with-implicit-static-bound-needing-more-suggestions.rs Continue to borrowck even if there were previous errors 2024-02-08 08:10:43 +00:00
impl-on-dyn-trait-with-implicit-static-bound-needing-more-suggestions.stderr Continue to borrowck even if there were previous errors 2024-02-08 08:10:43 +00:00
impl-on-dyn-trait-with-implicit-static-bound.rs Continue to borrowck even if there were previous errors 2024-02-08 08:10:43 +00:00
impl-on-dyn-trait-with-implicit-static-bound.stderr Continue to borrowck even if there were previous errors 2024-02-08 08:10:43 +00:00
impl-trait-missing-lifetime-gated.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
impl-trait-missing-lifetime-gated.stderr Merge collect_mod_item_types query into check_well_formed 2024-03-07 14:26:31 +00:00
impl-trait-missing-lifetime.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
impl-trait-missing-lifetime.stderr Continue to borrowck even if there were previous errors 2024-02-08 08:10:43 +00:00
impl-trait-return-trailing-semicolon.rs
impl-trait-return-trailing-semicolon.stderr Use TraitRef::to_string sorting in favor of TraitRef::ord, as the latter compares DefIds which we need to avoid 2024-03-27 14:02:15 +00:00
impl-trait-with-missing-bounds.rs
impl-trait-with-missing-bounds.stderr
impl-trait-with-missing-trait-bounds-in-arg.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
impl-trait-with-missing-trait-bounds-in-arg.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
impl-trait-with-missing-trait-bounds-in-arg.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
import-trait-for-method-call.rs Add insta-stable std:#️⃣:{DefaultHasher, RandomState} exports 2023-11-02 20:35:20 -04:00
import-trait-for-method-call.stderr Tweak wording of "implemented trait isn't imported" suggestion 2024-02-22 18:05:27 +00:00
inner_type2.rs
inner_type2.stderr
inner_type.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
inner_type.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
inner_type.stderr
into-convert.rs
into-convert.stderr
into-str.rs
into-str.stderr Use TraitRef::to_string sorting in favor of TraitRef::ord, as the latter compares DefIds which we need to avoid 2024-03-27 14:02:15 +00:00
invalid-bin-op.rs
invalid-bin-op.stderr fix ui tests 2024-02-04 11:34:10 +08:00
issue-21673.rs
issue-21673.stderr
issue-51055-missing-semicolon-between-call-and-tuple.rs
issue-51055-missing-semicolon-between-call-and-tuple.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-52820.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-52820.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-52820.stderr
issue-53692.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-53692.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-53692.stderr
issue-57672.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-59819.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-59819.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-59819.stderr
issue-61226.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-61226.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-61226.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-61963.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-61963.stderr Be less confident when dyn suggestion is not checked for object safety 2024-02-09 20:47:50 -08:00
issue-62843.rs
issue-62843.stderr Use root obligation on E0277 for some cases 2024-03-03 18:53:35 +00:00
issue-64252-self-type.rs
issue-64252-self-type.stderr
issue-66968-suggest-sorted-words.rs
issue-66968-suggest-sorted-words.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-68049-1.rs
issue-68049-1.stderr Account for trait/impl difference when suggesting changing argument from ref to mut ref 2024-04-06 16:23:10 +00:00
issue-68049-2.rs Account for trait/impl difference when suggesting changing argument from ref to mut ref 2024-04-06 16:23:10 +00:00
issue-68049-2.stderr Account for trait/impl difference when suggesting changing argument from ref to mut ref 2024-04-06 16:23:10 +00:00
issue-71394-no-from-impl.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-71394-no-from-impl.stderr Use TraitRef::to_string sorting in favor of TraitRef::ord, as the latter compares DefIds which we need to avoid 2024-03-27 14:02:15 +00:00
issue-72766.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-72766.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-79843-impl-trait-with-missing-bounds-on-async-fn.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-79843-impl-trait-with-missing-bounds-on-async-fn.stderr Revert "Suggest using Arc on !Send/!Sync types" 2023-08-28 03:16:48 -07:00
issue-81098.rs
issue-81098.stderr
issue-81839.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-81839.stderr Remove a suggestion that is redundant 2024-02-15 17:20:44 +00:00
issue-82361.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-82361.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-82361.stderr
issue-82566-1.rs
issue-82566-1.stderr
issue-82566-2.rs
issue-82566-2.stderr
issue-83892.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-83892.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-83892.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-83943.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-83943.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-83943.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-84592.rs
issue-84592.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-84700.rs
issue-84700.stderr
issue-84973-2.rs
issue-84973-2.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-84973-blacklist.rs s/generator/coroutine/ 2023-10-20 21:14:01 +00:00
issue-84973-blacklist.stderr Detect when method call on argument could be removed to fulfill failed trait bound 2024-02-16 04:28:05 +00:00
issue-84973-negative.rs
issue-84973-negative.stderr
issue-84973.rs
issue-84973.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-85347.rs Bless test fallout (duplicate diagnostics) 2024-03-20 13:00:34 -04:00
issue-85347.stderr Bless test fallout (duplicate diagnostics) 2024-03-20 13:00:34 -04:00
issue-85943-no-suggest-unsized-indirection-in-where-clause.rs
issue-85943-no-suggest-unsized-indirection-in-where-clause.stderr review comment: change wording 2024-02-01 03:31:03 +00:00
issue-85945-check-where-clause-before-suggesting-unsized.rs
issue-85945-check-where-clause-before-suggesting-unsized.stderr On E0277 be clearer about implicit Sized bounds on type params and assoc types 2024-02-01 03:30:26 +00:00
issue-86100-tuple-paren-comma.rs
issue-86100-tuple-paren-comma.stderr
issue-86667.rs make type_flags(ReError) & HAS_ERROR 2024-03-20 17:29:58 +00:00
issue-86667.stderr make type_flags(ReError) & HAS_ERROR 2024-03-20 17:29:58 +00:00
issue-88696.rs diagnostics: exclude indirect private deps from trait impl suggest 2023-05-25 08:14:33 -07:00
issue-88696.stderr Provide more context on derived obligation error primary label 2024-01-30 21:28:18 +00:00
issue-88730.rs
issue-88730.stderr
issue-89064.rs
issue-89064.stderr
issue-89333.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-89333.stderr Deduplicate more sized errors on call exprs 2024-01-24 02:53:15 +00:00
issue-89640.rs Detect extra space in keyword for better hint 2023-07-04 18:13:31 +08:00
issue-89640.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-90213-expected-boxfuture-self-ice.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-90213-expected-boxfuture-self-ice.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-90974.rs
issue-90974.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-94171.rs Fix overflow in error emitter 2023-05-19 20:58:06 +02:00
issue-94171.stderr Fix overflow in error emitter 2023-05-19 20:58:06 +02:00
issue-96223.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-96223.stderr Provide more context on derived obligation error primary label 2024-01-30 21:28:18 +00:00
issue-96555.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-96555.stderr Provide more context on derived obligation error primary label 2024-01-30 21:28:18 +00:00
issue-97677.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-97677.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-97677.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-97704.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-97704.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-97704.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-97760.rs
issue-97760.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-98500.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-98500.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-98562.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-98562.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-99080.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-99080.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-99240-2.rs
issue-99240-2.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-99240.rs
issue-99240.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-99597.rs fix(diagnostic): wrap parens for ref impl trait param 2023-05-16 09:29:33 +08:00
issue-99597.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-101065.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-101065.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-101065.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-101421.rs
issue-101421.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-101465.rs
issue-101465.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-101623.rs
issue-101623.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-101984.rs
issue-101984.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-102354.rs
issue-102354.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-102892.rs Continue to borrowck even if there were previous errors 2024-02-08 08:10:43 +00:00
issue-102892.stderr Revert "Auto merge of #122140 - oli-obk:track_errors13, r=davidtwco" 2024-03-11 21:28:16 +00:00
issue-102972.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-102972.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-102972.stderr Use structured suggestion for #113174 2023-10-11 18:26:44 +00:00
issue-103112.rs
issue-103112.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-103646.rs fix: dedup static_candidates before report 2023-05-27 00:52:07 +08:00
issue-103646.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-104086-suggest-let.rs
issue-104086-suggest-let.stderr
issue-104287.rs
issue-104287.stderr
issue-104327.rs
issue-104327.stderr Deduplicate more sized errors on call exprs 2024-01-24 02:53:15 +00:00
issue-104328.rs
issue-104328.stderr Deduplicate more sized errors on call exprs 2024-01-24 02:53:15 +00:00
issue-104961.fixed Use root obligation on E0277 for some cases 2024-03-03 18:53:35 +00:00
issue-104961.rs Use root obligation on E0277 for some cases 2024-03-03 18:53:35 +00:00
issue-104961.stderr Use root obligation on E0277 for some cases 2024-03-03 18:53:35 +00:00
issue-105226.rs
issue-105226.stderr
issue-105494.rs
issue-105494.stderr
issue-105645.rs
issue-105645.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-105761-suggest-self-for-closure.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-105761-suggest-self-for-closure.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-105761-suggest-self-for-closure.stderr
issue-106443-sugg-clone-for-arg.rs
issue-106443-sugg-clone-for-arg.stderr
issue-106443-sugg-clone-for-bound.rs
issue-106443-sugg-clone-for-bound.stderr
issue-107860.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-107860.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-108470.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-108470.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-108470.stderr
issue-109195.rs Create helper maybe_report_similar_assoc_fn 2024-02-05 18:53:28 -08:00
issue-109195.stderr Create helper maybe_report_similar_assoc_fn 2024-02-05 18:53:28 -08:00
issue-109291.rs
issue-109291.stderr Deduplicate some logic and reword output 2024-02-22 18:05:28 +00:00
issue-109396.rs
issue-109396.stderr
issue-109436.rs
issue-109436.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-109854.rs Fix overflow in error emitter 2023-05-19 20:58:06 +02:00
issue-109854.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-109991.rs Do not offer any of the suggestions in emit_coerce_suggestions for expr from destructuring assignment desugaring 2023-06-25 09:26:17 +08:00
issue-109991.stderr Do not offer any of the suggestions in emit_coerce_suggestions for expr from destructuring assignment desugaring 2023-06-25 09:26:17 +08:00
issue-112590-suggest-import.rs add testcase for 112590 2023-07-02 15:35:18 +08:00
issue-112590-suggest-import.stderr add testcase for 112590 2023-07-02 15:35:18 +08:00
issue-114701.rs Remove extra errors 2023-08-15 10:58:33 +00:00
issue-114701.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-114797-bad-parentheses-dyn-trait.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-114797-bad-parentheses-dyn-trait.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-114797-bad-parentheses-dyn-trait.stderr Fix bad suggestion when wrong parentheses around a dyn trait 2023-08-16 00:26:10 +08:00
issue-116434-2015.rs For E0038, suggest associated type if available 2024-02-14 12:42:32 -08:00
issue-116434-2015.stderr For E0038, suggest associated type if available 2024-02-14 12:42:32 -08:00
issue-116434-2021.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-116434-2021.stderr For E0038, suggest associated type if available 2024-02-14 12:42:32 -08:00
issue-117669.rs Reorder type mismatch suggestions 2023-11-08 14:15:25 +00:00
issue-117669.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
js-style-comparison-op-separate-eq-token.rs
js-style-comparison-op-separate-eq-token.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
js-style-comparison-op.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
js-style-comparison-op.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
js-style-comparison-op.stderr
late-bound-in-borrow-closure-sugg.rs
late-bound-in-borrow-closure-sugg.stderr eagerly instantiate binders to avoid relying on sub 2024-03-14 17:19:40 +01:00
let-binding-init-expr-as-ty.rs
let-binding-init-expr-as-ty.stderr
many-type-ascription.rs Rip it out 2023-05-01 16:15:13 +08:00
many-type-ascription.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
match-ergonomics.rs
match-ergonomics.stderr
match-needing-semi.rs
match-needing-semi.stderr
match-prev-arm-needing-semi.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
match-prev-arm-needing-semi.stderr
match-with-different-arm-types-as-stmt-instead-of-expr.rs
match-with-different-arm-types-as-stmt-instead-of-expr.stderr
method-access-to-range-literal-typo.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
method-access-to-range-literal-typo.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
method-access-to-range-literal-typo.stderr recurse into refs when comparing tys for diagnostics 2023-12-07 23:00:46 -05:00
method-missing-parentheses.rs
method-missing-parentheses.stderr
mismatched-types-numeric-from.rs
mismatched-types-numeric-from.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
missing-assoc-fn-applicable-suggestions.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
missing-assoc-fn-applicable-suggestions.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
missing-assoc-fn.rs Stabilize associated type bounds 2024-03-08 20:56:25 +00:00
missing-assoc-fn.stderr Stabilize associated type bounds 2024-03-08 20:56:25 +00:00
missing-assoc-type-bound-restriction.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
missing-bound-in-derive-copy-impl-2.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
missing-bound-in-derive-copy-impl-2.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
missing-bound-in-derive-copy-impl-2.stderr Continue compilation after check_mod_type_wf errors 2024-02-14 11:00:30 +00:00
missing-bound-in-derive-copy-impl-3.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
missing-bound-in-derive-copy-impl-3.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
missing-bound-in-derive-copy-impl-3.stderr Continue compilation after check_mod_type_wf errors 2024-02-14 11:00:30 +00:00
missing-bound-in-derive-copy-impl.rs Continue compilation after check_mod_type_wf errors 2024-02-14 11:00:30 +00:00
missing-bound-in-derive-copy-impl.stderr Continue compilation after check_mod_type_wf errors 2024-02-14 11:00:30 +00:00
missing-bound-in-manual-copy-impl-2.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
missing-bound-in-manual-copy-impl-2.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
missing-bound-in-manual-copy-impl-2.stderr Update tests 2024-02-07 10:42:01 +08:00
missing-bound-in-manual-copy-impl.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
missing-bound-in-manual-copy-impl.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
missing-bound-in-manual-copy-impl.stderr Update tests 2024-02-07 10:42:01 +08:00
missing-lifetime-in-assoc-const-type.default.stderr Update existing UI tests 2023-07-28 22:23:21 +02:00
missing-lifetime-in-assoc-const-type.generic_const_items.stderr Update existing UI tests 2023-07-28 22:23:21 +02:00
missing-lifetime-in-assoc-const-type.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
missing-lifetime-specifier.rs make type_flags(ReError) & HAS_ERROR 2024-03-20 17:29:58 +00:00
missing-lifetime-specifier.stderr make type_flags(ReError) & HAS_ERROR 2024-03-20 17:29:58 +00:00
missing-lt-for-hrtb.rs Continue to borrowck even if there were previous errors 2024-02-08 08:10:43 +00:00
missing-lt-for-hrtb.stderr Continue to borrowck even if there were previous errors 2024-02-08 08:10:43 +00:00
missing-semicolon.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
missing-semicolon.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
missing-semicolon.stderr Detect missing ; that parses as function call 2023-08-08 15:11:23 +00:00
missing-trait-item.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
missing-trait-item.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
missing-trait-item.stderr Update tests 2024-02-07 10:42:01 +08:00
missing-type-param-used-in-param.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
missing-type-param-used-in-param.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
missing-type-param-used-in-param.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
move-generic-to-trait-in-method-with-params.rs
move-generic-to-trait-in-method-with-params.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
multibyte-escapes.rs
multibyte-escapes.stderr
mut-borrow-needed-by-trait.rs
mut-borrow-needed-by-trait.stderr Use only one label for multiple unsatisfied bounds on type (typeck) 2024-01-26 20:47:19 +00:00
mut-ref-reassignment.rs
mut-ref-reassignment.stderr recurse into refs when comparing tys for diagnostics 2023-12-07 23:00:46 -05:00
negative-literal-index.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
negative-literal-index.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
negative-literal-index.stderr
nested-non-tuple-tuple-struct.rs
nested-non-tuple-tuple-struct.stderr
no-extern-crate-in-type.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
no-extern-crate-in-type.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
non_ascii_ident.rs rustc_hir_typeck: Fix ICE when probing for non-ASCII function alternative 2023-12-01 21:37:43 +01:00
non_ascii_ident.stderr rustc_hir_typeck: Fix ICE when probing for non-ASCII function alternative 2023-12-01 21:37:43 +01:00
non-existent-field-present-in-subfield-recursion-limit.rs
non-existent-field-present-in-subfield-recursion-limit.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
non-existent-field-present-in-subfield.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
non-existent-field-present-in-subfield.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
non-existent-field-present-in-subfield.stderr recover primary span label 2023-11-16 17:00:23 +00:00
object-unsafe-trait-references-self.rs Continue compilation after check_mod_type_wf errors 2024-02-14 11:00:30 +00:00
object-unsafe-trait-references-self.stderr Continue compilation after check_mod_type_wf errors 2024-02-14 11:00:30 +00:00
object-unsafe-trait-should-use-self-2021-without-dyn.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
object-unsafe-trait-should-use-self-2021-without-dyn.stderr maybe_lint_impl_trait: separate is_downgradable from is_object_safe 2024-01-21 20:04:39 +04:00
object-unsafe-trait-should-use-self-2021.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
object-unsafe-trait-should-use-self-2021.stderr Account for traits using self-trait by name without dyn 2024-01-19 23:37:39 +00:00
object-unsafe-trait-should-use-self.rs
object-unsafe-trait-should-use-self.stderr
object-unsafe-trait-should-use-where-sized.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
object-unsafe-trait-should-use-where-sized.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
object-unsafe-trait-should-use-where-sized.stderr
only-suggest-removal-of-conversion-method-calls.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
only-suggest-removal-of-conversion-method-calls.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
only-suggest-removal-of-conversion-method-calls.stderr Only suggest removal of as_* and to_ conversion methods on E0308 2024-01-29 19:07:36 +00:00
opaque-type-error.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
opaque-type-error.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
option-content-move2.rs
option-content-move2.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
option-content-move-from-tuple-match.rs
option-content-move-from-tuple-match.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
option-content-move.fixed Suggest .clone() in some move errors 2024-04-11 16:41:41 +00:00
option-content-move.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
option-content-move.stderr Suggest .clone() in some move errors 2024-04-11 16:41:41 +00:00
option-to-bool.rs Remove useless configs in tests 2024-04-07 01:16:45 +02:00
option-to-bool.stderr Remove useless configs in tests 2024-04-07 01:16:45 +02:00
parenthesized-deref-suggestion.rs
parenthesized-deref-suggestion.stderr recover primary span label 2023-11-16 17:00:23 +00:00
path-by-value.rs
path-by-value.stderr Provide more context on derived obligation error primary label 2024-01-30 21:28:18 +00:00
path-display.rs
path-display.stderr Provide more context on derived obligation error primary label 2024-01-30 21:28:18 +00:00
pattern-slice-vec.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
pattern-slice-vec.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
pattern-slice-vec.stderr
pattern-struct-with-slice-vec-field.rs
pattern-struct-with-slice-vec-field.stderr
private-field.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
private-field.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
range-index-instead-of-colon.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
range-index-instead-of-colon.stderr Change help message to make some sense in broader context 2023-11-27 22:18:03 +09:00
raw-byte-string-prefix.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
raw-byte-string-prefix.stderr
raw-name-use-suggestion.rs
raw-name-use-suggestion.stderr Special-case item attributes in the suggestion output 2023-04-12 22:50:10 +00:00
recover-from-semicolon-trailing-item.rs
recover-from-semicolon-trailing-item.stderr
recover-invalid-float-invalid.rs
recover-invalid-float-invalid.stderr
recover-invalid-float.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
recover-invalid-float.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
recover-invalid-float.stderr
recover-missing-turbofish-surrounding-angle-braket.rs
recover-missing-turbofish-surrounding-angle-braket.stderr
ref-pattern-binding.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
ref-pattern-binding.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
ref-pattern-binding.stderr Tweak wording 2024-03-13 23:05:17 +00:00
removal-of-multiline-trait-bound-in-where-clause.rs
removal-of-multiline-trait-bound-in-where-clause.stderr review comment: change wording 2024-02-01 03:31:03 +00:00
remove-as_str.rs
remove-as_str.stderr
remove-question-symbol-with-paren.rs fix the span in the suggestion of remove question mark 2023-08-03 16:44:02 +08:00
remove-question-symbol-with-paren.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
restrict-existing-type-bounds.rs
restrict-existing-type-bounds.stderr Tweak wording of type errors involving type params 2023-10-18 23:53:18 +00:00
restrict-type-argument.rs
restrict-type-argument.stderr Revert "Suggest using Arc on !Send/!Sync types" 2023-08-28 03:16:48 -07:00
restrict-type-not-param.rs
restrict-type-not-param.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
return-bindings-multi.rs
return-bindings-multi.stderr
return-bindings.rs
return-bindings.stderr
return-closures.rs
return-closures.stderr Use suggest_impl_trait in return type suggestion 2024-04-10 18:58:15 -04:00
return-cycle-2.rs
return-cycle-2.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
return-cycle.rs
return-cycle.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
return-elided-lifetime.rs
return-elided-lifetime.stderr Tweak wording 2023-11-20 23:44:37 +00:00
return-without-lifetime.rs
return-without-lifetime.stderr
shadowed-lplace-method-2.rs
shadowed-lplace-method-2.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
shadowed-lplace-method.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
shadowed-lplace-method.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
shadowed-lplace-method.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
silenced-binding-typo.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
silenced-binding-typo.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
silenced-binding-typo.stderr Update UI test checking suggestion message to rename type starting with underscore 2024-02-29 12:08:03 +01:00
slice-issue-87994.rs Use root obligation on E0277 for some cases 2024-03-03 18:53:35 +00:00
slice-issue-87994.stderr Use root obligation on E0277 for some cases 2024-03-03 18:53:35 +00:00
struct-field-type-including-single-colon.rs
struct-field-type-including-single-colon.stderr
struct-initializer-comma.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
struct-initializer-comma.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
struct-initializer-comma.stderr
sugg_with_positional_args_and_debug_fmt.rs
sugg_with_positional_args_and_debug_fmt.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
sugg-else-for-closure.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
sugg-else-for-closure.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
sugg-else-for-closure.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
suggest_print_over_printf.rs
suggest_print_over_printf.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
suggest-add-self.rs
suggest-add-self.stderr
suggest-adding-reference-to-trait-assoc-item.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
suggest-adding-reference-to-trait-assoc-item.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
suggest-adding-reference-to-trait-assoc-item.stderr Deduplicate more sized errors on call exprs 2024-01-24 02:53:15 +00:00
suggest-assoc-fn-call-deref.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
suggest-assoc-fn-call-deref.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
suggest-assoc-fn-call-deref.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
suggest-assoc-fn-call-for-impl-trait.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
suggest-assoc-fn-call-for-impl-trait.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
suggest-assoc-fn-call-for-impl-trait.stderr test: add test case for impl trait arg suggestion 2024-01-14 18:54:07 +08:00
suggest-assoc-fn-call-with-turbofish-placeholder.rs
suggest-assoc-fn-call-with-turbofish-placeholder.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
suggest-assoc-fn-call-with-turbofish-through-deref.rs
suggest-assoc-fn-call-with-turbofish-through-deref.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
suggest-assoc-fn-call-with-turbofish.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
suggest-assoc-fn-call-with-turbofish.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
suggest-assoc-fn-call-with-turbofish.stderr
suggest-assoc-fn-call-without-receiver.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
suggest-assoc-fn-call-without-receiver.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
suggest-assoc-fn-call-without-receiver.stderr chore: add test case for type with generic 2023-12-09 17:49:40 +08:00
suggest-blanket-impl-local-trait.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
suggest-blanket-impl-local-trait.stderr Merge collect_mod_item_types query into check_well_formed 2024-03-07 14:26:31 +00:00
suggest-box.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
suggest-box.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
suggest-box.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
suggest-boxed-empty-block.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
suggest-boxed-empty-block.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
suggest-boxed-empty-block.stderr Fix suggestion for boxing an async closure body, and 2023-05-07 20:30:56 -07:00
suggest-call-on-pat-mismatch.rs
suggest-call-on-pat-mismatch.stderr
suggest-change-mut.rs
suggest-change-mut.stderr Use only one label for multiple unsatisfied bounds on type (typeck) 2024-01-26 20:47:19 +00:00
suggest-closure-return-type-1.rs
suggest-closure-return-type-1.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
suggest-closure-return-type-2.rs
suggest-closure-return-type-2.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
suggest-closure-return-type-3.rs
suggest-closure-return-type-3.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
suggest-dereferencing-index.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
suggest-dereferencing-index.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
suggest-dereferencing-index.stderr Provide more context on derived obligation error primary label 2024-01-30 21:28:18 +00:00
suggest-field-through-deref.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
suggest-field-through-deref.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
suggest-field-through-deref.stderr recover primary span label 2023-11-16 17:00:23 +00:00
suggest-fn-ptr-for-fn-item-in-fn-ret.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
suggest-fn-ptr-for-fn-item-in-fn-ret.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
suggest-fn-ptr-for-fn-item-in-fn-ret.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
suggest-full-enum-variant-for-local-module.rs
suggest-full-enum-variant-for-local-module.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
suggest-imm-mut-trait-implementations.rs
suggest-imm-mut-trait-implementations.stderr
suggest-impl-trait-lifetime.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
suggest-impl-trait-lifetime.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
suggest-impl-trait-lifetime.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
suggest-labels.rs
suggest-labels.stderr
suggest-let-for-assignment.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
suggest-let-for-assignment.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
suggest-let-for-assignment.stderr feat: make let_binding_suggestion more reasonable 2023-11-23 20:22:17 +08:00
suggest-methods.rs Consider methods from traits when suggesting typos 2024-02-22 18:04:55 +00:00
suggest-methods.stderr Deduplicate some logic and reword output 2024-02-22 18:05:28 +00:00
suggest-move-lifetimes.rs
suggest-move-lifetimes.stderr
suggest-move-types.rs
suggest-move-types.stderr
suggest-mut-method-for-loop-closure.rs use maybe_body_owned_by for closure 2023-07-14 07:12:35 +08:00
suggest-mut-method-for-loop-closure.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
suggest-mut-method-for-loop-hashmap.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
suggest-mut-method-for-loop-hashmap.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
suggest-mut-method-for-loop-hashmap.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
suggest-mut-method-for-loop.rs
suggest-mut-method-for-loop.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
suggest-on-bare-closure-call.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
suggest-on-bare-closure-call.stderr
suggest-pin-macro.rs
suggest-pin-macro.stderr Provide more context on derived obligation error primary label 2024-01-30 21:28:18 +00:00
suggest-ref-macro.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
suggest-ref-macro.stderr Tweak borrow suggestion 2023-05-08 03:36:30 +00:00
suggest-ref-mut.rs tweak spans for ref mut suggestion 2023-05-05 22:40:05 +12:00
suggest-ref-mut.stderr tweak spans for ref mut suggestion 2023-05-05 22:40:05 +12:00
suggest-remove-deref.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
suggest-remove-deref.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
suggest-remove-deref.stderr
suggest-remove-refs-1.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
suggest-remove-refs-1.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
suggest-remove-refs-1.stderr Provide more context on derived obligation error primary label 2024-01-30 21:28:18 +00:00
suggest-remove-refs-2.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
suggest-remove-refs-2.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
suggest-remove-refs-2.stderr Provide more context on derived obligation error primary label 2024-01-30 21:28:18 +00:00
suggest-remove-refs-3.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
suggest-remove-refs-3.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
suggest-remove-refs-3.stderr Provide more context on derived obligation error primary label 2024-01-30 21:28:18 +00:00
suggest-remove-refs-4.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
suggest-remove-refs-4.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
suggest-remove-refs-4.stderr Provide more context on derived obligation error primary label 2024-01-30 21:28:18 +00:00
suggest-remove-refs-5.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
suggest-remove-refs-5.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
suggest-remove-refs-5.stderr Use root obligation on E0277 for some cases 2024-03-03 18:53:35 +00:00
suggest-ret-on-async-w-late.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
suggest-ret-on-async-w-late.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
suggest-ret-on-async-w-late.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
suggest-semicolon-for-fn-in-extern-block.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
suggest-semicolon-for-fn-in-extern-block.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
suggest-semicolon-for-fn-in-extern-block.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
suggest-slice-swap.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
suggest-slice-swap.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
suggest-slice-swap.stderr Suggest .swap() instead of mem::swap() in more cases 2024-01-19 01:30:46 -08:00
suggest-split-at-mut.rs
suggest-split-at-mut.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
suggest-std-when-using-type.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
suggest-std-when-using-type.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
suggest-std-when-using-type.stderr
suggest-swapping-self-ty-and-trait-edition-2021.rs Merge collect_mod_item_types query into check_well_formed 2024-03-07 14:26:31 +00:00
suggest-swapping-self-ty-and-trait-edition-2021.stderr Merge collect_mod_item_types query into check_well_formed 2024-03-07 14:26:31 +00:00
suggest-swapping-self-ty-and-trait.rs Merge collect_mod_item_types query into check_well_formed 2024-03-07 14:26:31 +00:00
suggest-swapping-self-ty-and-trait.stderr Merge collect_mod_item_types query into check_well_formed 2024-03-07 14:26:31 +00:00
suggest-trait-in-ufcs-in-hrtb.rs
suggest-trait-in-ufcs-in-hrtb.stderr Update test outputs 2023-12-22 11:01:07 -08:00
suggest-trait-items.rs
suggest-trait-items.stderr
suggest-tryinto-edition-change.rs Consider methods from traits when suggesting typos 2024-02-22 18:04:55 +00:00
suggest-tryinto-edition-change.stderr Deduplicate some logic and reword output 2024-02-22 18:05:28 +00:00
suggest-using-chars.rs
suggest-using-chars.stderr
suggest-variants.rs
suggest-variants.stderr
suppress-consider-slicing-issue-120605.rs Don't show suggestion if slice pattern is enclosed by any patterns 2024-03-17 19:21:13 +09:00
suppress-consider-slicing-issue-120605.stderr Don't show suggestion if slice pattern is enclosed by any patterns 2024-03-17 19:21:13 +09:00
too-many-field-suggestions.rs
too-many-field-suggestions.stderr recover primary span label 2023-11-16 17:00:23 +00:00
trait-hidden-method.rs
trait-hidden-method.stderr Detect object safety errors when assoc type is missing 2023-10-30 22:12:07 +00:00
trait-with-missing-associated-type-restriction-fixable.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
trait-with-missing-associated-type-restriction-fixable.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
trait-with-missing-associated-type-restriction-fixable.stderr
trait-with-missing-associated-type-restriction.rs
trait-with-missing-associated-type-restriction.stderr Tweak wording of type errors involving type params 2023-10-18 23:53:18 +00:00
try-operator-dont-suggest-semicolon.rs
try-operator-dont-suggest-semicolon.stderr
try-removing-the-field.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
try-removing-the-field.stderr
type-ascription-and-other-error.rs
type-ascription-and-other-error.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
type-ascription-instead-of-let.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
type-ascription-instead-of-let.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
type-ascription-instead-of-let.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
type-ascription-instead-of-method.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
type-ascription-instead-of-method.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
type-ascription-instead-of-method.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
type-ascription-instead-of-path-2.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
type-ascription-instead-of-path-2.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
type-ascription-instead-of-path-2.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
type-ascription-instead-of-path-in-type.rs Stabilize associated type bounds 2024-03-08 20:56:25 +00:00
type-ascription-instead-of-path-in-type.stderr Stabilize associated type bounds 2024-03-08 20:56:25 +00:00
type-ascription-instead-of-path.rs Rip it out 2023-05-01 16:15:13 +08:00
type-ascription-instead-of-path.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
type-ascription-instead-of-variant.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
type-ascription-instead-of-variant.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
type-ascription-instead-of-variant.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
type-mismatch-byte-literal.rs
type-mismatch-byte-literal.stderr
type-mismatch-struct-field-shorthand-2.rs
type-mismatch-struct-field-shorthand-2.stderr tweak logic of "unknown field" label 2023-11-18 00:40:11 +00:00
type-mismatch-struct-field-shorthand.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
type-mismatch-struct-field-shorthand.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
type-mismatch-struct-field-shorthand.stderr
type-not-found-in-adt-field.rs
type-not-found-in-adt-field.stderr
undeclared-module-alloc.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
undeclared-module-alloc.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
unnamable-types.rs s/generator/coroutine/ 2023-10-20 21:14:01 +00:00
unnamable-types.stderr s/generator/coroutine/ 2023-10-20 21:14:01 +00:00
unnecessary_dot_for_floating_point_literal.rs
unnecessary_dot_for_floating_point_literal.stderr
unsized-function-parameter.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
unsized-function-parameter.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
unsized-function-parameter.stderr
unused-closure-argument.rs
unused-closure-argument.stderr
use-placement-resolve.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
use-placement-resolve.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
use-placement-resolve.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
use-placement-typeck.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
use-placement-typeck.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
use-placement-typeck.stderr Tweak wording of "implemented trait isn't imported" suggestion 2024-02-22 18:05:27 +00:00
use-type-argument-instead-of-assoc-type.rs
use-type-argument-instead-of-assoc-type.stderr Sort errors 2023-10-30 22:19:17 +00:00
while-let-typo.rs Fix ICE for while loop with assignment condition with LHS place expr 2023-06-08 02:38:12 +08:00
while-let-typo.stderr Fix ICE for while loop with assignment condition with LHS place expr 2023-06-08 02:38:12 +08:00