bors
961351c76c
Auto merge of #138249 - compiler-errors:auto-self, r=lcnr
...
Do not register `Self: AutoTrait` when confirming auto trait (in old solver)
Every built-in auto impl for a trait goal like `Ty: Auto` immediately registers another obligation of `Ty: Auto` as one of its nested obligations, leading to us stressing the cycle detection machinery a lot more than we need to. This is because all traits have a `Self: Trait` predicate.
To fix this, remove the call to `impl_or_trait_obligations` in `vtable_auto_impl`, since auto traits do not have where clauses.
r? lcnr
2025-03-13 05:37:55 +00:00
..
2025-03-10 18:12:47 +08:00
2025-03-12 10:19:30 -07:00
2025-03-11 13:14:21 +11:00
2025-03-12 17:27:43 +00:00
2025-03-11 13:14:21 +11:00
2025-03-13 01:37:26 +00:00
2025-03-12 10:19:30 -07:00
2025-03-12 10:19:30 -07:00
2025-03-12 10:19:30 -07:00
2025-03-12 17:27:43 +00:00
2025-03-11 13:14:21 +11:00
2025-03-13 01:37:26 +00:00
2025-03-12 17:27:43 +00:00
2025-03-12 08:04:09 +01:00
2025-03-12 08:04:09 +01:00
2025-03-12 10:19:30 -07:00
2025-03-13 01:37:26 +00:00
2025-03-13 01:37:26 +00:00
2025-03-12 10:19:30 -07:00
2025-03-10 18:12:47 +08:00
2025-03-13 01:37:26 +00:00
2025-03-12 10:19:30 -07:00
2025-03-12 10:19:30 -07:00
2025-03-11 13:14:21 +11:00
2025-03-12 17:27:43 +00:00
2025-03-12 10:19:30 -07:00
2025-03-11 13:14:21 +11:00
2025-03-10 18:12:47 +08:00
2025-03-11 13:14:21 +11:00
2025-03-10 18:12:47 +08:00
2025-03-12 17:27:43 +00:00
2025-03-13 01:37:26 +00:00
2025-03-12 10:19:30 -07:00
2025-03-13 01:37:26 +00:00
2025-03-13 01:37:26 +00:00
2025-03-12 10:19:30 -07:00
2025-03-11 13:14:21 +11:00
2025-03-11 13:14:21 +11:00
2025-03-12 10:19:30 -07:00
2025-03-11 13:14:21 +11:00
2025-03-13 01:37:26 +00:00
2025-03-11 13:14:21 +11:00
2025-03-11 13:14:21 +11:00
2025-03-10 18:12:47 +08:00
2025-03-12 10:19:30 -07:00
2025-03-13 01:37:26 +00:00
2025-03-13 01:37:26 +00:00
2025-03-13 01:37:26 +00:00
2025-03-12 17:27:43 +00:00
2025-03-12 22:33:54 +00:00
2025-03-12 17:27:43 +00:00
2025-03-12 17:59:08 +01:00
2025-03-12 17:27:43 +00:00
2025-03-12 10:19:30 -07:00
2025-03-13 01:37:26 +00:00
2025-03-11 13:14:21 +11:00
2025-03-13 01:37:26 +00:00
2025-03-12 17:27:43 +00:00
2025-03-12 17:59:08 +01:00
2025-03-12 10:19:30 -07:00
2025-03-12 17:27:43 +00:00
2025-03-11 13:14:21 +11:00
2025-03-11 13:14:21 +11:00
2025-03-13 01:37:26 +00:00
2025-03-12 10:19:30 -07:00
2025-03-12 17:27:43 +00:00
2025-03-12 10:19:30 -07:00
2025-03-13 05:37:55 +00:00
2025-03-12 10:19:32 -07:00
2025-03-12 17:27:43 +00:00
2025-03-13 01:37:26 +00:00
2025-03-12 10:19:30 -07:00
2025-03-10 18:12:47 +08:00
2025-03-10 18:12:47 +08:00