Improved collapse_debuginfo attribute, added command-line flag (no|external|yes)

This commit is contained in:
Andrew Zhogin 2024-01-11 01:36:05 +07:00
parent bf2637f4e8
commit 8507f5105b
17 changed files with 281 additions and 21 deletions

View file

@ -58,6 +58,13 @@ pub(crate) struct ResolveRelativePath {
pub path: String,
}
#[derive(Diagnostic)]
#[diag(expand_collapse_debuginfo_illegal)]
pub(crate) struct CollapseMacroDebuginfoIllegal {
#[primary_span]
pub span: Span,
}
#[derive(Diagnostic)]
#[diag(expand_macro_const_stability)]
pub(crate) struct MacroConstStability {