rust/compiler/rustc_lint/src/lints.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

12 lines
252 B
Rust
Raw Normal View History

use rustc_macros::LintDiagnostic;
use rustc_span::{Symbol, Span};
#[derive(LintDiagnostic)]
#[diag(lint_atomic_ordering_invalid)]
#[help]
pub struct InvalidAtomicOrderingDiag {
pub method: Symbol,
#[label]
pub fail_order_arg_span: Span,
}