Matthias Krüger
1b391d4ae4
Rollup merge of #118504 - compiler-errors:must-use, r=WaffleLapkin
...
Enforce `must_use` on associated types and RPITITs that have a must-use trait in bounds
Warn when an RPITIT or (un-normalized) associated type with a `#[must_use]` trait in its bounds is unused.
This is pending T-lang approval, since it changes the semantics of the `#[must_use]` attribute slightly, but I think it strictly catches more strange errors.
I could also limit this to just RPITITs, but that seems less useful.
Fixes #118444
2023-12-06 21:52:32 +01:00
..
2023-11-24 19:15:52 +01:00
2023-10-05 01:04:41 +00:00
2023-09-21 21:00:11 +02:00
2023-11-24 19:15:52 +01:00
2023-11-24 19:15:52 +01:00
2023-11-24 19:15:52 +01:00
2023-08-04 16:46:08 +00:00
2023-08-14 12:05:53 -07:00
2023-11-30 02:24:52 +00:00
2023-11-24 19:15:52 +01:00
2023-11-24 19:15:52 +01:00
2023-08-04 16:09:13 +00:00
2023-11-24 19:15:52 +01:00
2023-11-24 19:15:52 +01:00
2023-08-30 19:24:44 +01:00
2023-10-05 01:04:41 +00:00
2023-11-24 19:15:52 +01:00
2023-11-24 19:15:52 +01:00
2023-09-04 14:21:38 +02:00
2023-10-05 01:04:41 +00:00
2023-10-05 01:04:41 +00:00
2023-11-24 19:15:52 +01:00
2023-11-24 19:15:52 +01:00
2023-09-13 19:47:20 +00:00
2023-11-24 19:15:52 +01:00
2023-10-05 01:04:41 +00:00
2023-10-05 01:04:41 +00:00
2023-10-05 01:04:41 +00:00
2023-09-19 14:17:02 -07:00
2023-10-13 15:50:01 -07:00
2023-09-04 14:21:38 +02:00
2023-11-21 08:00:26 +01:00
2023-11-21 08:00:26 +01:00
2023-09-21 10:16:29 +02:00
2023-09-21 10:16:29 +02:00
2023-08-05 23:54:59 +02:00
2023-08-04 16:09:13 +00:00
2023-11-24 19:15:52 +01:00
2023-11-24 19:15:52 +01:00
2023-11-24 19:15:52 +01:00
2023-10-05 01:04:41 +00:00
2023-08-02 13:40:28 +03:00
2023-11-24 19:15:52 +01:00
2023-11-29 18:47:32 +00:00
2023-11-29 18:47:32 +00:00
2023-11-29 18:47:32 +00:00
2023-11-24 19:15:52 +01:00
2023-11-24 19:15:52 +01:00
2023-11-24 19:15:52 +01:00
2023-08-04 16:09:14 +00:00
2023-08-04 16:09:14 +00:00
2023-11-24 19:15:52 +01:00
2023-11-24 19:15:52 +01:00
2023-11-24 19:15:52 +01:00
2023-11-24 19:15:52 +01:00
2023-11-24 19:15:52 +01:00
2023-11-24 19:15:52 +01:00
2023-09-09 12:30:25 +05:30
2023-09-09 12:30:25 +05:30
2023-08-02 13:40:28 +03:00
2023-09-07 06:04:37 +00:00
2023-11-24 19:15:52 +01:00
2023-08-02 13:40:28 +03:00
2023-10-05 01:04:41 +00:00
2023-10-05 01:04:41 +00:00
2023-11-24 19:15:52 +01:00
2023-10-05 01:04:41 +00:00
2023-11-24 19:15:52 +01:00
2023-11-24 19:15:52 +01:00
2023-08-04 16:09:14 +00:00
2023-11-24 19:15:52 +01:00
2023-11-24 19:15:52 +01:00
2023-11-24 19:15:52 +01:00
2023-11-24 19:15:52 +01:00
2023-11-24 19:15:52 +01:00
2023-11-24 19:15:52 +01:00
2023-11-24 19:15:52 +01:00
2023-09-04 14:21:38 +02:00
2023-11-24 19:15:52 +01:00
2023-11-24 19:15:52 +01:00
2023-08-30 19:24:44 +01:00
2023-10-05 01:04:41 +00:00
2023-08-30 19:24:44 +01:00
2023-11-24 19:15:52 +01:00
2023-11-24 19:15:52 +01:00
2023-11-24 19:15:52 +01:00
2023-08-30 19:24:44 +01:00
2023-10-05 01:04:41 +00:00
2023-08-30 19:24:44 +01:00
2023-11-24 19:15:52 +01:00
2023-11-24 19:15:52 +01:00
2023-11-24 19:15:52 +01:00
2023-11-24 19:15:52 +01:00
2023-10-05 01:04:41 +00:00
2023-11-24 19:15:52 +01:00
2023-08-14 18:05:13 +08:00
2023-11-24 19:15:52 +01:00
2023-11-24 19:15:52 +01:00
2023-11-24 19:15:52 +01:00
2023-11-24 19:15:52 +01:00
2023-10-11 04:55:55 +02:00
2023-11-24 19:15:52 +01:00
2023-08-04 13:17:39 +02:00
2023-10-05 01:04:41 +00:00
2023-08-30 19:24:44 +01:00
2023-08-30 19:24:44 +01:00
2023-10-05 01:04:41 +00:00
2023-08-30 19:24:44 +01:00
2023-10-05 01:04:41 +00:00
2023-11-24 19:15:52 +01:00
2023-10-30 19:04:55 +05:30
2023-10-30 19:04:55 +05:30
2023-10-30 19:04:55 +05:30
2023-08-03 01:37:42 +02:00
2023-10-17 08:33:37 -07:00
2023-08-04 16:09:14 +00:00
2023-09-08 12:46:09 +01:00
2023-09-08 12:46:06 +01:00
2023-09-28 08:22:59 -04:00
2023-09-28 08:22:59 -04:00
2023-09-28 08:22:59 -04:00
2023-11-24 19:15:52 +01:00
2023-11-24 19:15:52 +01:00
2023-08-06 19:08:14 +02:00
2023-08-06 19:08:14 +02:00
2023-10-05 01:04:41 +00:00
2023-10-05 01:04:41 +00:00
2023-10-04 22:06:16 +02:00
2023-10-04 22:06:16 +02:00
2023-10-05 01:04:41 +00:00
2023-11-24 19:15:52 +01:00
2023-11-24 19:15:52 +01:00
2023-09-21 22:20:58 +02:00
2023-11-24 19:15:52 +01:00
2023-09-06 08:32:30 +02:00
2023-09-06 08:32:30 +02:00
2023-11-24 19:15:52 +01:00
2023-11-24 19:15:52 +01:00
2023-11-24 19:15:52 +01:00
2023-10-13 15:50:01 -07:00
2023-11-24 19:15:52 +01:00
2023-10-13 15:50:01 -07:00