about summary refs log tree commit diff
path: root/compiler/rustc_errors/src
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2022-03-10 12:20:50 +0100
committerGitHub <noreply@github.com>2022-03-10 12:20:50 +0100
commit7473750b13c2000a1ce04d851906030527d6278a (patch)
tree269f80fa1c891a7c82aa7f89179e47ba20872488 /compiler/rustc_errors/src
parentd7b282b886472413a26ef22c848eda0499d12cd3 (diff)
parent814c18a6dc60ae1ce70ee6da3b10fb59e936e3c5 (diff)
downloadrust-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