Co-Authored-By: Oliver Scherer <github35764891676564198441@oli-obk.de>
This commit is contained in:
Aaron Hill 2020-01-17 08:13:04 -05:00 committed by GitHub
parent 171fe82efc
commit c431cd751f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -92,7 +92,7 @@ impl<'tcx> MirPass<'tcx> for ConstProp {
//
// We manually filter the predicates, skipping anything that's not
// "global". We are in a potentially generic context
// (e.g. we are evaluating a function without substituging generic
// (e.g. we are evaluating a function without substituting generic
// parameters, so this filtering serves two purposes:
//
// 1. We skip evaluating any predicates that we would