We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c6cba68 commit 15450b1Copy full SHA for 15450b1
compiler/rustc_lint_defs/src/builtin.rs
@@ -3967,14 +3967,9 @@ declare_lint! {
3967
///
3968
/// ### Example
3969
3970
- /// ```rust,ignore (need FFI)
3971
- /// #![feature(ffi_unwind_calls)]
+ /// ```rust
3972
/// #![feature(c_unwind)]
3973
- ///
3974
- /// # mod impl {
3975
- /// # #[no_mangle]
3976
- /// # pub fn "C-unwind" fn foo() {}
3977
- /// # }
+ /// #![warn(ffi_unwind_calls)]
3978
3979
/// extern "C-unwind" {
3980
/// fn foo();
0 commit comments