diff options
| author | David Wood <david.wood2@arm.com> | 2025-07-16 10:56:32 +0000 |
|---|---|---|
| committer | David Wood <david.wood2@arm.com> | 2025-07-16 12:35:44 +0000 |
| commit | 8d64937dc25eb2b01596a3581ec2660d8e81b9b2 (patch) | |
| tree | ee2685eb032b86df31c526b100c2acbac5ca54e4 /tests/ui/traits/resolve-impl-before-constrain-check.rs | |
| parent | 231257f583c6e782da2e642ad007fca4e76779d6 (diff) | |
| download | rust-8d64937dc25eb2b01596a3581ec2660d8e81b9b2.tar.gz rust-8d64937dc25eb2b01596a3581ec2660d8e81b9b2.zip | |
trait_sel: `MetaSized` always holds temporarily
As a temporary measure while a proper fix for `tests/ui/sized-hierarchy/incomplete-inference-issue-143992.rs` is implemented, make `MetaSized` obligations always hold. In effect, temporarily reverting the `sized_hierarchy` feature. This is a small change that can be backported.
Diffstat (limited to 'tests/ui/traits/resolve-impl-before-constrain-check.rs')
| -rw-r--r-- | tests/ui/traits/resolve-impl-before-constrain-check.rs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/ui/traits/resolve-impl-before-constrain-check.rs b/tests/ui/traits/resolve-impl-before-constrain-check.rs index 50d1a874551..87f9c241e40 100644 --- a/tests/ui/traits/resolve-impl-before-constrain-check.rs +++ b/tests/ui/traits/resolve-impl-before-constrain-check.rs @@ -15,7 +15,6 @@ use foo::*; fn test() -> impl Sized { <() as Callable>::call() -//~^ ERROR: type annotations needed } fn main() {} |
