mirror of
https://github.com/rust-lang/rust.git
synced 2025-05-14 02:49:40 +00:00
Satisfy dogfood
This commit is contained in:
parent
8c9bb89608
commit
9ce6fb34ca
@ -150,11 +150,9 @@ pub fn check_attrs<'a>(cx: &EarlyContext, valid_idents: &[String], attrs: &'a [a
|
||||
spans.extend_from_slice(¤t_spans);
|
||||
doc.push_str(¤t);
|
||||
}
|
||||
} else {
|
||||
} else if attr.name() == "doc" {
|
||||
// ignore mix of sugared and non-sugared doc
|
||||
if attr.name() == "doc" {
|
||||
return;
|
||||
}
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user