about summary refs log tree commit diff
path: root/compiler/rustc_lint_defs/src/builtin.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-05-02 00:45:04 +0000
committerbors <bors@rust-lang.org>2023-05-02 00:45:04 +0000
commit1cb63572d271855a5ccef79a3e10a8015d00f6ad (patch)
tree96a9a2f55928d10c7d209c51eda0041d159a2503 /compiler/rustc_lint_defs/src/builtin.rs
parentd6ddee637b62c6c4cdee90d98c3a21a1325a8e81 (diff)
parentc9a0be27ac798936c2ff40d2875c696e48b34e62 (diff)
downloadrust-1cb63572d271855a5ccef79a3e10a8015d00f6ad.tar.gz
rust-1cb63572d271855a5ccef79a3e10a8015d00f6ad.zip
Auto merge of #106075 - nbdd0121:ffi-unwind, r=joshtriplett
Partial stabilisation of `c_unwind`

The stabilisation report is at https://github.com/rust-lang/rust/issues/74990#issuecomment-1363473645

cc `@rust-lang/wg-ffi-unwind`
Diffstat (limited to 'compiler/rustc_lint_defs/src/builtin.rs')
-rw-r--r--compiler/rustc_lint_defs/src/builtin.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/compiler/rustc_lint_defs/src/builtin.rs b/compiler/rustc_lint_defs/src/builtin.rs
index a3d7bd3ef59..6fe15e21d94 100644
--- a/compiler/rustc_lint_defs/src/builtin.rs
+++ b/compiler/rustc_lint_defs/src/builtin.rs
@@ -4014,7 +4014,6 @@ declare_lint! {
     /// ### Example
     ///
     /// ```rust
-    /// #![feature(c_unwind)]
     /// #![warn(ffi_unwind_calls)]
     ///
     /// extern "C-unwind" {
@@ -4037,8 +4036,7 @@ declare_lint! {
     /// that desire this ability it is therefore necessary to avoid such calls.
     pub FFI_UNWIND_CALLS,
     Allow,
-    "call to foreign functions or function pointers with FFI-unwind ABI",
-    @feature_gate = sym::c_unwind;
+    "call to foreign functions or function pointers with FFI-unwind ABI"
 }
 
 declare_lint! {