diff options
| author | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2023-01-19 11:19:34 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-01-19 11:19:34 +0100 |
| commit | 1a878df2b8d92c702548cb00bcf47b0af8176a97 (patch) | |
| tree | 35474cd09e777d00750216bcce2ca93d96460db2 /compiler/rustc_mir_transform/src/coverage/mod.rs | |
| parent | 30ddeefcf09023b5924844bd3a2ac7573c60faf8 (diff) | |
| parent | b73cdf1b29d25d3c6d0cc4f8a7744b08930e86ee (diff) | |
| download | rust-1a878df2b8d92c702548cb00bcf47b0af8176a97.tar.gz rust-1a878df2b8d92c702548cb00bcf47b0af8176a97.zip | |
Rollup merge of #106927 - Ezrashaw:e0606-make-machine-applicable, r=estebank
make `CastError::NeedsDeref` create a `MachineApplicable` suggestion Fixes #106903 Simple impl for the linked issue. I also made some other small changes: - `CastError::ErrorGuaranteed` now owns an actual `ErrorGuaranteed`. This better enforces the static guarantees of `ErrorGuaranteed`. - `CastError::NeedDeref` code simplified a bit, we now just suggest the `*`, instead of the whole expression as well.
Diffstat (limited to 'compiler/rustc_mir_transform/src/coverage/mod.rs')
0 files changed, 0 insertions, 0 deletions
