diff options
| author | Scott McMurray <scottmcm@users.noreply.github.com> | 2021-04-17 11:56:07 -0700 |
|---|---|---|
| committer | Scott McMurray <scottmcm@users.noreply.github.com> | 2021-05-06 11:37:45 -0700 |
| commit | 4a7ceea930e0029bccb8f7bfcc70ef4ba3d550d8 (patch) | |
| tree | cdae36834d6ed2f24890b380fc4220ebd4031867 /src/test/ui/inference/cannot-infer-async.rs | |
| parent | 47b99485a391e21caf3e0312969ed00ccbc6c167 (diff) | |
| download | rust-4a7ceea930e0029bccb8f7bfcc70ef4ba3d550d8.tar.gz rust-4a7ceea930e0029bccb8f7bfcc70ef4ba3d550d8.zip | |
Better rustc_on_unimplemented, and UI test fixes
Diffstat (limited to 'src/test/ui/inference/cannot-infer-async.rs')
| -rw-r--r-- | src/test/ui/inference/cannot-infer-async.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/ui/inference/cannot-infer-async.rs b/src/test/ui/inference/cannot-infer-async.rs index 05f62f3d8cb..e7fabd0ffbc 100644 --- a/src/test/ui/inference/cannot-infer-async.rs +++ b/src/test/ui/inference/cannot-infer-async.rs @@ -8,8 +8,8 @@ fn make_unit() -> Result<(), Error> { fn main() { let fut = async { - make_unit()?; //~ ERROR type annotations needed + make_unit()?; - Ok(()) + Ok(()) //~ ERROR type annotations needed }; } |
