diff options
| author | Santiago Pastorino <spastorino@gmail.com> | 2024-05-24 23:58:00 -0300 |
|---|---|---|
| committer | Santiago Pastorino <spastorino@gmail.com> | 2024-05-24 23:58:27 -0300 |
| commit | 41d4a95fcaa49560a8b6cd2048ed5ef4bfdfa7c1 (patch) | |
| tree | 9a729fcb514d8dd87a18742cd4e87542dee74a8f /compiler/rustc_lint_defs/src | |
| parent | 698293518de49ac79eb7874e97557f8e2eabda06 (diff) | |
| download | rust-41d4a95fcaa49560a8b6cd2048ed5ef4bfdfa7c1.tar.gz rust-41d4a95fcaa49560a8b6cd2048ed5ef4bfdfa7c1.zip | |
Add "better" edition handling on lint-docs tool
Diffstat (limited to 'compiler/rustc_lint_defs/src')
| -rw-r--r-- | compiler/rustc_lint_defs/src/builtin.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/rustc_lint_defs/src/builtin.rs b/compiler/rustc_lint_defs/src/builtin.rs index 53694545772..8727dcfad9a 100644 --- a/compiler/rustc_lint_defs/src/builtin.rs +++ b/compiler/rustc_lint_defs/src/builtin.rs @@ -3803,7 +3803,7 @@ declare_lint! { /// /// ### Example /// - /// ```rust,compile_fail + /// ```rust,edition2018,compile_fail /// #![deny(rust_2021_incompatible_or_patterns)] /// /// macro_rules! match_any { @@ -3843,7 +3843,7 @@ declare_lint! { /// /// ### Example /// - /// ```rust,compile_fail + /// ```rust,edition2018,compile_fail /// #![deny(rust_2021_prelude_collisions)] /// /// trait Foo { |
