1
Fork 0

Mention type parameter in more cases and don't suggest ~const bound already there

This commit is contained in:
Esteban Küber 2024-11-28 21:57:48 +00:00
parent 3f2a63a68b
commit d860e5b088
53 changed files with 106 additions and 172 deletions

View file

@ -140,7 +140,7 @@ impl<'tcx> NonConstOp<'tcx> for FnCallNonConst<'tcx> {
err,
param_ty.name.as_str(),
&constraint,
None,
Some(trait_ref.def_id),
None,
);
}