Record asyncness span in HIR
This commit is contained in:
parent
0fd7ce99b0
commit
087a571e70
22 changed files with 78 additions and 54 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue