rust/src/test
bors 18840b0719 Auto merge of #87296 - Aaron1011:inert-warn, r=petrochenkov
Warn on inert attributes used on bang macro invocation

These attributes are currently discarded.
This may change in the future (see #63221), but for now,
placing inert attributes on a macro invocation does nothing,
so we should warn users about it.

Technically, it's possible for there to be attribute macro
on the same macro invocation (or at a higher scope), which
inspects the inert attribute. For example:

```rust
#[look_for_inline_attr]
#[inline]
my_macro!()

#[look_for_nested_inline]
mod foo { #[inline] my_macro!() }
```

However, this would be a very strange thing to do.
Anyone running into this can manually suppress the warning.
2021-07-24 13:19:17 +00:00
..
assembly Re-Annotate the tests with needs-llvm-components 2021-06-24 23:13:08 +03:00
auxiliary
codegen Allow combining -Cprofile-generate and -Cpanic=unwind when targeting 2021-07-20 11:41:51 +02:00
codegen-units
debuginfo Auto merge of #87153 - michaelwoerister:debuginfo-names-dyn-trait-projection-bounds, r=wesleywiser 2021-07-19 21:25:43 +00:00
incremental Make type_implements_trait not a query 2021-07-06 14:38:10 -04:00
mir-opt bless mir-opt, codegen, and remaining ui tests 2021-07-14 18:17:49 +02:00
pretty rustc_ast_pretty: Don't print space after $ 2021-07-03 16:35:18 -07:00
run-make Rename force-warns to force-warn 2021-07-21 15:41:10 +02:00
run-make-fulldeps Allow combining -Cprofile-generate and -Cpanic=unwind when targeting 2021-07-20 11:41:51 +02:00
run-pass-valgrind
rustdoc Don't hide fields of enum struct variants 2021-07-22 12:52:33 -07:00
rustdoc-gui Rollup merge of #87398 - GuillaumeGomez:test-font-module-items, r=notriddle 2021-07-24 04:31:14 +09: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
rustdoc-ui Auto merge of #84959 - camsteffen:lint-suggest-group, r=estebank 2021-07-20 02:11:55 +00:00
rustfix
ui Auto merge of #87296 - Aaron1011:inert-warn, r=petrochenkov 2021-07-24 13:19:17 +00:00
ui-fulldeps Various diagnostics clean ups/tweaks 2021-07-19 08:43:35 -07:00
COMPILER_TESTS.md