Fix some broken tests
This commit is contained in:
parent
f9d1f922dc
commit
26f9954971
@ -1786,7 +1786,7 @@ fn lower_fn_params_to_names(&mut self, decl: &FnDecl) -> &'hir [Ident] {
|
||||
/// `NodeId`.
|
||||
///
|
||||
/// `transform_return_type`: if `Some`, applies some conversion to the return type, such as is
|
||||
/// needed for `async fn` and `gen fn`. See [`FnReturnTransformation`] for more details.
|
||||
/// needed for `async fn` and `gen fn`. See [`CoroutineKind`] for more details.
|
||||
#[instrument(level = "debug", skip(self))]
|
||||
fn lower_fn_decl(
|
||||
&mut self,
|
||||
|
@ -132,7 +132,7 @@ fn iter_exprs(depth: usize, f: &mut dyn FnMut(P<Expr>)) {
|
||||
binder: ClosureBinder::NotPresent,
|
||||
capture_clause: CaptureBy::Value { move_kw: DUMMY_SP },
|
||||
constness: Const::No,
|
||||
asyncness: Async::No,
|
||||
coro_kind: None,
|
||||
movability: Movability::Movable,
|
||||
fn_decl: decl.clone(),
|
||||
body: e,
|
||||
|
Loading…
Reference in New Issue
Block a user