Skip to content

Commit fdbaf03

Browse files
committed
fix type variables' id change in an ui test
1 parent daaf8b1 commit fdbaf03

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/ui/async-await/async-closures/def-path.stderr

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@ LL | let x = async || {};
55
| -- the expected `async` closure body
66
LL |
77
LL | let () = x();
8-
| ^^ --- this expression has type `{static main::{closure#0}::{closure#0}<?17t> upvar_tys=?16t resume_ty=ResumeTy yield_ty=() return_ty=() witness=?6t}`
8+
| ^^ --- this expression has type `{static main::{closure#0}::{closure#0}<?19t> upvar_tys=?18t resume_ty=ResumeTy yield_ty=() return_ty=() witness=?6t}`
99
| |
1010
| expected `async` closure body, found `()`
1111
|
12-
= note: expected `async` closure body `{static main::{closure#0}::{closure#0}<?17t> upvar_tys=?16t resume_ty=ResumeTy yield_ty=() return_ty=() witness=?6t}`
12+
= note: expected `async` closure body `{static main::{closure#0}::{closure#0}<?19t> upvar_tys=?18t resume_ty=ResumeTy yield_ty=() return_ty=() witness=?6t}`
1313
found unit type `()`
1414

1515
error: aborting due to 1 previous error

0 commit comments

Comments
 (0)