Closed
Description
The following code compiles on 1.49 but does not compile on 1.50 beta.
#![forbid(warnings)]
#![deny(bad_style)]
fn main() {}
This seems to be a similar (the same?) issue as #77713 though I'm not sure how it would have been introduced.
This breaks several crates in the latest crater run. Interestingly, some of the broken crates had some strange error messages:
--> src/lib.rs:132:17
|
25 | warnings
| -------- `forbid` level set here
...
132 | #[derive(Debug, PartialEq, Eq, Hash, Clone)]
| ^^^^^^^^^ overruled by previous forbid
@rustbot modify labels: +regression-from-stable-to-beta