about summary refs log tree commit diff
diff options
context:
space:
mode:
authorclubby789 <jamie@hill-daniel.co.uk>2024-02-07 19:42:07 +0000
committerclubby789 <jamie@hill-daniel.co.uk>2024-02-07 19:42:07 +0000
commit79e41114428f238f5c0265e1e237d1afb5c66654 (patch)
tree817ed66d48c5ab2db1594cfd967b5ec77bd1bf67
parentca44e1ee9f993d9e7a4fbb83eea3f28aaf0f0306 (diff)
downloadrust-79e41114428f238f5c0265e1e237d1afb5c66654.tar.gz
rust-79e41114428f238f5c0265e1e237d1afb5c66654.zip
Remove `ffi_returns_twice` references
-rw-r--r--crates/hir-def/src/attr/builtin.rs3
-rw-r--r--crates/ide-db/src/generated/lints.rs11
2 files changed, 0 insertions, 14 deletions
diff --git a/crates/hir-def/src/attr/builtin.rs b/crates/hir-def/src/attr/builtin.rs
index 48a596f7f53..b20ee9e5bf6 100644
--- a/crates/hir-def/src/attr/builtin.rs
+++ b/crates/hir-def/src/attr/builtin.rs
@@ -283,9 +283,6 @@ pub const INERT_ATTRIBUTES: &[BuiltinAttribute] = &[
         experimental!(optimize),
     ),
 
-    gated!(
-        ffi_returns_twice, Normal, template!(Word), WarnFollowing, experimental!(ffi_returns_twice)
-    ),
     gated!(ffi_pure, Normal, template!(Word), WarnFollowing, experimental!(ffi_pure)),
     gated!(ffi_const, Normal, template!(Word), WarnFollowing, experimental!(ffi_const)),
     gated!(
diff --git a/crates/ide-db/src/generated/lints.rs b/crates/ide-db/src/generated/lints.rs
index 677c8fd54c0..2fc07933200 100644
--- a/crates/ide-db/src/generated/lints.rs
+++ b/crates/ide-db/src/generated/lints.rs
@@ -5047,17 +5047,6 @@ against are compatible with those of the `#[ffi_pure]`.
 "##,
     },
     Lint {
-        label: "ffi_returns_twice",
-        description: r##"# `ffi_returns_twice`
-
-The tracking issue for this feature is: [#58314]
-
-[#58314]: https://github.com/rust-lang/rust/issues/58314
-
-------------------------
-"##,
-    },
-    Lint {
         label: "float_gamma",
         description: r##"# `float_gamma`