Skip to content

Commit c48f145

Browse files
committed
Auto merge of #16507 - clubby789:remove-ffi_returns_twice, r=lnicola
Remove `ffi_returns_twice` references This feature has just been [removed](rust-lang/rust#120502)
2 parents ca44e1e + 79e4111 commit c48f145

File tree

2 files changed

+0
-14
lines changed

2 files changed

+0
-14
lines changed

crates/hir-def/src/attr/builtin.rs

-3
Original file line numberDiff line numberDiff line change
@@ -283,9 +283,6 @@ pub const INERT_ATTRIBUTES: &[BuiltinAttribute] = &[
283283
experimental!(optimize),
284284
),
285285

286-
gated!(
287-
ffi_returns_twice, Normal, template!(Word), WarnFollowing, experimental!(ffi_returns_twice)
288-
),
289286
gated!(ffi_pure, Normal, template!(Word), WarnFollowing, experimental!(ffi_pure)),
290287
gated!(ffi_const, Normal, template!(Word), WarnFollowing, experimental!(ffi_const)),
291288
gated!(

crates/ide-db/src/generated/lints.rs

-11
Original file line numberDiff line numberDiff line change
@@ -5044,17 +5044,6 @@ against are compatible with those of the `#[ffi_pure]`.
50445044
[ARM C/C++ compiler]: http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.dui0491c/Cacigdac.html
50455045
[GCC]: https://gcc.gnu.org/onlinedocs/gcc/Common-Function-Attributes.html#index-pure-function-attribute
50465046
[IBM ILE C/C++]: https://www.ibm.com/support/knowledgecenter/fr/ssw_ibm_i_71/rzarg/fn_attrib_pure.htm
5047-
"##,
5048-
},
5049-
Lint {
5050-
label: "ffi_returns_twice",
5051-
description: r##"# `ffi_returns_twice`
5052-
5053-
The tracking issue for this feature is: [#58314]
5054-
5055-
[#58314]: https://github.com/rust-lang/rust/issues/58314
5056-
5057-
------------------------
50585047
"##,
50595048
},
50605049
Lint {

0 commit comments

Comments
 (0)