diff options
| author | León Orell Valerian Liehr <me@fmease.dev> | 2023-12-19 14:25:24 +0100 |
|---|---|---|
| committer | León Orell Valerian Liehr <me@fmease.dev> | 2023-12-19 14:25:24 +0100 |
| commit | ffdc6c7b65b3d5bc8b2f1a6aaf1877552cb2541e (patch) | |
| tree | 14b8ac0c315f348053603ac840343dabf4dd48d7 /compiler/rustc_hir_analysis/src/astconv/generics.rs | |
| parent | bf9229a2e366b4c311f059014a4aa08af16de5d8 (diff) | |
| download | rust-ffdc6c7b65b3d5bc8b2f1a6aaf1877552cb2541e.tar.gz rust-ffdc6c7b65b3d5bc8b2f1a6aaf1877552cb2541e.zip | |
effects: fix comment
Diffstat (limited to 'compiler/rustc_hir_analysis/src/astconv/generics.rs')
| -rw-r--r-- | compiler/rustc_hir_analysis/src/astconv/generics.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_hir_analysis/src/astconv/generics.rs b/compiler/rustc_hir_analysis/src/astconv/generics.rs index be73c027fdc..b495b00ec70 100644 --- a/compiler/rustc_hir_analysis/src/astconv/generics.rs +++ b/compiler/rustc_hir_analysis/src/astconv/generics.rs @@ -262,7 +262,7 @@ pub fn create_args_for_parent_generic_args<'tcx, 'a>( // impl const PartialEq for () {} // ``` // - // Since this is a const impl, we need to insert `<false>` at the end of + // Since this is a const impl, we need to insert a host arg at the end of // `PartialEq`'s generics, but this errors since `Rhs` isn't specified. // To work around this, we infer all arguments until we reach the host param. args.push(ctx.inferred_kind(Some(&args), param, infer_args)); |
