diff --git a/compiler/rustc_lint_defs/src/builtin.rs b/compiler/rustc_lint_defs/src/builtin.rs index 76f5f4097d9..106afa3495c 100644 --- a/compiler/rustc_lint_defs/src/builtin.rs +++ b/compiler/rustc_lint_defs/src/builtin.rs @@ -2733,7 +2733,7 @@ /// #![feature(naked_functions)] /// /// #[naked] - /// pub extern "sysv64" fn f() -> u32 { + /// pub extern "C" fn f() -> u32 { /// 42 /// } /// ```