about summary refs log tree commit diff
diff options
context:
space:
mode:
authorRalf Jung <post@ralfj.de>2025-08-01 09:59:06 +0200
committerGitHub <noreply@github.com>2025-08-01 09:59:06 +0200
commit21140a5111df236fc24dac44af4ec3452b3cb948 (patch)
tree58fc020565921bb26722606609fb7125417b3739
parentfeac604509400843e0c1741a6e1b201a66201958 (diff)
parent0cc4be268ecd30dbcf63444e0b604f9bd5e127a1 (diff)
downloadrust-21140a5111df236fc24dac44af4ec3452b3cb948.tar.gz
rust-21140a5111df236fc24dac44af4ec3452b3cb948.zip
Rollup merge of #144772 - RalfJung:unsupported_calling_conventions, r=lqd
add unsupported_calling_conventions to lint list

Seems like you can emit lints without them being on the list, but users cannot control them then... *oops*.
-rw-r--r--compiler/rustc_lint_defs/src/builtin.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_lint_defs/src/builtin.rs b/compiler/rustc_lint_defs/src/builtin.rs
index b1edb5c3044..3b84c6b6110 100644
--- a/compiler/rustc_lint_defs/src/builtin.rs
+++ b/compiler/rustc_lint_defs/src/builtin.rs
@@ -125,6 +125,7 @@ declare_lint_pass! {
         UNSAFE_OP_IN_UNSAFE_FN,
         UNSTABLE_NAME_COLLISIONS,
         UNSTABLE_SYNTAX_PRE_EXPANSION,
+        UNSUPPORTED_CALLING_CONVENTIONS,
         UNUSED_ASSIGNMENTS,
         UNUSED_ASSOCIATED_TYPE_BOUNDS,
         UNUSED_ATTRIBUTES,