Fill in tracking issue

This commit is contained in:
Maybe Lapkin 2024-07-04 17:52:01 +02:00
parent 52ba120700
commit 9ef533e8de
2 changed files with 5 additions and 6 deletions

View File

@ -4986,8 +4986,7 @@ declare_lint! {
"detects `as` casts from pointers to `dyn Trait` to pointers to `dyn Trait + Auto`", "detects `as` casts from pointers to `dyn Trait` to pointers to `dyn Trait + Auto`",
@future_incompatible = FutureIncompatibleInfo { @future_incompatible = FutureIncompatibleInfo {
reason: FutureIncompatibilityReason::FutureReleaseErrorReportInDeps, reason: FutureIncompatibilityReason::FutureReleaseErrorReportInDeps,
// FIXME: actually write an issue with an explanation reference: "issue #127323 <https://github.com/rust-lang/rust/issues/127323>",
reference: "issue #125289 <https://github.com/rust-lang/rust/issues/125289>",
}; };
} }

View File

@ -5,7 +5,7 @@ LL | x as _
| ^^^^^^ | ^^^^^^
| |
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
= note: for more information, see issue #125289 <https://github.com/rust-lang/rust/issues/125289> = note: for more information, see issue #127323 <https://github.com/rust-lang/rust/issues/127323>
= note: `#[warn(ptr_cast_add_auto_to_object)]` on by default = note: `#[warn(ptr_cast_add_auto_to_object)]` on by default
warning: adding auto traits `Sync`, `Send`, and `Unpin` to a trait object in a pointer cast may cause UB later on warning: adding auto traits `Sync`, `Send`, and `Unpin` to a trait object in a pointer cast may cause UB later on
@ -15,7 +15,7 @@ LL | x as _
| ^^^^^^ | ^^^^^^
| |
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
= note: for more information, see issue #125289 <https://github.com/rust-lang/rust/issues/125289> = note: for more information, see issue #127323 <https://github.com/rust-lang/rust/issues/127323>
warning: 2 warnings emitted warning: 2 warnings emitted
@ -27,7 +27,7 @@ LL | x as _
| ^^^^^^ | ^^^^^^
| |
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
= note: for more information, see issue #125289 <https://github.com/rust-lang/rust/issues/125289> = note: for more information, see issue #127323 <https://github.com/rust-lang/rust/issues/127323>
= note: `#[warn(ptr_cast_add_auto_to_object)]` on by default = note: `#[warn(ptr_cast_add_auto_to_object)]` on by default
Future breakage diagnostic: Future breakage diagnostic:
@ -38,6 +38,6 @@ LL | x as _
| ^^^^^^ | ^^^^^^
| |
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
= note: for more information, see issue #125289 <https://github.com/rust-lang/rust/issues/125289> = note: for more information, see issue #127323 <https://github.com/rust-lang/rust/issues/127323>
= note: `#[warn(ptr_cast_add_auto_to_object)]` on by default = note: `#[warn(ptr_cast_add_auto_to_object)]` on by default