Skip to content

Commit 9ef533e

Browse files
committed
Fill in tracking issue
1 parent 52ba120 commit 9ef533e

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

compiler/rustc_lint_defs/src/builtin.rs

+1-2
Original file line numberDiff line numberDiff line change
@@ -4986,8 +4986,7 @@ declare_lint! {
49864986
"detects `as` casts from pointers to `dyn Trait` to pointers to `dyn Trait + Auto`",
49874987
@future_incompatible = FutureIncompatibleInfo {
49884988
reason: FutureIncompatibilityReason::FutureReleaseErrorReportInDeps,
4989-
// FIXME: actually write an issue with an explanation
4990-
reference: "issue #125289 <https://github.com/rust-lang/rust/issues/125289>",
4989+
reference: "issue #127323 <https://github.com/rust-lang/rust/issues/127323>",
49914990
};
49924991
}
49934992

tests/ui/cast/ptr-to-trait-obj-add-auto.stderr

+4-4
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ LL | x as _
55
| ^^^^^^
66
|
77
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
8-
= note: for more information, see issue #125289 <https://github.com/rust-lang/rust/issues/125289>
8+
= note: for more information, see issue #127323 <https://github.com/rust-lang/rust/issues/127323>
99
= note: `#[warn(ptr_cast_add_auto_to_object)]` on by default
1010

1111
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 _
1515
| ^^^^^^
1616
|
1717
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
18-
= note: for more information, see issue #125289 <https://github.com/rust-lang/rust/issues/125289>
18+
= note: for more information, see issue #127323 <https://github.com/rust-lang/rust/issues/127323>
1919

2020
warning: 2 warnings emitted
2121

@@ -27,7 +27,7 @@ LL | x as _
2727
| ^^^^^^
2828
|
2929
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
30-
= note: for more information, see issue #125289 <https://github.com/rust-lang/rust/issues/125289>
30+
= note: for more information, see issue #127323 <https://github.com/rust-lang/rust/issues/127323>
3131
= note: `#[warn(ptr_cast_add_auto_to_object)]` on by default
3232

3333
Future breakage diagnostic:
@@ -38,6 +38,6 @@ LL | x as _
3838
| ^^^^^^
3939
|
4040
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
41-
= note: for more information, see issue #125289 <https://github.com/rust-lang/rust/issues/125289>
41+
= note: for more information, see issue #127323 <https://github.com/rust-lang/rust/issues/127323>
4242
= note: `#[warn(ptr_cast_add_auto_to_object)]` on by default
4343

0 commit comments

Comments
 (0)