diff options
| author | Mara Bos <m-ou.se@m-ou.se> | 2021-02-08 19:28:17 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-02-08 19:28:17 +0100 |
| commit | b263981fd7c1285cddf2f207554749a425d42978 (patch) | |
| tree | bac0457a99719672fd1e91d7328299bb3c3dee0f /compiler/rustc_llvm/llvm-wrapper/ArchiveWrapper.cpp | |
| parent | 2c8d1c8cef3c7ec45f7f8729e38899dfa0e09058 (diff) | |
| parent | af28c2e64df82744cd627b0c305eb2e4d4d260ca (diff) | |
| download | rust-b263981fd7c1285cddf2f207554749a425d42978.tar.gz rust-b263981fd7c1285cddf2f207554749a425d42978.zip | |
Rollup merge of #81779 - geogriff:const-ptr-to-int-error, r=lcnr
improve error message for disallowed ptr-to-int casts in const eval Improves an error message as [suggested](https://github.com/rust-lang/rust/issues/80875#issuecomment-762754580) in #80875. Does the wording make enough sense? I tried to follow precedent for error message style while maintaining brevity. It seems like the rest of the `ConstEvalErrKind::NeedsRfc` error messages could be improved as well. I could give that a go if this approach works. Closes #80875
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/ArchiveWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
