Rollup merge of #124324 - nnethercote:minor-ast-cleanups, r=estebank
Minor AST cleanups r? ``@estebank``
This commit is contained in:
commit
fc6070cd8e
7 changed files with 79 additions and 90 deletions
|
@ -986,7 +986,7 @@ pub fn parse_repr_attr(sess: &Session, attr: &Attribute) -> Vec<ReprAttr> {
|
|||
recognised = true;
|
||||
acc.push(h);
|
||||
}
|
||||
} else if let Some((name, value)) = item.name_value_literal() {
|
||||
} else if let Some((name, value)) = item.singleton_lit_list() {
|
||||
let mut literal_error = None;
|
||||
let mut err_span = item.span();
|
||||
if name == sym::align {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue