about summary refs log tree commit diff
path: root/src/test/ui/pattern
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2022-03-31 05:12:45 +0000
committerbors <bors@rust-lang.org>2022-03-31 05:12:45 +0000
commitffaf6f0d0ccfbc76da00baded073d10f05ffcbd1 (patch)
treec52a1a6ff3a746fa75dc69b5edd1a15c7dfcfaae /src/test/ui/pattern
parenta39ac5ae175e0f9f910b1800a430b488ec0f2105 (diff)
parent1b7d6dbd3043a002279e9ebafc0b082f4d891200 (diff)
downloadrust-ffaf6f0d0ccfbc76da00baded073d10f05ffcbd1.tar.gz
rust-ffaf6f0d0ccfbc76da00baded073d10f05ffcbd1.zip
Auto merge of #95506 - Dylan-DPC:rollup-b6kxzjc, r=Dylan-DPC
Rollup of 5 pull requests

Successful merges:

 - #95130 (Stabilize thread::is_finished)
 - #95263 (Restore `impl Future<Output = Type>` to async blocks)
 - #95471 (Don't ICE when opaque types get their hidden type constrained again.)
 - #95491 (Stabilize feature vec_retain_mut on Vec and VecDeque)
 - #95497 (Spellchecking compiler comments)

Failed merges:

r? `@ghost`
`@rustbot` modify labels: rollup
Diffstat (limited to 'src/test/ui/pattern')
-rw-r--r--src/test/ui/pattern/non-structural-match-types.stderr2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/ui/pattern/non-structural-match-types.stderr b/src/test/ui/pattern/non-structural-match-types.stderr
index 91fed81eaef..e9b56cdc05d 100644
--- a/src/test/ui/pattern/non-structural-match-types.stderr
+++ b/src/test/ui/pattern/non-structural-match-types.stderr
@@ -4,7 +4,7 @@ error: `[closure@$DIR/non-structural-match-types.rs:9:17: 9:22]` cannot be used
 LL |         const { || {} } => {},
    |         ^^^^^^^^^^^^^^^
 
-error: `impl Future` cannot be used in patterns
+error: `impl Future<Output = ()>` cannot be used in patterns
   --> $DIR/non-structural-match-types.rs:12:9
    |
 LL |         const { async {} } => {},