diff --git a/compiler/rustc_lint/src/macro_expr_fragment_specifier_2024_migration.rs b/compiler/rustc_lint/src/macro_expr_fragment_specifier_2024_migration.rs index 73f7cc81cc7c9..fa473cf827fee 100644 --- a/compiler/rustc_lint/src/macro_expr_fragment_specifier_2024_migration.rs +++ b/compiler/rustc_lint/src/macro_expr_fragment_specifier_2024_migration.rs @@ -51,12 +51,11 @@ declare_lint! { /// This lint solves the problem automatically. It is "allow" by default /// because the code is perfectly valid in older editions. The [`cargo /// fix`] tool with the `--edition` flag will switch this lint to "warn" - /// and automatically apply the suggested fix from the compiler (which is - /// to use a raw identifier). This provides a completely automated way to - /// update old code for a new edition. + /// and automatically apply the suggested fix from the compiler. + /// This provides a completely automated way to update old code for + /// a new edition. /// /// [editions]: https://doc.rust-lang.org/edition-guide/ - /// [raw identifier]: https://doc.rust-lang.org/reference/identifiers.html /// [`cargo fix`]: https://doc.rust-lang.org/cargo/commands/cargo-fix.html pub EDITION_2024_EXPR_FRAGMENT_SPECIFIER, Allow,