Auto merge of #89893 - camsteffen:redundant-dump-enabled, r=matthewjasper
Remove redundant dump_enabled check
This commit is contained in:
commit
01198792a6
3 changed files with 8 additions and 29 deletions
|
@ -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>,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue