File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
compiler/rustc_lint_defs/src Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -3720,10 +3720,12 @@ declare_lint! {
37203720 ///
37213721 /// ### Explanation
37223722 ///
3723- /// Historically, Rust implicitly selected C as the ABI for extern
3724- /// declarations. We expect to add new ABIs, like `C-unwind`, in the future,
3725- /// though this has not yet happened, and especially with their addition
3726- /// seeing the ABI easily will make code review easier.
3723+ /// For historic reasons, Rust implicitly selects C as the default ABI for
3724+ /// extern declarations. [Other ABIs] like `C-unwind` and `system` have been
3725+ /// added since then, and especially with their addition seeing the ABI
3726+ /// easily makes code review easier.
3727+ ///
3728+ /// [Other ABIs]: https://doc.rust-lang.org/reference/items/external-blocks.html#abi
37273729 pub MISSING_ABI ,
37283730 Allow ,
37293731 "No declared ABI for extern declaration"
You can’t perform that action at this time.
0 commit comments