inner macro attributes no longer compile on rust 1.52 #85015
Labels
C-bug
Category: This is a bug.
regression-from-stable-to-stable
Performance or correctness regression from one stable version to another.
Milestone
Code
I have some proprietary code similar to this that has worked up through rust 1.51. Looking at the linked issues it looks like it should have never compiled in the first place. Whether this is fixed or not, I'll be moving the attributes out to their module definitions so that I can move on.
Cargo.toml:
src/lib.rs
src/compile.rs (generated by build.rs)
src/do_not_compile.rs (generated by build.rs)
I expected to have the code compile with these 3 warnings (though I don't get them with my other code):
Instead, the code doesn't compile referencing error E0658
Version it worked on
It most recently worked on: Rust 1.51
Version with regression
rustc --version --verbose
:The text was updated successfully, but these errors were encountered: