about summary refs log tree commit diff
path: root/tests/ui/attributes
AgeCommit message (Collapse)AuthorLines
2023-03-28Skip no_mangle if the item has no name.Camille GILLOT-0/+19
2023-03-02Restrict `#[rustc_box]` to `Box::new` callsclubby789-0/+52
2023-02-22Add check for invalid \`#[macro_export]\` argumentsblyxyas-0/+42
2023-02-07Replace a command line flag with an env var to allow tools to initialize the ↵Oli Scherer-2/+2
tracing loggers at their own discretion
2023-01-26Auto merge of #106745 - m-ou-se:format-args-ast, r=oli-obkbors-6/+1
Move format_args!() into AST (and expand it during AST lowering) Implements https://github.com/rust-lang/compiler-team/issues/541 This moves FormatArgs from rustc_builtin_macros to rustc_ast_lowering. For now, the end result is the same. But this allows for future changes to do smarter things with format_args!(). It also allows Clippy to directly access the ast::FormatArgs, making things a lot easier. This change turns the format args types into lang items. The builtin macro used to refer to them by their path. After this change, the path is no longer relevant, making it easier to make changes in `core`. This updates clippy to use the new language items, but this doesn't yet make clippy use the ast::FormatArgs structure that's now available. That should be done after this is merged.
2023-01-12Bless tests.Mara Bos-6/+1
2023-01-12Add log-backtrace option to show backtraces along with loggingYuki Omoto-0/+9
2023-01-11Move /src/test to /testsAlbert Larsan-0/+2050