rust/src/test
bors f7c48297ce Auto merge of #88681 - ehuss:duplicate-attributes, r=petrochenkov
Check for duplicate attributes.

This adds some checks for duplicate attributes. In many cases, the duplicates were being ignored without error or warning. This adds several kinds of checks (see `AttributeDuplicates` enum).

The motivation here is to issue unused warnings with similar reasoning for any unused lint, and to error for cases where there are conflicts.

This also adds a check for empty attribute lists in a few attributes where this causes the attribute to be ignored.

Closes #55112.
2021-11-22 02:15:25 +00:00
..
assembly Add features gates for experimental asm features 2021-11-07 01:23:53 +00:00
auxiliary
codegen Don't run the codegen test when debug_assert is enabled 2021-11-14 16:24:31 -08:00
codegen-units Collect panic/panic_bounds_check during monomorphization 2021-10-30 18:21:44 +01:00
debuginfo Fix function-names test for GDB 10.1 2021-10-11 17:20:45 +02:00
incremental Simplify for loop desugar 2021-11-21 08:15:21 -06:00
mir-opt Simplify for loop desugar 2021-11-21 08:15:21 -06:00
pretty Don't destructure args tuple in format_args! 2021-11-06 14:28:08 -05:00
run-make Auto merge of #83846 - torhovland:issue-10971, r=davidtwco 2021-11-11 02:52:32 +00:00
run-make-fulldeps Bless coverage tests 2021-11-21 14:55:36 -06:00
run-pass-valgrind
rustdoc Rollup merge of #90089 - jsha:enum-fields-headings, r=camelid,GuillaumeGomez 2021-11-20 01:09:38 +01:00
rustdoc-gui Rollup merge of #90089 - jsha:enum-fields-headings, r=camelid,GuillaumeGomez 2021-11-20 01:09:38 +01:00
rustdoc-js Fix invalid handling of generics 2021-10-29 20:54:15 +02:00
rustdoc-js-std Fix linkcheck issues 2021-09-12 02:30:24 +00:00
rustdoc-json Add regression test for #89852 2021-10-14 02:12:18 +02:00
rustdoc-ui rustdoc doctest: detect fn main after an unexpected semicolon 2021-11-18 16:23:18 -07:00
ui Auto merge of #88681 - ehuss:duplicate-attributes, r=petrochenkov 2021-11-22 02:15:25 +00:00
ui-fulldeps Don't abort compilation after giving a lint error 2021-11-08 01:22:28 +00:00
COMPILER_TESTS.md