mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-30 18:53:39 +00:00
3e97763872
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. |
||
---|---|---|
.. | ||
auxiliary | ||
main-removed-2 | ||
unix_sigpipe | ||
attr-before-view-item2.rs | ||
attr-before-view-item.rs | ||
attr-eq-token-tree.rs | ||
attr-eq-token-tree.stderr | ||
attr-mix-new.rs | ||
attrs-on-params.rs | ||
attrs-on-params.stderr | ||
attrs-with-no-formal-in-generics-1.rs | ||
attrs-with-no-formal-in-generics-1.stderr | ||
attrs-with-no-formal-in-generics-2.rs | ||
attrs-with-no-formal-in-generics-2.stderr | ||
attrs-with-no-formal-in-generics-3.rs | ||
attrs-with-no-formal-in-generics-3.stderr | ||
class-attributes-1.rs | ||
class-attributes-2.rs | ||
collapse-debuginfo-invalid.rs | ||
collapse-debuginfo-invalid.stderr | ||
const-stability-on-macro.rs | ||
const-stability-on-macro.stderr | ||
doc-attr.rs | ||
doc-attr.stderr | ||
duplicated-attributes.rs | ||
duplicated-attributes.stderr | ||
extented-attribute-macro-error.rs | ||
extented-attribute-macro-error.stderr | ||
field-attributes-vis-unresolved.rs | ||
field-attributes-vis-unresolved.stderr | ||
invalid-doc-attr.rs | ||
invalid-doc-attr.stderr | ||
issue-40962.rs | ||
issue-90873.rs | ||
issue-90873.stderr | ||
issue-100631.rs | ||
issue-100631.stderr | ||
issue-105594-invalid-attr-validation.rs | ||
issue-105594-invalid-attr-validation.stderr | ||
item-attributes.rs | ||
key-value-expansion-on-mac.rs | ||
key-value-expansion-on-mac.stderr | ||
key-value-expansion.rs | ||
key-value-expansion.stderr | ||
key-value-non-ascii.rs | ||
key-value-non-ascii.stderr | ||
log-backtrace.rs | ||
main-removed-1.rs | ||
main-removed-1.stderr | ||
method-attributes.rs | ||
multiple-invalid.rs | ||
multiple-invalid.stderr | ||
nonterminal-expansion.rs | ||
nonterminal-expansion.stderr | ||
obsolete-attr.rs | ||
obsolete-attr.stderr | ||
suffixed-literal-meta.rs | ||
suffixed-literal-meta.stderr | ||
tool_attributes.rs | ||
unknown-attr.rs | ||
unknown-attr.stderr | ||
unnamed-field-attributes-dup.rs | ||
unnamed-field-attributes-vis.rs | ||
unnamed-field-attributes.rs | ||
unrestricted-attribute-tokens.rs | ||
unused-item-in-attr.rs | ||
unused-item-in-attr.stderr | ||
used_with_arg_no_mangle.rs | ||
used_with_arg.rs | ||
used_with_arg.stderr | ||
used_with_multi_args.rs | ||
used_with_multi_args.stderr | ||
variant-attributes.rs | ||
z-crate-attr.rs |