Compilation succeeds even if there is #[inline] in the structure field. #80564
Labels
A-attributes
Area: Attributes (`#[…]`, `#![…]`)
C-bug
Category: This is a bug.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
I tried this code:
I expected to see this happen: Failing complilation.
Instead, this happened: Compilation success.
Meta
rustc --version --verbose
:The text was updated successfully, but these errors were encountered: