diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2022-03-10 12:20:50 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-03-10 12:20:50 +0100 |
| commit | 7473750b13c2000a1ce04d851906030527d6278a (patch) | |
| tree | 269f80fa1c891a7c82aa7f89179e47ba20872488 /compiler/rustc_errors/src | |
| parent | d7b282b886472413a26ef22c848eda0499d12cd3 (diff) | |
| parent | 814c18a6dc60ae1ce70ee6da3b10fb59e936e3c5 (diff) | |
| download | rust-7473750b13c2000a1ce04d851906030527d6278a.tar.gz rust-7473750b13c2000a1ce04d851906030527d6278a.zip | |
Rollup merge of #92150 - compiler-errors:better_usize_to_wide_ptr_cast, r=petrochenkov
Improve suggestion when casting usize to (possibly) wide pointer I thought #92125 was a wonderful idea, so I went ahead and took a stab at it. Not sure if my approach is the best going forward, but I'm happy with the improvement in the error message. Iwill definitely address any changes if people are more opinionated with the wordings or want more features. Also, do I need to add a new error code? (Fixes #92125)
Diffstat (limited to 'compiler/rustc_errors/src')
0 files changed, 0 insertions, 0 deletions
