ICE "Found outer attribute Attribute..." with #[derive(thiserrror::Error)] and #[allow(..)] #88938
Labels
C-bug
Category: This is a bug.
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Code
Playground link: https://play.rust-lang.org/?version=stable&mode=debug&edition=2018&gist=b149086e3735754ac70811ca05103814
This might be a dupe of #87936, but the combination of the
#![warn(..)]
placement and the fact that this is just using a proc macro led me to think it's possible it's different enough to be interesting.Meta
rustc --version --verbose
:Also occurs in nightly:
Error output
Backtrace
The text was updated successfully, but these errors were encountered: