diff options
| author | Esteban Küber <esteban@kuber.com.ar> | 2024-11-28 21:57:48 +0000 |
|---|---|---|
| committer | Esteban Küber <esteban@kuber.com.ar> | 2024-12-07 21:37:13 +0000 |
| commit | d860e5b088a0030c55b8850d10ab231d86fc2969 (patch) | |
| tree | dbe5227332778bf6d7b6ebcd07b5eddeb162cac5 /compiler/rustc_const_eval/src | |
| parent | 3f2a63a68bbf4e84f7e409659bb64bdd75db39e5 (diff) | |
Mention type parameter in more cases and don't suggest ~const bound already there
Diffstat (limited to 'compiler/rustc_const_eval/src')
| -rw-r--r-- | compiler/rustc_const_eval/src/check_consts/ops.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_const_eval/src/check_consts/ops.rs b/compiler/rustc_const_eval/src/check_consts/ops.rs index 489bb54a6f9..23f2aa4d029 100644 --- a/compiler/rustc_const_eval/src/check_consts/ops.rs +++ b/compiler/rustc_const_eval/src/check_consts/ops.rs @@ -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, ); } |
