rust/tests/ui/suggestions
Takayuki Maeda 9e84f6d86a
Rollup merge of #117110 - estebank:deref-field-suggestion, r=b-naber
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-19 04:14:41 +09:00
..
2023-05-19 20:58:06 +02:00
2023-04-27 17:18:11 +00:00
2023-03-27 14:56:59 +02:00
2023-05-19 20:58:06 +02:00
2023-08-15 10:58:33 +00:00
2023-08-15 10:58:33 +00:00
2023-05-01 16:15:13 +08:00
2023-05-01 16:15:13 +08:00
2023-05-08 03:36:30 +00:00
2023-05-01 16:15:13 +08:00
2023-10-20 21:14:01 +00:00
2023-10-20 21:14:01 +00:00