diff options
| author | bors <bors@rust-lang.org> | 2025-08-19 08:04:59 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2025-08-19 08:04:59 +0000 |
| commit | 49fc0cc3e9ae608b4938b2c7640fc6106446a9b6 (patch) | |
| tree | cc9c57ea04689c1565a9abfd11cdd77d31285c8e /tests/ui/impl-trait/issues/issue-55872-2.rs | |
| parent | 47b72a3455b75c1e33aa211e516255752352681e (diff) | |
| parent | a89083b8edbc6a0f8f300c7cc4eae215f5a9434c (diff) | |
| download | rust-49fc0cc3e9ae608b4938b2c7640fc6106446a9b6.tar.gz rust-49fc0cc3e9ae608b4938b2c7640fc6106446a9b6.zip | |
Auto merge of #145395 - lcnr:review-coroutine-witness, r=petrochenkov
[BETA] Revert "Remove the witness type from coroutine args" fixes rust-lang/rust#145151 and rust-lang/rust#145288 we do not revert on nightly as its instead fixed by rust-lang/rust#145194 and rust-lang/rust#145338. See the discussion in https://rust-lang.zulipchat.com/#narrow/channel/238009-t-compiler.2Fmeetings/topic/.5Bweekly.5D.202025-08-14/near/534490313
Diffstat (limited to 'tests/ui/impl-trait/issues/issue-55872-2.rs')
| -rw-r--r-- | tests/ui/impl-trait/issues/issue-55872-2.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/ui/impl-trait/issues/issue-55872-2.rs b/tests/ui/impl-trait/issues/issue-55872-2.rs index aea00dd9e3d..a3b2225126a 100644 --- a/tests/ui/impl-trait/issues/issue-55872-2.rs +++ b/tests/ui/impl-trait/issues/issue-55872-2.rs @@ -12,6 +12,7 @@ impl<S> Bar for S { type E = impl std::marker::Send; fn foo<T>() -> Self::E { //~^ ERROR type parameter `T` is part of concrete type but not used in parameter list for the `impl Trait` type alias + //~| ERROR type parameter `T` is part of concrete type but not used in parameter list for the `impl Trait` type alias async {} } } |
