Skip to content

Commit 2fd693f

Browse files
compiler: Remove unsupported_fn_ptr_calling_conventions lint
1 parent ee5e21f commit 2fd693f

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

compiler/rustc_lint/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -610,6 +610,7 @@ fn register_builtins(store: &mut LintStore) {
610610
"converted into hard error, see issue #127323 \
611611
<https://github.com/rust-lang/rust/issues/127323> for more information",
612612
);
613+
store.register_removed("unsupported_fn_ptr_calling_conventions", "converted into hard error");
613614
store.register_removed(
614615
"undefined_naked_function_abi",
615616
"converted into hard error, see PR #139001 \

compiler/rustc_lint_defs/src/builtin.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,6 @@ declare_lint_pass! {
123123
UNSAFE_OP_IN_UNSAFE_FN,
124124
UNSTABLE_NAME_COLLISIONS,
125125
UNSTABLE_SYNTAX_PRE_EXPANSION,
126-
UNSUPPORTED_FN_PTR_CALLING_CONVENTIONS,
127126
UNUSED_ASSIGNMENTS,
128127
UNUSED_ASSOCIATED_TYPE_BOUNDS,
129128
UNUSED_ATTRIBUTES,

0 commit comments

Comments
 (0)