diff options
| author | Dylan DPC <99973273+Dylan-DPC@users.noreply.github.com> | 2022-06-29 10:28:24 +0530 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-06-29 10:28:24 +0530 |
| commit | 25fb2b47a506b1c9956d7fba14d12a5175866154 (patch) | |
| tree | 7a6a4e36d9fe5b58cd220ce720642bec26fe3599 /compiler/rustc_codegen_llvm/src/builder.rs | |
| parent | 021d21c88877bb8f5db8326ebfdb1baad64b1e70 (diff) | |
| parent | 8fd73560b3ba9d970887b36e335de256ca293c80 (diff) | |
| download | rust-25fb2b47a506b1c9956d7fba14d12a5175866154.tar.gz rust-25fb2b47a506b1c9956d7fba14d12a5175866154.zip | |
Rollup merge of #98603 - compiler-errors:minor-borrowck-diagnostic-fixes, r=davidtwco
Some borrowck diagnostic fixes 1. Remove some redundant `.as_ref` suggestion logic from borrowck, this has the consequence of also not suggesting `.as_ref` after `Option` methods, but (correctly) before. 2. Fix a bug where we were replacing a binding's name with a type. Instead, make it a note. This is somewhat incomplete. See `src/test/ui/borrowck/suggest-as-ref-on-mut-closure.rs` for more improvements.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/builder.rs')
0 files changed, 0 insertions, 0 deletions
