mirror of
https://github.com/rust-lang/rust.git
synced 2025-01-21 20:23:21 +00:00
4f550f1f93
Adds checks for: * `no_core` attribute * explicitly-enabled `legacy` symbol mangling * mir_opt_level > 1 (which enables inlining) I removed code from the `Inline` MIR pass that forcibly disabled inlining if `-Zinstrument-coverage` was set. The default `mir_opt_level` does not enable inlining anyway. But if the level is explicitly set and is greater than 1, I issue a warning. The new warnings show up in tests, which is much better for diagnosing potential option conflicts in these cases. |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |