about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorTakayuki Maeda <takoyaki0316@gmail.com>2023-11-19 04:14:41 +0900
committerGitHub <noreply@github.com>2023-11-19 04:14:41 +0900
commit9e84f6d86aea014dd3b361b6f80384bf06660d6b (patch)
tree2897a72794c2ce63eb7ecdea842f1dcd5e99928c /compiler/rustc_codegen_llvm/src
parentbaf3059f4e37bdc263a78ed2057b6e2b80cd883b (diff)
parent289ce572b399d55c3d97f5411dbe43817cd7e8e3 (diff)
downloadrust-9e84f6d86aea014dd3b361b6f80384bf06660d6b.tar.gz
rust-9e84f6d86aea014dd3b361b6f80384bf06660d6b.zip
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
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions