]> git.proxmox.com Git - rustc.git/blobdiff - compiler/rustc_hir_pretty/src/lib.rs
New upstream version 1.74.1+dfsg1
[rustc.git] / compiler / rustc_hir_pretty / src / lib.rs
index 89efdc269c466c2e51b13e5b3cb55bbd4d55f07e..8587b009f25aa1e82664e41a9cb001d44723f94c 100644 (file)
@@ -2304,7 +2304,7 @@ impl<'a> State<'a> {
 
         match header.asyncness {
             hir::IsAsync::NotAsync => {}
-            hir::IsAsync::Async => self.word_nbsp("async"),
+            hir::IsAsync::Async(_) => self.word_nbsp("async"),
         }
 
         self.print_unsafety(header.unsafety);