We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 82d609c commit a19139fCopy full SHA for a19139f
compiler/rustc_monomorphize/src/polymorphize.rs
@@ -216,11 +216,6 @@ fn emit_unused_generic_params_error<'tcx>(
216
if unused_parameters.contains(param.index).unwrap_or(false) {
217
debug!(?param);
218
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!?
224
param_spans.push(def_span);
225
param_names.push(param.name.to_string());
226
}
0 commit comments