diff options
| author | Nicholas Nethercote <n.nethercote@gmail.com> | 2024-06-20 05:04:30 +1000 |
|---|---|---|
| committer | Nicholas Nethercote <n.nethercote@gmail.com> | 2024-06-20 09:23:20 +1000 |
| commit | 665821cb606076bcf159c47e3e8e72a14fa512e3 (patch) | |
| tree | db964362cf069b4524672435bc689844377ff0c8 /compiler/rustc_mir_transform/src/ctfe_limit.rs | |
| parent | 09006d6a88019b80f7158f1a5f754a358751d7f1 (diff) | |
| download | rust-665821cb606076bcf159c47e3e8e72a14fa512e3.tar.gz rust-665821cb606076bcf159c47e3e8e72a14fa512e3.zip | |
Add blank lines after module-level `//!` comments.
Most modules have such a blank line, but some don't. Inserting the blank line makes it clearer that the `//!` comments are describing the entire module, rather than the `use` declaration(s) that immediately follows.
Diffstat (limited to 'compiler/rustc_mir_transform/src/ctfe_limit.rs')
| -rw-r--r-- | compiler/rustc_mir_transform/src/ctfe_limit.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_mir_transform/src/ctfe_limit.rs b/compiler/rustc_mir_transform/src/ctfe_limit.rs index dcc960e1e02..a0dddec185c 100644 --- a/compiler/rustc_mir_transform/src/ctfe_limit.rs +++ b/compiler/rustc_mir_transform/src/ctfe_limit.rs @@ -1,5 +1,6 @@ //! A pass that inserts the `ConstEvalCounter` instruction into any blocks that have a back edge //! (thus indicating there is a loop in the CFG), or whose terminator is a function call. + use crate::MirPass; use rustc_data_structures::graph::dominators::Dominators; |
