add rustc_abi debugging attribute
This commit is contained in:
parent
b60f7b51a2
commit
abe2148aee
12 changed files with 422 additions and 29 deletions
|
@ -913,6 +913,15 @@ pub struct LayoutOf {
|
|||
pub ty_layout: String,
|
||||
}
|
||||
|
||||
#[derive(Diagnostic)]
|
||||
#[diag(passes_abi_of)]
|
||||
pub struct AbiOf {
|
||||
#[primary_span]
|
||||
pub span: Span,
|
||||
pub fn_name: Symbol,
|
||||
pub fn_abi: String,
|
||||
}
|
||||
|
||||
#[derive(Diagnostic)]
|
||||
#[diag(passes_unrecognized_field)]
|
||||
pub struct UnrecognizedField {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue