mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-25 16:24:46 +00:00
Fix some broken tests
This commit is contained in:
parent
f9d1f922dc
commit
26f9954971
@ -1786,7 +1786,7 @@ impl<'a, 'hir> LoweringContext<'a, 'hir> {
|
|||||||
/// `NodeId`.
|
/// `NodeId`.
|
||||||
///
|
///
|
||||||
/// `transform_return_type`: if `Some`, applies some conversion to the return type, such as is
|
/// `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))]
|
#[instrument(level = "debug", skip(self))]
|
||||||
fn lower_fn_decl(
|
fn lower_fn_decl(
|
||||||
&mut self,
|
&mut self,
|
||||||
|
@ -132,7 +132,7 @@ fn iter_exprs(depth: usize, f: &mut dyn FnMut(P<Expr>)) {
|
|||||||
binder: ClosureBinder::NotPresent,
|
binder: ClosureBinder::NotPresent,
|
||||||
capture_clause: CaptureBy::Value { move_kw: DUMMY_SP },
|
capture_clause: CaptureBy::Value { move_kw: DUMMY_SP },
|
||||||
constness: Const::No,
|
constness: Const::No,
|
||||||
asyncness: Async::No,
|
coro_kind: None,
|
||||||
movability: Movability::Movable,
|
movability: Movability::Movable,
|
||||||
fn_decl: decl.clone(),
|
fn_decl: decl.clone(),
|
||||||
body: e,
|
body: e,
|
||||||
|
Loading…
Reference in New Issue
Block a user