Correct attribute grammar in reference manual
auto merge of #14043 : sanxiyn/rust/attr-reference, r=alexcrichton

Attribute grammar in reference manual allowed `#[foo, bar]`, which does not match parser behavior.

Also rename nonterminals to match parser code.

Fix #13825.