Skip to content

Commit

Permalink
remove unnecessary comment
Browse files Browse the repository at this point in the history
  • Loading branch information
CleanCut committed Aug 26, 2022
1 parent 82d609c commit a19139f
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions compiler/rustc_monomorphize/src/polymorphize.rs
Original file line number Diff line number Diff line change
Expand Up @@ -216,11 +216,6 @@ fn emit_unused_generic_params_error<'tcx>(
if unused_parameters.contains(param.index).unwrap_or(false) {
debug!(?param);
let def_span = tcx.def_span(param.def_id);
// 🤔 The docs say
//
// Any attribute applied to a Vec<T> will be repeated for each element of the vector.
//
// But they don't say what template variable to use to substitute each value into the message!?
param_spans.push(def_span);
param_names.push(param.name.to_string());
}
Expand Down

0 comments on commit a19139f

Please sign in to comment.