Skip to content

Commit 5743c3f

Browse files
Format
1 parent c84a3a6 commit 5743c3f

File tree

1 file changed

+7
-1
lines changed
  • compiler/rustc_hir_typeck/src/fn_ctxt

1 file changed

+7
-1
lines changed

compiler/rustc_hir_typeck/src/fn_ctxt/checks.rs

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1183,7 +1183,13 @@ impl<'a, 'tcx> FnCtxt<'a, 'tcx> {
11831183
} else {
11841184
"".to_string()
11851185
};
1186-
labels.push((span, format!("argument #{}{rendered} is missing", expected_idx.as_usize() + 1)));
1186+
labels.push((
1187+
span,
1188+
format!(
1189+
"argument #{}{rendered} is missing",
1190+
expected_idx.as_usize() + 1
1191+
),
1192+
));
11871193

11881194
suggestion_text = match suggestion_text {
11891195
SuggestionText::None => SuggestionText::Provide(false),

0 commit comments

Comments
 (0)