rust/tests/ui/attributes
bors 3e97763872 Auto merge of #106745 - m-ou-se:format-args-ast, r=oli-obk
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-26 12:44:47 +00:00
..
auxiliary Move /src/test to /tests 2023-01-11 09:32:08 +00:00
main-removed-2 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
unix_sigpipe Move /src/test to /tests 2023-01-11 09:32:08 +00:00
attr-before-view-item2.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
attr-before-view-item.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
attr-eq-token-tree.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
attr-eq-token-tree.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
attr-mix-new.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
attrs-on-params.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
attrs-on-params.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
attrs-with-no-formal-in-generics-1.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
attrs-with-no-formal-in-generics-1.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
attrs-with-no-formal-in-generics-2.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
attrs-with-no-formal-in-generics-2.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
attrs-with-no-formal-in-generics-3.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
attrs-with-no-formal-in-generics-3.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
class-attributes-1.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
class-attributes-2.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
collapse-debuginfo-invalid.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
collapse-debuginfo-invalid.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
const-stability-on-macro.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
const-stability-on-macro.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
doc-attr.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
doc-attr.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
duplicated-attributes.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
duplicated-attributes.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
extented-attribute-macro-error.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
extented-attribute-macro-error.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
field-attributes-vis-unresolved.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
field-attributes-vis-unresolved.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
invalid-doc-attr.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
invalid-doc-attr.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-40962.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-90873.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-90873.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-100631.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-100631.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-105594-invalid-attr-validation.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-105594-invalid-attr-validation.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
item-attributes.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
key-value-expansion-on-mac.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
key-value-expansion-on-mac.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
key-value-expansion.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
key-value-expansion.stderr Bless tests. 2023-01-12 00:25:46 +01:00
key-value-non-ascii.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
key-value-non-ascii.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
log-backtrace.rs Add log-backtrace option to show backtraces along with logging 2023-01-12 00:17:48 +09:00
main-removed-1.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
main-removed-1.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
method-attributes.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
multiple-invalid.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
multiple-invalid.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
nonterminal-expansion.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
nonterminal-expansion.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
obsolete-attr.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
obsolete-attr.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
suffixed-literal-meta.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
suffixed-literal-meta.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
tool_attributes.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
unknown-attr.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
unknown-attr.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
unnamed-field-attributes-dup.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
unnamed-field-attributes-vis.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
unnamed-field-attributes.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
unrestricted-attribute-tokens.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
unused-item-in-attr.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
unused-item-in-attr.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
used_with_arg_no_mangle.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
used_with_arg.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
used_with_arg.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
used_with_multi_args.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
used_with_multi_args.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
variant-attributes.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
z-crate-attr.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00