mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-16 21:15:18 +03:00
Disable typos checker for the target feature names
This commit is contained in:
@@ -18,6 +18,8 @@ extend-ignore-re = [
|
||||
"INOUT",
|
||||
"optin",
|
||||
"=Pn",
|
||||
# ignore `// spellchecker:off` until `// spellchecker:on`
|
||||
"(?s)(#|//)\\s*spellchecker:off.*?\\n\\s*(#|//)\\s*spellchecker:on",
|
||||
]
|
||||
|
||||
[default.extend-words]
|
||||
|
||||
@@ -77,6 +77,7 @@ pub(crate) fn from_attrs_no_implications(attrs: &Attrs) -> Self {
|
||||
result
|
||||
});
|
||||
|
||||
// spellchecker:off
|
||||
const TARGET_FEATURE_IMPLICATIONS_RAW: &[(&str, &[&str])] = &[
|
||||
// Arm
|
||||
("aes", &["neon"]),
|
||||
@@ -257,3 +258,4 @@ pub(crate) fn from_attrs_no_implications(attrs: &Attrs) -> Self {
|
||||
("isa-68060", &["isa-68040"]),
|
||||
("isa-68882", &["isa-68881"]),
|
||||
];
|
||||
// spellchecker:on
|
||||
|
||||
Reference in New Issue
Block a user