Michael Goulet
5019bb608a
Rollup merge of #125667 - oli-obk:taintify, r=TaKO8Ki
...
Silence follow-up errors directly based on error types and regions
During type_of, we used to just return an error type if there were any errors encountered. This is problematic, because it means a struct declared as `struct Foo<'static>` will end up not finding any inherent or trait impls because those impl blocks' `Self` type will be `{type error}` instead of `Foo<'re_error>`. Now it's the latter, silencing nonsensical follow-up errors about `Foo` not having any methods.
Unfortunately that now allows for new follow-up errors, because borrowck treats `'re_error` as `'static`, causing nonsensical errors about non-error lifetimes not outliving `'static`. So what I also did was to just strip all outlives bounds that borrowck found, thus never letting it check them. There are probably more nuanced ways to do this, but I worried there would be other nonsensical errors if some outlives bounds were missing. Also from the test changes, it looked like an improvement everywhere.
2024-06-04 08:52:12 -04:00
..
2024-05-04 11:30:38 +02:00
2024-04-16 15:19:12 +02:00
2024-02-22 16:04:04 +00:00
2024-05-27 23:59:18 +02:00
2024-02-22 16:04:04 +00:00
2024-02-22 16:04:04 +00:00
2024-03-29 13:31:35 -07:00
2024-06-01 10:18:01 +00:00
2024-03-18 16:25:36 +00:00
2024-02-22 16:04:04 +00:00
2024-02-22 16:04:04 +00:00
2024-04-02 21:22:04 +02:00
2024-02-22 16:04:04 +00:00
2024-02-22 16:04:04 +00:00
2023-12-21 10:17:11 +08:00
2023-12-21 10:17:11 +08:00
2024-04-15 21:49:55 +02:00
2024-04-15 21:49:56 +02:00
2023-01-11 09:32:08 +00:00
2023-01-11 09:32:08 +00:00
2023-01-11 09:32:08 +00:00
2023-01-11 09:32:08 +00:00
2024-02-22 16:04:04 +00:00
2023-03-30 14:55:03 +02:00
2023-11-24 19:15:52 +01:00
2023-01-11 09:32:08 +00:00
2023-11-24 19:15:52 +01:00
2024-02-22 16:04:04 +00:00
2023-03-10 17:49:13 +01:00
2024-05-01 16:45:27 +02:00
2024-05-01 16:45:27 +02:00
2024-02-22 16:04:04 +00:00
2023-01-11 09:32:08 +00:00
2024-02-22 16:04:04 +00:00
2024-02-22 16:04:04 +00:00
2023-11-24 19:15:52 +01:00
2023-01-11 09:32:08 +00:00
2023-11-24 19:15:52 +01:00
2023-01-11 09:32:08 +00:00
2023-01-11 09:32:08 +00:00
2023-01-11 09:32:08 +00:00
2023-11-24 19:15:52 +01:00
2023-01-11 09:32:08 +00:00
2023-01-11 09:32:08 +00:00
2024-02-29 14:43:43 +01:00
2024-02-29 14:43:43 +01:00
2023-01-11 09:32:08 +00:00
2024-01-13 12:46:58 -05:00
2024-02-22 16:04:04 +00:00
2024-02-22 16:04:04 +00:00
2024-02-22 16:04:04 +00:00
2024-04-15 15:11:49 -07:00
2024-06-03 03:50:15 +02:00
2024-02-22 16:04:04 +00:00
2024-02-22 16:04:04 +00:00
2024-04-09 13:58:52 +00:00
2024-04-15 15:11:49 -07:00
2024-02-22 16:04:04 +00:00
2023-01-11 09:32:08 +00:00
2023-01-11 09:32:08 +00:00
2023-02-20 15:28:59 +00:00
2024-03-29 13:31:35 -07:00
2024-03-29 13:31:35 -07:00
2023-01-11 09:32:08 +00:00
2023-11-24 19:15:52 +01:00
2024-02-22 16:04:04 +00:00
2024-05-30 22:52:33 +02:00
2024-05-30 22:52:33 +02:00
2023-10-31 13:58:03 +00:00
2023-10-31 13:58:03 +00:00
2023-03-30 14:55:03 +02:00
2023-03-30 14:55:03 +02:00
2023-01-11 09:32:08 +00:00
2023-01-11 09:32:08 +00:00
2023-01-11 09:32:08 +00:00
2023-11-24 19:15:52 +01:00
2024-03-28 11:09:08 +01:00
2024-02-22 16:04:04 +00:00
2024-03-29 13:31:35 -07:00
2024-02-22 16:04:04 +00:00
2023-01-11 09:32:08 +00:00
2024-05-30 22:52:33 +02:00
2024-05-30 22:52:33 +02:00
2023-04-29 16:53:02 -07:00
2024-03-07 14:26:31 +00:00
2024-02-22 16:04:04 +00:00
2024-02-22 16:04:04 +00:00
2023-01-11 09:32:08 +00:00
2023-01-11 09:32:08 +00:00
2023-03-30 14:55:03 +02:00
2023-11-24 19:15:52 +01:00
2024-02-22 16:04:04 +00:00
2024-02-22 16:04:04 +00:00
2024-02-22 16:04:04 +00:00
2024-02-22 16:04:04 +00:00
2024-02-22 16:04:04 +00:00
2024-03-07 06:27:09 +00:00
2024-03-07 06:27:09 +00:00
2024-02-22 16:04:04 +00:00
2023-02-23 09:00:33 +00:00
2023-11-24 19:15:52 +01:00
2024-05-21 21:21:26 -07:00
2024-02-22 16:04:04 +00:00
2024-02-22 16:04:04 +00:00
2024-04-13 19:32:39 -07:00
2023-01-11 09:32:08 +00:00
2023-11-24 19:15:52 +01:00
2024-02-22 16:04:04 +00:00
2024-02-22 16:04:04 +00:00
2024-02-22 16:04:04 +00:00
2023-11-24 19:15:52 +01:00
2023-01-11 09:32:08 +00:00
2023-11-24 19:15:52 +01:00
2024-05-29 09:27:07 +00:00
2024-05-29 09:27:07 +00:00
2023-12-02 09:01:19 +11:00
2024-03-29 13:31:35 -07:00
2024-02-22 16:04:04 +00:00
2024-02-22 16:04:04 +00:00
2023-01-11 09:32:08 +00:00
2024-02-22 16:04:04 +00:00