Compilation failure after #92472 merged in #95569
Labels
C-bug
Category: This is a bug.
regression-from-stable-to-nightly
Performance or correctness regression from stable to nightly.
As of
nightly-2022-03-28
, some of our code utilizing macros inatsamd
started to fail to compile. The code that is failing is some macro magic for making nice pin name aliases for microcontrollers, so it's not surprising that #92472 broke it. I see that some other repos were broken as well and that @petrochenkov helped fix it, but I'm really not sure how to do the fix in our repo.Code
To reproduce:
atsamd
reporustup default nightly-2022-03-28 && rustup target add thumbv6m-none-eabi
cd atsamd/boards/feather_m0
cargo check --example=blinky_basic
I expect this to compile properly like on stable, instead it fails to compile with:
Version it worked on
It most recently worked on:
nightly-2022-03-27
Version with regression
Regressed to 551b4fa with
cargo-bisect-rustc
(cargo bisect-rustc --start=1d9c262eea411ec5230f8a4c9ba50b3647064da4 --end=ab0c2e18dceb7140626a158affb983ae81039bd0 --target thumbv6m-none-eabi -- check --example=blinky_basic
)rustc --version --verbose
:@rustbot modify labels: +regression-from-stable-to-nightly -regression-untriaged
The text was updated successfully, but these errors were encountered: