Skip to content

Commit 8c3b099

Browse files
authored
Unrolled build for rust-lang#119089
Rollup merge of rust-lang#119089 - fmease:dont-ice-on-tilde-const-non-const-trait, r=fee1-dead effects: fix a comment r? fee1-dead or compiler
2 parents 3095d31 + ffdc6c7 commit 8c3b099

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/rustc_hir_analysis/src/astconv/generics.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ pub fn create_args_for_parent_generic_args<'tcx, 'a>(
262262
// impl const PartialEq for () {}
263263
// ```
264264
//
265-
// Since this is a const impl, we need to insert `<false>` at the end of
265+
// Since this is a const impl, we need to insert a host arg at the end of
266266
// `PartialEq`'s generics, but this errors since `Rhs` isn't specified.
267267
// To work around this, we infer all arguments until we reach the host param.
268268
args.push(ctx.inferred_kind(Some(&args), param, infer_args));

0 commit comments

Comments
 (0)