Clarify a comment. · rust-lang/rust@0b2b03c (original) (raw)
File tree
1 file changed
lines changed
- compiler/rustc_mir_transform/src
1 file changed
lines changed
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -85,7 +85,8 @@ pub(super) trait MirPass<'tcx> { | ||
85 | 85 | } |
86 | 86 | } |
87 | 87 | |
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). | |
89 | 90 | pub(super) trait MirLint<'tcx> { |
90 | 91 | fn name(&self) -> &'static str { |
91 | 92 | // FIXME Simplify the implementation once more `str` methods get const-stable. |