diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2022-02-08 06:47:35 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-02-08 06:47:35 +0100 |
| commit | b7f785092d84a4b4dadb08fc9fdfe86b0b6139e6 (patch) | |
| tree | dac514de5bebfcf5ce1a42f362f967239a3cea9e | |
| parent | 54ecec9b7a0754077725081ef326646d95a8d954 (diff) | |
| parent | ac0027d45c1891d56e734b4aa6c3aaa8223a9850 (diff) | |
| download | rust-b7f785092d84a4b4dadb08fc9fdfe86b0b6139e6.tar.gz rust-b7f785092d84a4b4dadb08fc9fdfe86b0b6139e6.zip | |
Rollup merge of #93672 - lcnr:const-param-defaults-xx, r=matthewjasper
update comment wrt const param defaults after #93669 i looked through all other uses of `GenericParamKind::Const` again to detect if we missed the `default` there as well, but afaict we really only missed lifetime resolution '^^ at least i found an outdated comment :3
| -rw-r--r-- | compiler/rustc_builtin_macros/src/deriving/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_builtin_macros/src/deriving/mod.rs b/compiler/rustc_builtin_macros/src/deriving/mod.rs index 367a5aa7323..0ca7988ca15 100644 --- a/compiler/rustc_builtin_macros/src/deriving/mod.rs +++ b/compiler/rustc_builtin_macros/src/deriving/mod.rs @@ -134,7 +134,7 @@ fn inject_impl_of_structural_trait( // Create the type of `self`. // - // in addition, remove defaults from type params (impls cannot have them). + // in addition, remove defaults from generic params (impls cannot have them). let self_params: Vec<_> = generics .params .iter_mut() |
