diff options
| author | David Wood <david.wood2@arm.com> | 2025-07-16 10:56:32 +0000 |
|---|---|---|
| committer | Josh Stone <jistone@redhat.com> | 2025-07-17 14:02:06 -0700 |
| commit | 0648a438482719c3d88965d4399236f578cc0a4a (patch) | |
| tree | db28eee74653eff5ee2ccc0038206a952132391e /tests/ui/traits/resolve-impl-before-constrain-check.rs | |
| parent | d49946852525dd19d7714b9eeebde5501b467c42 (diff) | |
| download | rust-0648a438482719c3d88965d4399236f578cc0a4a.tar.gz rust-0648a438482719c3d88965d4399236f578cc0a4a.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. (cherry picked from commit 8d64937dc25eb2b01596a3581ec2660d8e81b9b2)
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() {} |
