Mention type parameter in more cases and don't suggest ~const bound already there
This commit is contained in:
parent
3f2a63a68b
commit
d860e5b088
53 changed files with 106 additions and 172 deletions
|
@ -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,
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue