diff options
| author | Michael Goulet <michael@errs.io> | 2024-06-12 11:53:52 -0400 |
|---|---|---|
| committer | Michael Goulet <michael@errs.io> | 2024-07-02 16:39:57 -0400 |
| commit | ecdaff240da6938473d14f784f8ba9a8c5f3611b (patch) | |
| tree | 8fd0a0095443d88abb7333e2b627677549e55df0 /tests/ui/traits/next-solver/async.rs | |
| parent | 49ff3909fbd499218a28a31d3a33e88365496a55 (diff) | |
| download | rust-ecdaff240da6938473d14f784f8ba9a8c5f3611b.tar.gz rust-ecdaff240da6938473d14f784f8ba9a8c5f3611b.zip | |
Actually report normalization-based type errors correctly for alias-relate obligations in new solver
Diffstat (limited to 'tests/ui/traits/next-solver/async.rs')
| -rw-r--r-- | tests/ui/traits/next-solver/async.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/traits/next-solver/async.rs b/tests/ui/traits/next-solver/async.rs index 129e4cfaa02..fded7743547 100644 --- a/tests/ui/traits/next-solver/async.rs +++ b/tests/ui/traits/next-solver/async.rs @@ -10,7 +10,7 @@ fn needs_async(_: impl Future<Output = i32>) {} #[cfg(fail)] fn main() { needs_async(async {}); - //[fail]~^ ERROR type mismatch + //[fail]~^ ERROR expected `{async block@$DIR/async.rs:12:17: 12:22}` to be a future that resolves to `i32`, but it resolves to `()` } #[cfg(pass)] |
