Diagnostics error in interaction between #[optimize(..)]
and #[no_sanitize(..)]
#137950
Labels
A-attributes
Area: Attributes (`#[…]`, `#![…]`)
A-diagnostics
Area: Messages for errors, warnings, and lints
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Code
https://play.rust-lang.org/?version=nightly&mode=debug&edition=2024&gist=eaaf800ea55d5e224c36354bacddc6e3
Current output
Desired output
Rationale and extra context
This is simply a bug. I wasn't even sure if I wanted to report it since I'm working on the code anyway and will simply remove it at some point with a test. No need to do anything, but I wanted something to point to when I fix it.
@rustbot claim
@rustbot label +A-attributes -needs-triage
Other cases
Rust Version
nightly (dw, I'll fix it myself)
Anything else?
No response
The text was updated successfully, but these errors were encountered: