Uh oh!
There was an error while loading. Please reload this page.
fix: inner attribute followed by outer attribute causing ICE - #90267
Conversation
rust-highfive
commented
Oct 25, 2021
Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @Mark-Simulacrum (or someone else) soon. Please see the contribution instructions for more information. |
Mark-Simulacrum
commented
Oct 25, 2021
r? @Aaron1011 |
This will cause incorrectly placed outer attributes to get re-ordered in some cases (e.g. @EliseZeroTwo Could you change the EDIT: Adding in a |
EliseZeroTwo
commented
Oct 26, 2021
I had attempted to add I added a test for this though, it panics on the commit before mine and runs successfully after my commit. |
This comment has been minimized.
This comment has been minimized.
3255dc4 to
d4ad543Compare
This comment has been minimized.
This comment has been minimized.
d4ad543 to
2a7f0cbCompareUh oh!
There was an error while loading. Please reload this page.
2a7f0cb to
7f0d43aCompareAaron1011
commented
Oct 27, 2021
Thanks! @bors r+ |
bors
commented
Oct 27, 2021
📌 Commit 7f0d43a has been approved by |
…askrgr Rollup of 5 pull requests Successful merges: - rust-lang#90239 (Consistent big O notation in map.rs) - rust-lang#90267 (fix: inner attribute followed by outer attribute causing ICE) - rust-lang#90288 (Add hint for people missing `TryFrom`, `TryInto`, `FromIterator` import pre-2021) - rust-lang#90304 (Add regression test for rust-lang#75961) - rust-lang#90344 (Add tracking issue number to const_cstr_unchecked) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
Fixes#87936, #88938, and #89971.
This removes the assertion that validates that there are no outer attributes following inner attributes. Where the inner attribute is invalid you get an actual error.