1
Fork 0

Auto merge of #89893 - camsteffen:redundant-dump-enabled, r=matthewjasper

Remove redundant dump_enabled check
This commit is contained in:
bors 2021-10-22 17:32:20 +00:00
commit 01198792a6
3 changed files with 8 additions and 29 deletions

View file

@ -71,6 +71,7 @@ pub enum PassWhere {
/// or `typeck` appears in the name.
/// - `foo & nll | bar & typeck` == match if `foo` and `nll` both appear in the name
/// or `typeck` and `bar` both appear in the name.
#[inline]
pub fn dump_mir<'tcx, F>(
tcx: TyCtxt<'tcx>,
pass_num: Option<&dyn Display>,