Skip to content

Commit

Permalink
Make NEVER_TYPE_FALLBACK_FLOWING_INTO_UNSAFE into an FCW and report…
Browse files Browse the repository at this point in the history
… it ext macros
  • Loading branch information
WaffleLapkin committed May 17, 2024
1 parent 83acddc commit a02db86
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion compiler/rustc_lint_defs/src/builtin.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4320,7 +4320,12 @@ declare_lint! {
/// [`()`]: https://doc.rust-lang.org/core/primitive.unit.html
pub NEVER_TYPE_FALLBACK_FLOWING_INTO_UNSAFE,
Warn,
"never type fallback affecting unsafe function calls"
"never type fallback affecting unsafe function calls",
@future_incompatible = FutureIncompatibleInfo {
reason: FutureIncompatibilityReason::FutureReleaseSemanticsChange,
reference: "issue #123748 <https://github.com/rust-lang/rust/issues/123748>",
};
report_in_external_macro
}

declare_lint! {
Expand Down

0 comments on commit a02db86

Please sign in to comment.