summary refs log tree commit diff
path: root/compiler/rustc_passes/src/errors.rs
diff options
context:
space:
mode:
authorGeorg Semmler <github@weiznich.de>2024-10-22 19:48:11 +0200
committerGeorg Semmler <github@weiznich.de>2024-12-18 07:10:11 +0100
commitbfd02d8b36914d222b2ee6ed185cbf6bdba7d9d9 (patch)
tree98d22ef3acec4135c84cf84a2d4a6ea3c7a96c22 /compiler/rustc_passes/src/errors.rs
parenta89ca2c85e61d03c6e41be89508ed3d012f916f8 (diff)
downloadrust-bfd02d8b36914d222b2ee6ed185cbf6bdba7d9d9.tar.gz
rust-bfd02d8b36914d222b2ee6ed185cbf6bdba7d9d9.zip
Improve testing coverage for `#[diagnostic::do_not_recommend]`
This PR aims to improve the testing coverage for
`#[diagnostic::do_not_recommend]`. It ensures that all tests are run for
the old and new solver to verify that the behaviour is the same for both
variants. It also adds two new tests:

* A test with 4 traits having wild card impl for each other, with
alternating `#[diagnostic::do_not_recommend]` attributse
* A test with a lifetime dependend wild card impl, which is something
that's not supported yet
Diffstat (limited to 'compiler/rustc_passes/src/errors.rs')
0 files changed, 0 insertions, 0 deletions