mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-28 01:34:21 +00:00
dfa75391f8
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 |
||
---|---|---|
.. | ||
auxiliary | ||
offset-of-arg-count.rs | ||
offset-of-arg-count.stderr | ||
offset-of-builtin.rs | ||
offset-of-builtin.stderr | ||
offset-of-dst-field.rs | ||
offset-of-dst-field.stderr | ||
offset-of-enum.rs | ||
offset-of-enum.stderr | ||
offset-of-inference.rs | ||
offset-of-inference.stderr | ||
offset-of-must-use.rs | ||
offset-of-must-use.stderr | ||
offset-of-output-type.rs | ||
offset-of-output-type.stderr | ||
offset-of-private.rs | ||
offset-of-private.stderr | ||
offset-of-self.rs | ||
offset-of-self.stderr | ||
offset-of-tuple-nested.rs | ||
offset-of-tuple.rs | ||
offset-of-tuple.stderr | ||
offset-of-unsized.rs | ||
offset-of-unstable-with-feature.rs | ||
offset-of-unstable.rs | ||
offset-of-unstable.stderr |