about summary refs log tree commit diff
path: root/src/libstd/sys/unix/stack_overflow.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2016-07-15 22:21:40 -0700
committerGitHub <noreply@github.com>2016-07-15 22:21:40 -0700
commitc4788c26ad7dc65244a9efc50526609c4c71cfb9 (patch)
tree7dc80138567b96189cbc10cd0672a392acf207eb /src/libstd/sys/unix/stack_overflow.rs
parent145f0ec88caaae531d7ba0232c4ef39704a23af2 (diff)
parentff95ba3a8c1cc2cf9b1901a18ba73434f3380c0d (diff)
downloadrust-c4788c26ad7dc65244a9efc50526609c4c71cfb9.tar.gz
rust-c4788c26ad7dc65244a9efc50526609c4c71cfb9.zip
Auto merge of #34676 - aravind-pg:inner-attr, r=brson
Better error message for inner attribute following doc comment

Before it was always just "an inner attribute is not permitted in this context", whereas now we add a special case for when an inner attr follows an outer attr. If the outer attr is a doc comment, then the error is "an inner attr is not permitted following a doc comment", and otherwise it's "an inner attr is not permitted following an outer attribute". In all other cases it's still  "an inner attribute is not permitted in this context".

Note that the public API and behaviour of `parse_attribute` is unchanged. Also, all new names are very open to bikeshedding -- they're arguably clunky.

Fixes #34516. cc @brson
Diffstat (limited to 'src/libstd/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions