rust/tests/ui/tuple
Esteban Küber dfa75391f8 Suggest field typo through derefs
Take into account implicit dereferences when suggesting fields.

```
error[E0609]: no field `longname` on type `Arc<S>`
  --> $DIR/suggest-field-through-deref.rs:10:15
   |
LL |     let _ = x.longname;
   |               ^^^^^^^^ help: a field with a similar name exists: `long_name`
```

CC https://github.com/rust-lang/rust/issues/78374#issuecomment-719564114
2023-11-16 17:00:23 +00:00
..
tuple-struct-fields Add a note to duplicate diagnostics 2023-10-05 01:04:41 +00:00
add-tuple-within-arguments.rs
add-tuple-within-arguments.stderr
array-diagnostics.rs
array-diagnostics.stderr
builtin-fail.rs
builtin-fail.stderr
builtin.rs
index-float.rs
index-invalid.rs
index-invalid.stderr
indexing-in-macro.rs
nested-index.rs
one-tuple.rs
tup.rs
tuple-arity-mismatch.rs
tuple-arity-mismatch.stderr
tuple-index-fat-types.rs
tuple-index-not-tuple.rs
tuple-index-not-tuple.stderr Suggest field typo through derefs 2023-11-16 17:00:23 +00:00
tuple-index-out-of-bounds.rs
tuple-index-out-of-bounds.stderr
tuple-index.rs
wrong_argument_ice-2.rs
wrong_argument_ice-2.stderr
wrong_argument_ice-3.rs
wrong_argument_ice-3.stderr
wrong_argument_ice-4.rs
wrong_argument_ice-4.stderr adjust how closure/generator types and rvalues are printed 2023-09-21 22:20:58 +02:00
wrong_argument_ice.rs
wrong_argument_ice.stderr