mirror of
https://github.com/rust-lang/rust.git
synced 2025-11-17 07:35:39 +00:00
fix tidy
This commit is contained in:
parent
0d1b832667
commit
4a5e83c939
@ -146,9 +146,7 @@ impl CheckAttrVisitor<'_> {
|
||||
| sym::stable
|
||||
| sym::rustc_allowed_through_unstable_modules
|
||||
| sym::rustc_promotable => self.check_stability_promotable(&attr, span, target),
|
||||
sym::link_ordinal => {
|
||||
self.check_link_ordinal(&attr, span, target)
|
||||
},
|
||||
sym::link_ordinal => self.check_link_ordinal(&attr, span, target),
|
||||
_ => true,
|
||||
};
|
||||
is_valid &= attr_is_valid;
|
||||
|
||||
@ -555,7 +555,7 @@ pub struct ConstTrait {
|
||||
#[error(passes::link_ordinal)]
|
||||
pub struct LinkOrdinal {
|
||||
#[primary_span]
|
||||
pub attr_span: Span
|
||||
pub attr_span: Span,
|
||||
}
|
||||
|
||||
#[derive(SessionDiagnostic)]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user