Improve the missing_abi lint.
This commit is contained in:
parent
8b9f0f9c1c
commit
cb26fa07bb
7 changed files with 14 additions and 13 deletions
|
@ -2810,6 +2810,8 @@ pub struct ModSpans {
|
|||
/// E.g., `extern { .. }` or `extern "C" { .. }`.
|
||||
#[derive(Clone, Encodable, Decodable, Debug)]
|
||||
pub struct ForeignMod {
|
||||
/// Span of the `extern` keyword.
|
||||
pub extern_span: Span,
|
||||
/// `unsafe` keyword accepted syntactically for macro DSLs, but not
|
||||
/// semantically by Rust.
|
||||
pub safety: Safety,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue