Files
rust/tests/ui
Matthias Krüger c8d42740c5 Rollup merge of #119388 - Enselic:prevent-lint-triplication, r=cjgillot
rustc_lint: Prevent triplication of various lints

Prevent triplication of various lints. The triplication happens because we run the same lint three times (or less in some cases):
* In `BuiltinCombinedPreExpansionLintPass`
* In `BuiltinCombinedEarlyLintPass`
* In `shallow_lint_levels_on()`

Only run the lints one time by checking the `lint_added_lints` bool.

Set your GitHub diff setting to ignore whitespaces changes when reviewing this PR, since I had to enclose a block inside an if.

Closes #73301

(I found this while exploring the code related to [this](https://github.com/rust-lang/rust/pull/119251#discussion_r1435677330) comment.)
2023-12-29 21:40:23 +01:00
..
2023-12-22 11:01:07 -08:00
2023-12-14 15:22:37 +01:00
2023-12-10 10:56:22 +08:00
2023-12-20 22:53:56 -05:00
2023-12-14 15:22:37 +01:00
2023-11-28 23:17:28 +00:00
2023-12-24 01:58:13 +08:00
2023-12-07 17:46:36 +01:00
2023-12-19 13:35:37 -05:00
2023-09-06 12:09:29 +03:00
2023-12-23 00:09:37 +08:00
2023-12-10 14:25:57 +01:00
2023-12-19 13:35:37 -05:00
2023-12-14 15:22:37 +01:00
2023-12-10 10:56:22 +08:00
2023-12-01 20:01:39 +00:00
2023-12-14 15:22:37 +01:00
2023-12-15 16:12:27 +00:00
2023-12-17 07:31:07 +00:00
2023-11-24 21:04:51 +01:00
2023-12-27 15:47:57 +08:00
2023-12-10 10:56:22 +08:00
2023-12-14 15:22:37 +01:00
2023-12-19 13:35:37 -05:00
2023-12-14 15:22:37 +01:00
2023-12-10 10:56:22 +08:00
2023-12-15 16:12:27 +00:00
2023-12-14 15:22:37 +01:00
2023-07-29 11:47:26 +02:00
2023-10-28 23:11:03 -07:00
2023-08-14 16:57:51 -07:00
2023-12-22 11:01:07 -08:00
2023-12-19 13:35:37 -05:00
2023-10-20 21:14:01 +00:00
2023-12-22 11:01:07 -08:00
2023-12-10 10:56:22 +08:00
2023-12-10 10:56:22 +08:00
2023-12-14 15:22:37 +01:00
2023-12-19 13:35:37 -05:00
2023-12-10 10:56:22 +08:00
2023-09-10 23:06:14 +02:00
2023-09-10 23:06:14 +02:00
2023-10-20 21:14:01 +00:00