]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/chalkify/bugs/async.stderr
New upstream version 1.64.0+dfsg1
[rustc.git] / src / test / ui / chalkify / bugs / async.stderr
index 5b7ca8d46cf4462bddd4961402312feb7deb0156..f53ed53f73c4987aac37a999e5b61a39aef5ece5 100644 (file)
@@ -29,13 +29,10 @@ LL |     T: Generator<ResumeTy, Yield = ()>,
    |                            ^^^^^^^^^^ required by this bound in `std::future::from_generator`
 
 error[E0280]: the requirement `<impl Future<Output = u32> as Future>::Output == u32` is not satisfied
-  --> $DIR/async.rs:7:29
+  --> $DIR/async.rs:7:25
    |
-LL |   async fn foo(x: u32) -> u32 {
-   |  _____________________________^
-LL | |     x
-LL | | }
-   | |_^
+LL | async fn foo(x: u32) -> u32 {
+   |                         ^^^
 
 error: aborting due to 3 previous errors