rust/src/test
bors c4788c26ad 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
2016-07-15 22:21:40 -07:00
..
codegen Fix codegen tests by make sure items are translated in AST order. 2016-07-08 10:42:47 -04:00
codegen-units trans: Adjust linkage assignment so that we don't need weak linkage. 2016-07-08 10:42:48 -04:00
compile-fail Auto merge of #34797 - doomrobo:fix-import-trait-method, r=jseyfried 2016-07-14 14:33:17 -07:00
compile-fail-fulldeps Add tests + Fix rustdoc regression + Fix rebase 2016-07-08 12:42:57 +03:00
debuginfo std: Clean out deprecated APIs 2016-07-12 12:51:13 -07:00
incremental add def-ids from nominal types into TraitSelect 2016-05-31 19:59:57 -04:00
parse-fail syntax: Better error message for inner attr following doc comment 2016-07-15 21:02:53 -07:00
pretty Fix pretty-printing of lifetime bound 2016-06-29 23:40:29 +09:00
run-fail Rollup merge of #33897 - srinivasreddy:runfail_rustfmt, r=nrc 2016-06-07 10:43:56 -04:00
run-fail-fulldeps Fix rfail test missing import 2016-06-24 06:31:19 -04:00
run-make Avoid passing around the thread-local interner in librustc_metadata. 2016-07-11 22:23:35 +00:00
run-pass Auto merge of #34570 - jseyfried:no_rename, r=nrc 2016-07-15 08:48:41 -07:00
run-pass-fulldeps Add regression test 2016-07-05 05:59:46 +00:00
run-pass-valgrind Add #[rustc_no_mir] to make tests pass with -Z orbit. 2016-03-17 22:48:07 +02:00
rustdoc Auto merge of #34684 - oli-obk:eval_rustdoc_array_len, r=alexcrichton 2016-07-13 16:27:30 -07:00
ui Satisfy tidy 2016-05-24 10:57:44 -04:00