File tree Expand file tree Collapse file tree 1 file changed +8
-10
lines changed
compiler/rustc_ast_lowering/src Expand file tree Collapse file tree 1 file changed +8
-10
lines changed Original file line number Diff line number Diff line change @@ -94,16 +94,14 @@ fn make_format_spec<'hir>(
9494 argmap : & mut FxIndexSet < ( usize , ArgumentType ) > ,
9595) -> hir:: Expr < ' hir > {
9696 // Generate:
97- // ::core::fmt::rt::v1::Argument {
98- // position: 0usize,
99- // format: ::core::fmt::rt::v1::FormatSpec {
100- // fill: ' ',
101- // align: ::core::fmt::rt::v1::Alignment::Unknown,
102- // flags: 0u32,
103- // precision: ::core::fmt::rt::v1::Count::Implied,
104- // width: ::core::fmt::rt::v1::Count::Implied,
105- // },
106- // }
97+ // ::core::fmt::rt::v1::Argument::new(
98+ // 0usize, // position
99+ // ' ', // fill
100+ // ::core::fmt::rt::v1::Alignment::Unknown,
101+ // 0u32, // flags
102+ // ::core::fmt::rt::v1::Count::Implied, // width
103+ // ::core::fmt::rt::v1::Count::Implied, // precision
104+ // )
107105 let position = match placeholder. argument . index {
108106 Ok ( arg_index) => {
109107 let ( i, _) =
You can’t perform that action at this time.
0 commit comments