Skip to content

Commit a19139f

Browse files
committed
remove unnecessary comment
1 parent 82d609c commit a19139f

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

compiler/rustc_monomorphize/src/polymorphize.rs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -216,11 +216,6 @@ fn emit_unused_generic_params_error<'tcx>(
216216
if unused_parameters.contains(param.index).unwrap_or(false) {
217217
debug!(?param);
218218
let def_span = tcx.def_span(param.def_id);
219-
// 🤔 The docs say
220-
//
221-
// Any attribute applied to a Vec<T> will be repeated for each element of the vector.
222-
//
223-
// But they don't say what template variable to use to substitute each value into the message!?
224219
param_spans.push(def_span);
225220
param_names.push(param.name.to_string());
226221
}

0 commit comments

Comments
 (0)