Stuart Cook
565d1bb950
Rollup merge of #151744 - enthropy7:fix-refining-impl-trait-rtn, r=davidtwco
...
fix refining_impl_trait suggestion with return_type_notation
using `#![feature(return_type_notation)] `on top of `refining_impl_trait` made the lint suggest a pretty wild “wrap the body in `<Self as Trait>::f(..)”` fix instead of the simple “just copy the return type from the trait”. this patch makes the lint always suggest the plain return-type replacement based on the trait signature (by grabbing the original snippet when possible), so you don’t get RTN-style desugarings in the help
new test here
fixes rust-lang/rust#151663
2026-02-23 13:31:59 +11:00
..
2025-08-07 21:18:00 +00:00
2025-10-31 20:38:31 +00:00
2025-10-31 20:44:01 +00:00
2026-02-06 16:14:09 +03:00
2026-02-17 16:51:44 +00:00
2025-10-13 15:26:22 +01:00
2025-11-27 11:19:00 -05:00
2025-10-31 20:38:31 +00:00
2026-01-26 17:34:31 +00:00
2025-08-22 20:10:27 +00:00
2026-02-18 18:33:35 +00:00
2025-10-12 08:24:39 +09:00
2025-08-25 14:20:18 +02:00
2025-07-07 16:47:15 +08:00
2025-08-25 14:20:18 +02:00
2025-07-07 16:47:15 +08:00
2025-09-26 16:33:15 +02:00
2025-11-27 11:19:00 -05:00
2025-11-27 11:19:00 -05:00
2025-11-27 11:19:00 -05:00
2025-09-26 16:33:15 +02:00
2025-09-26 16:33:15 +02:00
2025-09-26 16:33:15 +02:00
2025-09-26 16:33:15 +02:00
2025-09-26 16:33:15 +02:00
2025-08-26 15:15:17 -06:00
2025-08-20 11:04:38 +02:00
2025-12-10 19:27:40 +00:00
2025-08-19 21:27:10 +02:00
2025-08-19 21:27:10 +02:00
2025-11-27 14:13:58 -05:00
2025-11-27 14:13:58 -05:00
2025-11-27 14:13:58 -05:00
2025-10-07 09:51:16 +01:00
2025-10-07 09:51:16 +01:00
2025-10-12 16:51:28 +09:00
2025-10-12 16:51:28 +09:00
2025-10-12 16:51:28 +09:00
2025-11-21 21:42:40 +09:00
2025-11-21 21:42:40 +09:00
2025-10-12 16:51:28 +09:00
2025-10-12 16:51:28 +09:00
2025-08-26 15:15:17 -06:00
2026-01-22 19:50:00 +01:00
2026-01-22 19:50:00 +01:00
2025-10-07 23:02:23 +01:00
2025-10-31 20:44:01 +00:00
2025-10-13 15:26:22 +01:00
2025-12-10 06:52:27 +00:00
2025-08-20 11:04:38 +02:00
2025-11-27 11:19:00 -05:00
2025-11-27 11:19:00 -05:00
2025-07-08 14:36:43 +00:00
2025-12-02 18:25:13 +00:00
2025-07-18 12:13:30 +02:00
2025-07-18 12:13:30 +02:00
2025-09-26 16:33:15 +02:00
2025-09-26 16:33:15 +02:00
2025-08-25 14:20:18 +02:00
2025-09-08 14:17:56 +02:00
2025-08-25 14:20:18 +02:00
2025-10-31 20:44:01 +00:00
2025-07-14 09:52:58 -04:00
2025-08-23 22:11:43 +00:00
2026-02-17 16:51:44 +00:00
2026-02-17 16:51:44 +00:00
2025-09-18 12:58:39 +02:00
2025-09-18 12:58:39 +02:00
2025-08-19 21:27:10 +02:00
2025-10-31 20:44:01 +00:00
2025-08-20 11:10:38 +02:00
2025-11-27 14:13:58 -05:00
2025-11-27 14:13:58 -05:00
2025-11-27 14:13:58 -05:00
2026-02-16 17:27:40 +01:00