Fill in tracking issue
This commit is contained in:
parent
52ba120700
commit
9ef533e8de
@ -4986,8 +4986,7 @@
|
||||
"detects `as` casts from pointers to `dyn Trait` to pointers to `dyn Trait + Auto`",
|
||||
@future_incompatible = FutureIncompatibleInfo {
|
||||
reason: FutureIncompatibilityReason::FutureReleaseErrorReportInDeps,
|
||||
// FIXME: actually write an issue with an explanation
|
||||
reference: "issue #125289 <https://github.com/rust-lang/rust/issues/125289>",
|
||||
reference: "issue #127323 <https://github.com/rust-lang/rust/issues/127323>",
|
||||
};
|
||||
}
|
||||
|
||||
|
@ -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!
|
||||
= 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
|
||||
|
||||
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!
|
||||
= 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
|
||||
|
||||
@ -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!
|
||||
= 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
|
||||
|
||||
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!
|
||||
= 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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user