about summary refs log tree commit diff
path: root/src/libsyntax/parse/classify.rs
diff options
context:
space:
mode:
authorZack M. Davis <code@zackmdavis.net>2017-10-30 16:59:34 -0700
committerZack M. Davis <code@zackmdavis.net>2017-10-30 17:11:33 -0700
commit42ef3f17841b9de7c6a405645c3c4ad8eded9ca5 (patch)
tree7b3421da0cd98db7c819666e64b1a88f46be6afa /src/libsyntax/parse/classify.rs
parentf0fe716dbcbf2363ab8f929325d32a17e51039d0 (diff)
downloadrust-42ef3f17841b9de7c6a405645c3c4ad8eded9ca5.tar.gz
rust-42ef3f17841b9de7c6a405645c3c4ad8eded9ca5.zip
edit and fix bad spacing of inner-attribute-not-allowed note
This multiline string literal was missing a backslash, leaving an awkward
newline and 35 spaces in the middle of the message.

But while we're here, the existing message seems kind of long in comparison to
similar notes: to cut it down, we excise the mentions of doc comments, which
seems sensible because we know that this erroneous attribute is not a doc
comment (notice the `is_sugared_doc: false` at the end of the function; if it
had been a doc comment, that error would get set in the `token::DocComment`
match branch of `parse_outer_attributes`).
Diffstat (limited to 'src/libsyntax/parse/classify.rs')
0 files changed, 0 insertions, 0 deletions