diff options
| author | Nathan Stocks <cleancut@github.com> | 2022-08-26 11:45:09 -0600 | 
|---|---|---|
| committer | Nathan Stocks <cleancut@github.com> | 2022-08-26 11:45:09 -0600 | 
| commit | a19139f9ff8a303e3a26ff6c441e9c8032f19568 (patch) | |
| tree | 738751b56560149594ae0b3082c3cce768ec7079 /compiler/rustc_monomorphize | |
| parent | 82d609c8dfab1b7a1a77de54c1ac27f73778cf10 (diff) | |
| download | rust-a19139f9ff8a303e3a26ff6c441e9c8032f19568.tar.gz rust-a19139f9ff8a303e3a26ff6c441e9c8032f19568.zip  | |
remove unnecessary comment
Diffstat (limited to 'compiler/rustc_monomorphize')
| -rw-r--r-- | compiler/rustc_monomorphize/src/polymorphize.rs | 5 | 
1 files changed, 0 insertions, 5 deletions
diff --git a/compiler/rustc_monomorphize/src/polymorphize.rs b/compiler/rustc_monomorphize/src/polymorphize.rs index 88f8e24fbd5..6e4ab2a35c3 100644 --- a/compiler/rustc_monomorphize/src/polymorphize.rs +++ b/compiler/rustc_monomorphize/src/polymorphize.rs @@ -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()); }  | 
