@@ -1814,7 +1814,7 @@ declare_lint! {
1814
1814
"suggest using `dyn Trait` for trait objects" ,
1815
1815
@future_incompatible = FutureIncompatibleInfo {
1816
1816
reason: FutureIncompatibilityReason :: EditionError ( Edition :: Edition2021 ) ,
1817
- reference: "<https://doc.rust-lang.org/nightly/ edition-guide/rust-2021/warnings-promoted-to-error.html>" ,
1817
+ reference: "<https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>" ,
1818
1818
} ;
1819
1819
}
1820
1820
@@ -2472,7 +2472,7 @@ declare_lint! {
2472
2472
"unsafe operations in unsafe functions without an explicit unsafe block are deprecated" ,
2473
2473
@future_incompatible = FutureIncompatibleInfo {
2474
2474
reason: FutureIncompatibilityReason :: EditionSemanticsChange ( Edition :: Edition2024 ) ,
2475
- reference: "<https://doc.rust-lang.org/nightly/ edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>" ,
2475
+ reference: "<https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>" ,
2476
2476
explain_reason: false
2477
2477
} ;
2478
2478
@edition Edition2024 => Warn ;
@@ -3445,7 +3445,7 @@ declare_lint! {
3445
3445
"detects usage of old versions of or-patterns" ,
3446
3446
@future_incompatible = FutureIncompatibleInfo {
3447
3447
reason: FutureIncompatibilityReason :: EditionError ( Edition :: Edition2021 ) ,
3448
- reference: "<https://doc.rust-lang.org/nightly/ edition-guide/rust-2021/or-patterns-macro-rules.html>" ,
3448
+ reference: "<https://doc.rust-lang.org/edition-guide/rust-2021/or-patterns-macro-rules.html>" ,
3449
3449
} ;
3450
3450
}
3451
3451
@@ -3494,7 +3494,7 @@ declare_lint! {
3494
3494
prelude in future editions",
3495
3495
@future_incompatible = FutureIncompatibleInfo {
3496
3496
reason: FutureIncompatibilityReason :: EditionError ( Edition :: Edition2021 ) ,
3497
- reference: "<https://doc.rust-lang.org/nightly/ edition-guide/rust-2021/prelude.html>" ,
3497
+ reference: "<https://doc.rust-lang.org/edition-guide/rust-2021/prelude.html>" ,
3498
3498
} ;
3499
3499
}
3500
3500
@@ -3534,7 +3534,7 @@ declare_lint! {
3534
3534
prelude in future editions",
3535
3535
@future_incompatible = FutureIncompatibleInfo {
3536
3536
reason: FutureIncompatibilityReason :: EditionError ( Edition :: Edition2024 ) ,
3537
- reference: "<https://doc.rust-lang.org/nightly/ edition-guide/rust-2024/prelude.html>" ,
3537
+ reference: "<https://doc.rust-lang.org/edition-guide/rust-2024/prelude.html>" ,
3538
3538
} ;
3539
3539
}
3540
3540
@@ -3571,7 +3571,7 @@ declare_lint! {
3571
3571
"identifiers that will be parsed as a prefix in Rust 2021" ,
3572
3572
@future_incompatible = FutureIncompatibleInfo {
3573
3573
reason: FutureIncompatibilityReason :: EditionError ( Edition :: Edition2021 ) ,
3574
- reference: "<https://doc.rust-lang.org/nightly/ edition-guide/rust-2021/reserving-syntax.html>" ,
3574
+ reference: "<https://doc.rust-lang.org/edition-guide/rust-2021/reserving-syntax.html>" ,
3575
3575
} ;
3576
3576
crate_level_only
3577
3577
}
@@ -4100,7 +4100,7 @@ declare_lint! {
4100
4100
"never type fallback affecting unsafe function calls" ,
4101
4101
@future_incompatible = FutureIncompatibleInfo {
4102
4102
reason: FutureIncompatibilityReason :: EditionAndFutureReleaseSemanticsChange ( Edition :: Edition2024 ) ,
4103
- reference: "<https://doc.rust-lang.org/nightly/ edition-guide/rust-2024/never-type-fallback.html>" ,
4103
+ reference: "<https://doc.rust-lang.org/edition-guide/rust-2024/never-type-fallback.html>" ,
4104
4104
report_in_deps: true ,
4105
4105
} ;
4106
4106
@edition Edition2024 => Deny ;
@@ -4155,7 +4155,7 @@ declare_lint! {
4155
4155
"never type fallback affecting unsafe function calls" ,
4156
4156
@future_incompatible = FutureIncompatibleInfo {
4157
4157
reason: FutureIncompatibilityReason :: EditionAndFutureReleaseError ( Edition :: Edition2024 ) ,
4158
- reference: "<https://doc.rust-lang.org/nightly/ edition-guide/rust-2024/never-type-fallback.html>" ,
4158
+ reference: "<https://doc.rust-lang.org/edition-guide/rust-2024/never-type-fallback.html>" ,
4159
4159
report_in_deps: true ,
4160
4160
} ;
4161
4161
report_in_external_macro
@@ -4740,7 +4740,7 @@ declare_lint! {
4740
4740
"detects unsafe functions being used as safe functions" ,
4741
4741
@future_incompatible = FutureIncompatibleInfo {
4742
4742
reason: FutureIncompatibilityReason :: EditionError ( Edition :: Edition2024 ) ,
4743
- reference: "<https://doc.rust-lang.org/nightly/ edition-guide/rust-2024/newly-unsafe-functions.html>" ,
4743
+ reference: "<https://doc.rust-lang.org/edition-guide/rust-2024/newly-unsafe-functions.html>" ,
4744
4744
} ;
4745
4745
}
4746
4746
@@ -4776,7 +4776,7 @@ declare_lint! {
4776
4776
"detects missing unsafe keyword on extern declarations" ,
4777
4777
@future_incompatible = FutureIncompatibleInfo {
4778
4778
reason: FutureIncompatibilityReason :: EditionError ( Edition :: Edition2024 ) ,
4779
- reference: "<https://doc.rust-lang.org/nightly/ edition-guide/rust-2024/unsafe-extern.html>" ,
4779
+ reference: "<https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-extern.html>" ,
4780
4780
} ;
4781
4781
}
4782
4782
@@ -4817,7 +4817,7 @@ declare_lint! {
4817
4817
"detects unsafe attributes outside of unsafe" ,
4818
4818
@future_incompatible = FutureIncompatibleInfo {
4819
4819
reason: FutureIncompatibilityReason :: EditionError ( Edition :: Edition2024 ) ,
4820
- reference: "<https://doc.rust-lang.org/nightly/ edition-guide/rust-2024/unsafe-attributes.html>" ,
4820
+ reference: "<https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-attributes.html>" ,
4821
4821
} ;
4822
4822
}
4823
4823
@@ -5014,7 +5014,7 @@ declare_lint! {
5014
5014
"Detect and warn on significant change in drop order in tail expression location" ,
5015
5015
@future_incompatible = FutureIncompatibleInfo {
5016
5016
reason: FutureIncompatibilityReason :: EditionSemanticsChange ( Edition :: Edition2024 ) ,
5017
- reference: "<https://doc.rust-lang.org/nightly/ edition-guide/rust-2024/temporary-tail-expr-scope.html>" ,
5017
+ reference: "<https://doc.rust-lang.org/edition-guide/rust-2024/temporary-tail-expr-scope.html>" ,
5018
5018
} ;
5019
5019
}
5020
5020
@@ -5053,7 +5053,7 @@ declare_lint! {
5053
5053
"will be parsed as a guarded string in Rust 2024" ,
5054
5054
@future_incompatible = FutureIncompatibleInfo {
5055
5055
reason: FutureIncompatibilityReason :: EditionError ( Edition :: Edition2024 ) ,
5056
- reference: "<https://doc.rust-lang.org/nightly/ edition-guide/rust-2024/reserved-syntax.html>" ,
5056
+ reference: "<https://doc.rust-lang.org/edition-guide/rust-2024/reserved-syntax.html>" ,
5057
5057
} ;
5058
5058
crate_level_only
5059
5059
}
0 commit comments