Curious what the result of running profile guided optimization on rustc itself is, it isn’t something I have tried to use myself before.
Biggest change for us in terms of failing CI (we fail on warnings) is the warning on bare trait objects:
It’s nice that Rust will make this mandatory in the future, makes it much easier to quickly spot static/dynamic polymorphism.
BTW, cargo fix --edition-idioms will fix them all for you automatically.
cargo fix --edition-idioms