expand: Leave traces when expanding cfg
attributes
This commit is contained in:
parent
65899c06f1
commit
92d802eda6
24 changed files with 88 additions and 108 deletions
|
@ -334,8 +334,7 @@ impl<'a> AstValidator<'a> {
|
|||
.filter(|attr| {
|
||||
let arr = [
|
||||
sym::allow,
|
||||
sym::cfg,
|
||||
sym::cfg_attr,
|
||||
sym::cfg_trace,
|
||||
sym::cfg_attr_trace,
|
||||
sym::deny,
|
||||
sym::expect,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue