Every time I see an error like:
error: associated constants are experimental (see issue #29646)
...
= help: add #![feature(associated_consts)] to the crate attributes to enable
= note: this error originates in a macro outside of the current crate
I fork the crate and add the feature to the crate attributes and then replace the dependency in my Cargo.toml:
[replace."bitflags:1.0.0"]
git = "https://github.com/boehm-s/bitflags"
rev = "bb2afce"
Is there a way to get rid of these errors without forking crates?