We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cd5a9e0 commit dec79e4Copy full SHA for dec79e4
src/librustc_mir/const_eval.rs
@@ -90,7 +90,7 @@ fn mk_eval_cx_inner<'a, 'mir, 'tcx>(
90
/// The function containing the `match` that is currently being analyzed may have generic bounds
91
/// that inform us about the generic bounds of the constant. E.g. using an associated constant
92
/// of a function's generic parameter will require knowledge about the bounds on the generic
93
-/// parameter.
+/// parameter. These bounds are passed to `mk_eval_cx` via the `ParamEnv` argument.
94
fn mk_eval_cx<'a, 'tcx>(
95
tcx: TyCtxt<'a, 'tcx, 'tcx>,
96
instance: Instance<'tcx>,
0 commit comments