Skip to content

Commit 017f6bd

Browse files
committed
Fix some broken tests
1 parent 705d798 commit 017f6bd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

compiler/rustc_ast_lowering/src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1791,7 +1791,7 @@ impl<'a, 'hir> LoweringContext<'a, 'hir> {
17911791
/// `NodeId`.
17921792
///
17931793
/// `transform_return_type`: if `Some`, applies some conversion to the return type, such as is
1794-
/// needed for `async fn` and `gen fn`. See [`FnReturnTransformation`] for more details.
1794+
/// needed for `async fn` and `gen fn`. See [`CoroutineKind`] for more details.
17951795
#[instrument(level = "debug", skip(self))]
17961796
fn lower_fn_decl(
17971797
&mut self,

tests/ui-fulldeps/pprust-expr-roundtrip.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ fn iter_exprs(depth: usize, f: &mut dyn FnMut(P<Expr>)) {
132132
binder: ClosureBinder::NotPresent,
133133
capture_clause: CaptureBy::Value { move_kw: DUMMY_SP },
134134
constness: Const::No,
135-
asyncness: Async::No,
135+
coro_kind: None,
136136
movability: Movability::Movable,
137137
fn_decl: decl.clone(),
138138
body: e,

0 commit comments

Comments
 (0)