diff options
| author | Oliver Scherer <github35764891676564198441@oli-obk.de> | 2019-01-09 16:34:31 +0100 |
|---|---|---|
| committer | Oliver Scherer <github35764891676564198441@oli-obk.de> | 2019-01-09 16:34:31 +0100 |
| commit | dec79e44705992d607b001cd349c98807761d3d8 (patch) | |
| tree | 0f6b6d05f2150531ef71f14d344589bcb8ac92e0 | |
| parent | cd5a9e04da9a2a76e79dde90c394cd0b7c570a42 (diff) | |
Not seeing the forest because there are too many trees in the way
| -rw-r--r-- | src/librustc_mir/const_eval.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc_mir/const_eval.rs b/src/librustc_mir/const_eval.rs index 594496fe972..d79e0a817ee 100644 --- a/src/librustc_mir/const_eval.rs +++ b/src/librustc_mir/const_eval.rs @@ -90,7 +90,7 @@ fn mk_eval_cx_inner<'a, 'mir, 'tcx>( /// The function containing the `match` that is currently being analyzed may have generic bounds /// that inform us about the generic bounds of the constant. E.g. using an associated constant /// of a function's generic parameter will require knowledge about the bounds on the generic -/// parameter. +/// parameter. These bounds are passed to `mk_eval_cx` via the `ParamEnv` argument. fn mk_eval_cx<'a, 'tcx>( tcx: TyCtxt<'a, 'tcx, 'tcx>, instance: Instance<'tcx>, |
