Improved collapse_debuginfo attribute, added command-line flag (no|external|yes)
This commit is contained in:
parent
bf2637f4e8
commit
8507f5105b
17 changed files with 281 additions and 21 deletions
|
@ -469,7 +469,7 @@ pub const BUILTIN_ATTRIBUTES: &[BuiltinAttribute] = &[
|
|||
|
||||
// `#[collapse_debuginfo]`
|
||||
gated!(
|
||||
collapse_debuginfo, Normal, template!(Word), WarnFollowing,
|
||||
collapse_debuginfo, Normal, template!(Word, List: "no|external|yes"), ErrorFollowing,
|
||||
experimental!(collapse_debuginfo)
|
||||
),
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue