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>(
94
94
argmap : & mut FxIndexSet < ( usize , ArgumentType ) > ,
95
95
) -> hir:: Expr < ' hir > {
96
96
// 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
+ // )
107
105
let position = match placeholder. argument . index {
108
106
Ok ( arg_index) => {
109
107
let ( i, _) =
You can’t perform that action at this time.
0 commit comments