Skip to content
/ rust Public
forked from rust-lang/rust

Commit 3715934

Browse files
committed
Change the description of SUSPICIOUS_AUTO_TRAIT_IMPLS
1 parent 944f237 commit 3715934

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

compiler/rustc_lint_defs/src/builtin.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -4052,12 +4052,12 @@ declare_lint! {
40524052
///
40534053
/// The compiler disables the automatic implementation if an explicit one
40544054
/// exists for given type constructor. The exact rules governing this
4055-
/// are currently unsound, quite subtle, and will be modified in the future.
4056-
/// This change will cause the automatic implementation to be disabled in more
4055+
/// were previously unsound, quite subtle, and have been recently modified.
4056+
/// This change caused the automatic implementation to be disabled in more
40574057
/// cases, potentially breaking some code.
40584058
pub SUSPICIOUS_AUTO_TRAIT_IMPLS,
40594059
Warn,
4060-
"the rules governing auto traits will change in the future",
4060+
"the rules governing auto traits have recently changed resulting in potential breakage",
40614061
@future_incompatible = FutureIncompatibleInfo {
40624062
reason: FutureIncompatibilityReason::FutureReleaseSemanticsChange,
40634063
reference: "issue #93367 <https://github.com/rust-lang/rust/issues/93367>",

0 commit comments

Comments
 (0)