mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-06 20:13:42 +00:00
Change the description of SUSPICIOUS_AUTO_TRAIT_IMPLS
This commit is contained in:
parent
944f237d2d
commit
37159345a7
@ -4052,12 +4052,12 @@ declare_lint! {
|
||||
///
|
||||
/// The compiler disables the automatic implementation if an explicit one
|
||||
/// exists for given type constructor. The exact rules governing this
|
||||
/// are currently unsound, quite subtle, and will be modified in the future.
|
||||
/// This change will cause the automatic implementation to be disabled in more
|
||||
/// were previously unsound, quite subtle, and have been recently modified.
|
||||
/// This change caused the automatic implementation to be disabled in more
|
||||
/// cases, potentially breaking some code.
|
||||
pub SUSPICIOUS_AUTO_TRAIT_IMPLS,
|
||||
Warn,
|
||||
"the rules governing auto traits will change in the future",
|
||||
"the rules governing auto traits have recently changed resulting in potential breakage",
|
||||
@future_incompatible = FutureIncompatibleInfo {
|
||||
reason: FutureIncompatibilityReason::FutureReleaseSemanticsChange,
|
||||
reference: "issue #93367 <https://github.com/rust-lang/rust/issues/93367>",
|
||||
|
Loading…
Reference in New Issue
Block a user