Skip to content

Commit 0b2b03c

Browse files
committed
Clarify a comment.
1 parent 827fa43 commit 0b2b03c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

compiler/rustc_mir_transform/src/pass_manager.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,8 @@ pub(super) trait MirPass<'tcx> {
8585
}
8686
}
8787

88-
/// Just like `MirPass`, except it cannot mutate `Body`.
88+
/// Just like `MirPass`, except it cannot mutate `Body`, and MIR dumping is
89+
/// disabled (via the `Lint` adapter).
8990
pub(super) trait MirLint<'tcx> {
9091
fn name(&self) -> &'static str {
9192
// FIXME Simplify the implementation once more `str` methods get const-stable.

0 commit comments

Comments
 (0)