Steps to reproduce
git clone https://github.com/femtovg/femtovg
cd femtovg
cargo build --all-features --features glutin/wayland,glutin/egl
yields:
error: recursion limit reached while expanding `$crate::__bitflags_flag_name!`
--> /Users/simon/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/dispatch2-0.3.1/src/generated/mod.rs:1601:1
|
1601 | / bitflags::bitflags! {
1602 | | impl dispatch_block_flags_t: c_ulong {
1603 | | /// Flags to pass to the dispatch_block_create* functions.
1604 | | ///
... |
1976 | | }
| |_^
|
= help: consider increasing the recursion limit by adding a `#![recursion_limit = "256"]` attribute to your crate (`dispatch2`)
= note: this error originates in the macro `$crate::__bitflags_flag_name` which comes from the expansion of the macro `bitflags::bitflags` (in Nightly builds, run with -Z macro-backtrace for more info)
error: could not compile `dispatch2` (lib) due to 1 previous error
warning: build failed, waiting for other jobs to finish...
It compiles with version 2.11.1.
Steps to reproduce
yields:
It compiles with version 2.11.1.