diff options
Diffstat (limited to 'src/test/ui/async-await/proper-span-for-type-error.fixed')
-rw-r--r-- | src/test/ui/async-await/proper-span-for-type-error.fixed | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/test/ui/async-await/proper-span-for-type-error.fixed b/src/test/ui/async-await/proper-span-for-type-error.fixed deleted file mode 100644 index 7d43b575d..000000000 --- a/src/test/ui/async-await/proper-span-for-type-error.fixed +++ /dev/null @@ -1,12 +0,0 @@ -// edition:2021 -// run-rustfix -#![allow(dead_code)] - -async fn a() {} - -async fn foo() -> Result<(), i32> { - a().await; - Ok(()) //~ ERROR mismatched types -} - -fn main() {} |