Skip to content

Commit a02db86

Browse files
committed
Make NEVER_TYPE_FALLBACK_FLOWING_INTO_UNSAFE into an FCW and report it ext macros
1 parent 83acddc commit a02db86

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

compiler/rustc_lint_defs/src/builtin.rs

+6-1
Original file line numberDiff line numberDiff line change
@@ -4320,7 +4320,12 @@ declare_lint! {
43204320
/// [`()`]: https://doc.rust-lang.org/core/primitive.unit.html
43214321
pub NEVER_TYPE_FALLBACK_FLOWING_INTO_UNSAFE,
43224322
Warn,
4323-
"never type fallback affecting unsafe function calls"
4323+
"never type fallback affecting unsafe function calls",
4324+
@future_incompatible = FutureIncompatibleInfo {
4325+
reason: FutureIncompatibilityReason::FutureReleaseSemanticsChange,
4326+
reference: "issue #123748 <https://github.com/rust-lang/rust/issues/123748>",
4327+
};
4328+
report_in_external_macro
43244329
}
43254330

43264331
declare_lint! {

0 commit comments

Comments
 (0)