Skip to content

Indent mistake with nested struct lit #1019

Closed
@nrc

Description

@nrc

https://github.com/rust-lang/rust/pull/33939/files#diff-3d823311f2b08736340d87893d91e770R471

+                Ok((autoderef,
+                    ty::MethodCallee {
+                    def_id: this.read_struct_field("def_id", 1, |this| Ok(this.read_def_id(dcx)))
+                                .unwrap(),
+                    ty: this.read_struct_field("ty", 2, |this| Ok(this.read_ty(dcx)))
+                            .unwrap(),
+                    substs: this.read_struct_field("substs", 3, |this| {
+                                    Ok(dcx.tcx.mk_substs(this.read_substs(dcx)))
+                                })
+                                .unwrap(),
+                }))

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions