rust/src/test
Aaron Hill 070df9e676
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-19 17:49:28 -05:00
..
assembly Re-Annotate the tests with needs-llvm-components 2021-06-24 23:13:08 +03:00
auxiliary
codegen bless mir-opt, codegen, and remaining ui tests 2021-07-14 18:17:49 +02:00
codegen-units
debuginfo Rollup merge of #86983 - wesleywiser:natvis_std_types, r=michaelwoerister 2021-07-16 10:07:59 +02: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 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 Auto merge of #86062 - nagisa:nagisa/what-a-lie, r=estebank 2021-07-17 07:54:03 +00:00
run-pass-valgrind
rustdoc Fix test cases for header titles in sidebar 2021-07-17 11:32:36 -07:00
rustdoc-gui Rollup merge of #87251 - GuillaumeGomez:item-info-width, r=notriddle 2021-07-19 11:37:46 +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
rustdoc-ui Add invalid rust code for test 2021-07-18 12:07:51 +02:00
rustfix
ui Warn on inert attributes used on bang macro invocation 2021-07-19 17:49:28 -05:00
ui-fulldeps Auto merge of #86827 - camsteffen:hash-lint-resolved, r=oli-obk 2021-07-13 15:06:10 +00:00
COMPILER_TESTS.md