You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(compile): build.warnings=deny shouldn't block hard warnings (#16213)
### What does this PR try to resolve?
Motivation for this: rustc is trying to adopt this feature but hard
warnings are getting in the way, see rust-lang/rust#148332
This is a part of #14802.
### How to test and review this PR?
Reasons to do this:
- Less flexibility in how hard warnings are resolved
- Matches Cargo not erroring for Cargo hard warnings
- This matches `-Dwarnings` behavior which this feature is meant to
replace
Reasons not do this:
- A user may see a hard warning from rustc and get confused
- Cargo's hard warnings are not blocking in part because we would need
to audit them to see if they should actually be hard warnings
We do have some flexibility on warnings evolving over time,
so this is likely a two-way door (on an unstable feature).
See also the discussion at #14802 (comment)
Ideally, we'd also test for duplicate hard warnings but unsure how to
trigger that.
0 commit comments