rust/src/test
bors e1b8898cfb Auto merge of #57882 - euclio:unused-doc-attributes, r=estebank
overhaul unused doc comments lint

This PR contains a number of improvements to the `unused_doc_comments` lint.

- Extends the span to cover the entire comment when using sugared doc comments.
- Triggers the lint for all unused doc comments on a node, instead of just the first one.
- Triggers the lint on macro expansions, and provides a help note explaining that doc comments must be expanded by the macro.
- Adds a label pointing at the node that cannot be documented.

Furthermore, this PR fixes any instances in rustc where a macro expansion was erroneously documented.
2019-03-09 08:17:48 +00:00
..
auxiliary Remove licenses 2018-12-25 21:08:33 -07:00
codegen Fix segfaults in release build C-variadic fns 2019-03-07 16:31:01 +00:00
codegen-units Remove licenses 2018-12-25 21:08:33 -07:00
compile-fail Apply review suggestions and fix tests 2019-02-03 13:46:53 -08:00
compile-fail-fulldeps/auxiliary Fix lints in tests 2019-01-19 08:10:01 +01:00
debuginfo Add debug-info to access variables from generator state 2019-02-23 12:13:39 +01:00
incremental Regression test for #58813 2019-03-06 12:36:47 +01:00
mir-opt HirIdification: replace NodeId method calls 2019-03-07 09:22:43 +01:00
pretty Nit 2019-03-03 02:58:09 +00:00
run-fail Remove licenses 2018-12-25 21:08:33 -07:00
run-make Rollup merge of #58272 - fitzgen:num-format-code-size, r=Mark-Simulacrum 2019-02-13 18:12:31 +01:00
run-make-fulldeps update treat-err-as-bug test 2019-03-07 15:25:32 -08:00
run-pass Rollup merge of #58918 - gilescope:async-await-issue-testcase, r=petrochenkov 2019-03-08 09:41:58 +01:00
run-pass-fulldeps Rename variadic to c_variadic 2019-02-27 10:21:54 -05:00
run-pass-valgrind Remove licenses 2018-12-25 21:08:33 -07:00
rustdoc Support defining C compatible variadic functions 2019-02-27 10:21:35 -05:00
rustdoc-js Remove rustdoc test which referenced unstable API 2019-02-09 12:09:12 -08:00
rustdoc-ui Introduce rustc_interface and move some methods there 2019-02-28 19:30:31 +01:00
rustfix tests: Do not use -Z parse-only, continue compilation to test recovery 2019-01-06 22:20:46 +03:00
ui Auto merge of #57882 - euclio:unused-doc-attributes, r=estebank 2019-03-09 08:17:48 +00:00
ui-fulldeps Add a test for HashStable stability 2019-03-05 20:46:45 +01:00
COMPILER_TESTS.md rustc-guide has moved 2018-11-26 15:03:13 -06:00