diff options
| author | bors <bors@rust-lang.org> | 2016-07-15 22:21:40 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2016-07-15 22:21:40 -0700 |
| commit | c4788c26ad7dc65244a9efc50526609c4c71cfb9 (patch) | |
| tree | 7dc80138567b96189cbc10cd0672a392acf207eb /src/libstd/sys/unix/stack_overflow.rs | |
| parent | 145f0ec88caaae531d7ba0232c4ef39704a23af2 (diff) | |
| parent | ff95ba3a8c1cc2cf9b1901a18ba73434f3380c0d (diff) | |
| download | rust-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
