We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 3095d31 + ffdc6c7 commit 8c3b099Copy full SHA for 8c3b099
compiler/rustc_hir_analysis/src/astconv/generics.rs
@@ -262,7 +262,7 @@ pub fn create_args_for_parent_generic_args<'tcx, 'a>(
262
// impl const PartialEq for () {}
263
// ```
264
//
265
- // 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
266
// `PartialEq`'s generics, but this errors since `Rhs` isn't specified.
267
// To work around this, we infer all arguments until we reach the host param.
268
args.push(ctx.inferred_kind(Some(&args), param, infer_args));
0 commit comments