Add extensive set of drop order tests by traviscross · Pull Request #133605 · rust-lang/rust (original) (raw)
Originally, this had...
#![cfg_attr(e2021, warn(rust_2024_compatibility))]
...but this was causing a different number of warnings to be generated in the CI llvm-18 test from what I could reproduce (or bless) in testing locally. It was a "nice to have", so I'm removed it for now to make this PR ready and to land these tests.
Similarly, this originally had...
...but the automated lints don't migrate all the code, so it fails since there are still diagnostics emitted in the fixed version. It too was a "nice to have", so I've similarly removed it.
Both of these could be added back in separate PRs later.