Improve error when compiling a derive macro with -Z sanitizer #63986
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
A-driver
Area: rustc_driver that ties everything together into the `rustc` compiler
A-sanitizers
Area: Sanitizers for correctness and code quality
C-enhancement
Category: An issue proposing an enhancement or a PR with one.
requires-nightly
This issue requires a nightly compiler in some way.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
I'm trying to build some code with the address sanitiser on; and I run into this error:
After some googling the solution appears to be(from #48199) to use
--target=...
. I was wondering if the message could be improved to something like:The text was updated successfully, but these errors were encountered: