rust/src/test
bors 8eae2eb1d3 Auto merge of #86968 - inquisitivecrystal:missing-docs-v2, r=oli-obk
Remove `missing_docs` lint on private 2.0 macros

798baebde1/compiler/rustc_lint/src/builtin.rs (L573-L584)

This code is the source of #57569. The problem is subtle, so let me point it out. This code makes the mistake of assuming that all of the macros in `krate.exported_macros` are exported.

...Yeah. For some historical reason, all `macro` macros are marked as exported, regardless of whether they actually are, which is dreadfully confusing. It would be more accurate to say that `exported_macros` currently contains only macros that have paths.

This PR renames `exported_macros` to `importable_macros`, since these macros can be imported with `use` while others cannot. It also fixes the code above to no longer lint on private `macro` macros, since the `missing_docs` lint should only appear on exported items.

Fixes #57569.
2021-07-10 03:32:42 +00:00
..
assembly Re-Annotate the tests with needs-llvm-components 2021-06-24 23:13:08 +03:00
auxiliary
codegen Adjust the threshold to look at the ABI, not just the size 2021-07-08 14:55:59 -07:00
codegen-units Remove redundant ignore-tidy-linelength annotations 2021-04-03 22:30:20 +02:00
debuginfo Auto merge of #85363 - EFanZh:gdb-pretty-print-slices, r=michaelwoerister 2021-07-08 12:25:47 +00:00
incremental Make type_implements_trait not a query 2021-07-06 14:38:10 -04:00
mir-opt Revert "Revert "Update mir opt tests"" 2021-07-06 11:28:06 +02:00
pretty rustc_ast_pretty: Don't print space after $ 2021-07-03 16:35:18 -07:00
run-make Add support for raw-dylib with stdcall, fastcall functions on i686-pc-windows-msvc. 2021-07-09 12:04:54 -07:00
run-make-fulldeps Clean up rustdoc static files 2021-07-07 17:52:18 +02:00
run-pass-valgrind
rustdoc Auto merge of #86282 - camelid:macro_rules-matchers, r=jyn514 2021-07-05 05:09:35 +00:00
rustdoc-gui Enable the tests developed with #86594 2021-07-01 10:13:28 +02:00
rustdoc-js fix(rustdoc): generics search 2021-07-01 06:40:27 -07:00
rustdoc-js-std fix(rustdoc): generics search 2021-07-01 06:40:27 -07:00
rustdoc-json Rename span to source 2021-03-24 19:44:23 +00:00
rustdoc-ui Warn when rustdoc:: group is omitted from lint names 2021-07-03 15:32:09 -04:00
rustfix
ui Auto merge of #86968 - inquisitivecrystal:missing-docs-v2, r=oli-obk 2021-07-10 03:32:42 +00:00
ui-fulldeps Rework SESSION_GLOBALS API to prevent overwriting it 2021-07-08 16:16:28 +02:00
COMPILER_TESTS.md