rust/src/test/ui/proc-macro
Joshua Nelson 164e22109b Mark proc_macro_decls_static as always used
This would have avoided a bug in https://github.com/rust-lang/rust/pull/104860.

In practice this shouldn't matter since nothing uses the query other than the `dead_code` lint,
but this isn't documented as an internal-only query so it seems nice for it to be accurate.
I think for `dead_code` it doesn't matter because the relevant code is generated by `rustc_builtin_macros` and isn't linted.
2022-12-22 12:02:53 -06:00
..
auxiliary fix #104884, Avoid Invalid code suggested when encountering unsatisfied trait bounds in derive macro code 2022-11-29 12:38:39 +08:00
debug Improve spans when splitting multi-char operator tokens for proc macros. 2022-10-04 09:08:02 +11:00
outer expand: Feature gate out-of-line modules in proc macro input 2019-11-04 14:56:07 +03:00
pretty-print-hack Only apply ProceduralMasquerade hack to older versions of rental 2022-10-21 21:36:00 -05:00
add-impl.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
allowed-attr-stmt-expr.rs Use custom macro instead of println 2020-11-26 22:02:35 -05:00
allowed-attr-stmt-expr.stdout Pretty print empty blocks as {} 2021-12-01 13:50:13 -08:00
ambiguous-builtin-attrs-test.rs
ambiguous-builtin-attrs-test.stderr
ambiguous-builtin-attrs.rs Edit error messages for rustc_resolve::AmbiguityKind variants 2021-10-25 20:33:07 -05:00
ambiguous-builtin-attrs.stderr Edit error messages for rustc_resolve::AmbiguityKind variants 2021-10-25 20:33:07 -05:00
amputate-span.fixed run rust-fix in amputate-span.rs. (Thanks to ekuber for pushing me to do this.) 2022-03-11 16:57:34 -05:00
amputate-span.rs run rust-fix in amputate-span.rs. (Thanks to ekuber for pushing me to do this.) 2022-03-11 16:57:34 -05:00
amputate-span.stderr Correct inconsistent error messages in tests 2022-10-27 01:36:07 -05:00
append-impl.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
attr-args.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
attr-cfg.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
attr-complex-fn.rs Add more proc-macro attribute tests 2021-02-28 22:41:21 -05:00
attr-complex-fn.stdout Improve spans when splitting multi-char operator tokens for proc macros. 2022-10-04 09:08:02 +11:00
attr-invalid-exprs.rs Stabilize fn-like proc macros in expression, pattern and statement positions 2020-05-03 19:24:41 +03:00
attr-invalid-exprs.stderr Migrate parts of rustc_expand to session diagnostics 2022-12-10 11:02:41 +01:00
attr-on-trait.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
attr-stmt-expr-rpass.rs tests: Move run-pass tests with naming conflicts to ui 2019-07-27 18:56:17 +03:00
attr-stmt-expr.rs Use custom macro instead of println 2020-11-26 22:02:35 -05:00
attr-stmt-expr.stderr Use custom macro instead of println 2020-11-26 22:02:35 -05:00
attr-stmt-expr.stdout Pretty print empty blocks as {} 2021-12-01 13:50:13 -08:00
attribute-after-derive.rs Stabilize feature(macro_attributes_in_derive_output) 2021-09-24 21:48:30 +03:00
attribute-after-derive.stdout Pretty print empty blocks as {} 2021-12-01 13:50:13 -08:00
attribute-spans-preserved.rs
attribute-spans-preserved.stderr Point at type in let assignment on type errors 2019-11-21 19:24:31 -08:00
attribute-spans-preserved.stdout Update pretty tests 2020-03-17 20:58:31 +01:00
attribute-with-error.rs tests: Centralize proc macros commonly used for testing 2019-05-22 02:20:34 +03:00
attribute-with-error.stderr use gathered body_owners in par_body_owners 2022-07-13 12:22:25 -04:00
attribute.rs Migrate parts of rustc_expand to session diagnostics 2022-12-10 11:02:41 +01:00
attribute.stderr Migrate parts of rustc_expand to session diagnostics 2022-12-10 11:02:41 +01:00
attributes-included.rs Moving more build-pass tests to check-pass 2020-04-23 20:21:38 -07:00
attributes-included.stderr rustc: Add a warning count upon completion 2020-04-11 16:15:24 +02:00
attributes-on-definitions.rs report kind of deprecated item in message 2020-07-26 13:58:31 -04:00
attributes-on-definitions.stderr report kind of deprecated item in message 2020-07-26 13:58:31 -04:00
attributes-on-modules-fail.rs Various diagnostics clean ups/tweaks 2021-07-19 08:43:35 -07:00
attributes-on-modules-fail.stderr Various diagnostics clean ups/tweaks 2021-07-19 08:43:35 -07:00
attributes-on-modules.rs Stabilize attribute macros on inline modules 2019-12-28 11:42:26 +03:00
bang-macro.rs Stabilize fn-like proc macros in expression, pattern and statement positions 2020-05-03 19:24:41 +03:00
break-token-spans.rs Fix tests 2020-05-20 15:33:58 -04:00
break-token-spans.stderr pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03:00
call-deprecated.rs more dupe word typos 2022-10-14 12:57:56 +08:00
call-deprecated.stderr Add test for #[allow] for warnings on attribute macro 2021-07-17 23:03:58 -05:00
call-site.rs Stabilize fn-like proc macros in expression, pattern and statement positions 2020-05-03 19:24:41 +03:00
capture-macro-rules-invoke.rs Fully integrate token collection for additional AST structs 2020-09-10 17:58:14 -04:00
capture-macro-rules-invoke.stdout Improve spans when splitting multi-char operator tokens for proc macros. 2022-10-04 09:08:02 +11:00
capture-unglued-token.rs Properly capture trailing 'unglued' token 2020-12-12 16:28:13 -05:00
capture-unglued-token.stdout Revert #96682. 2022-06-02 11:22:16 +10:00
cfg-eval-fail.rs expand: Pick cfgs and cfg_attrs one by one, like other attributes 2022-01-10 18:11:44 +08:00
cfg-eval-fail.stderr expand: Pick cfgs and cfg_attrs one by one, like other attributes 2022-01-10 18:11:44 +08:00
cfg-eval-inner.rs Add some proc-macro attribute token handling tests 2021-04-10 14:58:12 -04:00
cfg-eval-inner.stdout Bless all pretty printer tests and ui tests 2022-01-30 19:50:51 -08:00
cfg-eval.rs Add some proc-macro attribute token handling tests 2021-04-10 14:58:12 -04:00
cfg-eval.stdout Implement token-based handling of attributes during expansion 2021-04-11 01:31:36 -04:00
count_compound_ops.rs Stabilize fn-like proc macros in expression, pattern and statement positions 2020-05-03 19:24:41 +03:00
crate-attrs-multiple.rs expand: Turn ast::Crate into a first class expansion target 2021-11-28 15:48:55 +08:00
crate-var.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
crt-static.rs Fix a bunch of typo 2022-08-31 18:24:55 +08:00
custom-attr-only-one-derive.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
define-two.rs
define-two.stderr
derive-attr-cfg.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
derive-b.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
derive-bad.rs defatalize ProcMacroDerive::expand 2020-03-24 06:28:56 +01:00
derive-bad.stderr add a label to struct/enum/union ident name 2022-09-27 10:28:50 +09:00
derive-expand-order.rs Expand derive invocations in left-to-right order 2021-04-10 17:29:20 -04:00
derive-expand-order.stdout Pretty print empty blocks as {} 2021-12-01 13:50:13 -08:00
derive-helper-configured.rs resolve: Block expansion of a derive container until all its derives are resolved 2019-08-27 00:31:55 +03:00
derive-helper-legacy-limits.rs Address review comments 2021-02-07 20:08:45 +03:00
derive-helper-legacy-limits.stderr Address review comments 2021-02-07 20:08:45 +03:00
derive-helper-legacy-spurious.rs expand: Preserve order of inert attributes during expansion 2021-02-23 01:07:22 +03:00
derive-helper-legacy-spurious.stderr expand: Preserve order of inert attributes during expansion 2021-02-23 01:07:22 +03:00
derive-helper-shadowed.rs Migrate compile-pass annotations to build-pass 2019-07-03 06:30:28 +09:00
derive-helper-shadowing-2.rs resolve: Give derive helpers highest priority during resolution 2019-11-19 00:50:53 +03:00
derive-helper-shadowing.rs expand/resolve: Turn #[derive] into a regular macro attribute 2021-02-07 20:08:45 +03:00
derive-helper-shadowing.stderr bless ui tests 2022-10-01 10:03:06 +00:00
derive-helper-vs-legacy.rs expand/resolve: Turn #[derive] into a regular macro attribute 2021-02-07 20:08:45 +03:00
derive-in-mod.rs Migrate compile-pass annotations to build-pass 2019-07-03 06:30:28 +09:00
derive-multiple-with-packed.rs expand/resolve: Turn #[derive] into a regular macro attribute 2021-02-07 20:08:45 +03:00
derive-same-struct.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
derive-same-struct.stdout expand: Stop using nonterminals for passing tokens to attribute and derive macros 2020-07-01 13:13:21 +03:00
derive-still-gated.rs resolve: Tweak "cannot find" wording for attributes 2019-09-15 13:10:12 +03:00
derive-still-gated.stderr resolve: Tweak "cannot find" wording for attributes 2019-09-15 13:10:12 +03:00
derive-test.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
derive-two-attrs.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
derive-union.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
disappearing-resolution.rs resolve: Say "import" when reporting private imports 2020-01-16 21:59:11 +03:00
disappearing-resolution.stderr Serialize all foreign SourceFiles into proc-macro crate metadata 2020-06-29 21:45:42 -04:00
doc-comment-preserved.rs Remove normalization of Span debug output in proc-macro tests 2020-08-09 14:41:51 -04:00
doc-comment-preserved.stdout Remove normalization of Span debug output in proc-macro tests 2020-08-09 14:41:51 -04:00
dollar-crate-issue-57089.rs Remove normalization of Span debug output in proc-macro tests 2020-08-09 14:41:51 -04:00
dollar-crate-issue-57089.stdout Improve spans when splitting multi-char operator tokens for proc macros. 2022-10-04 09:08:02 +11:00
dollar-crate-issue-62325.rs Remove normalization of Span debug output in proc-macro tests 2020-08-09 14:41:51 -04:00
dollar-crate-issue-62325.stdout Improve spans when splitting multi-char operator tokens for proc macros. 2022-10-04 09:08:02 +11:00
dollar-crate-issue-101211.rs Add test for #101211 2022-09-11 15:09:39 +08:00
dollar-crate.rs Remove normalization of Span debug output in proc-macro tests 2020-08-09 14:41:51 -04:00
dollar-crate.stdout Improve spans when splitting multi-char operator tokens for proc macros. 2022-10-04 09:08:02 +11:00
edition-imports-2018.rs Migrate compile-pass annotations to build-pass 2019-07-03 06:30:28 +09:00
empty-crate.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
empty-where-clause.rs Don't lose empty where clause when pretty-printing 2020-06-08 21:09:54 -04:00
empty-where-clause.stderr Don't lose empty where clause when pretty-printing 2020-06-08 21:09:54 -04:00
expand-expr.rs Update src/test/ui/proc-macro/expand-expr.rs 2022-11-14 19:44:30 +00:00
expand-expr.stderr Migrate parts of rustc_expand to session diagnostics 2022-12-10 11:02:41 +01:00
expand-to-derive.rs Add more proc-macro attribute tests 2021-02-28 22:41:21 -05:00
expand-to-derive.stdout Implement token-based handling of attributes during expansion 2021-04-11 01:31:36 -04:00
expand-to-unstable.rs
expand-to-unstable.stderr Show macro name in 'this error originates in macro' message 2021-05-12 19:03:06 -04:00
expand-with-a-macro.rs Restore ignore tag 2022-09-23 08:19:58 +02:00
export-macro.rs
export-macro.stderr proc_macro_harness: Use item header spans for errors 2020-03-22 12:59:32 +03:00
exports.rs
exports.stderr proc_macro_harness: Use item header spans for errors 2020-03-22 12:59:32 +03:00
expr-stmt-nonterminal-tokens.rs parser: Ensure that all nonterminals have tokens after parsing 2021-06-06 14:21:12 +03:00
expr-stmt-nonterminal-tokens.stdout Revert #96682. 2022-06-02 11:22:16 +10:00
extern-prelude-extern-crate-proc-macro.rs Migrate compile-pass annotations to build-pass 2019-07-03 06:30:28 +09:00
gen-lifetime-token.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
gen-macro-rules-hygiene.rs Test basic hygiene for macro_rules produced by transparent macros 2019-10-15 10:03:51 +03:00
gen-macro-rules-hygiene.stderr Account for hygiene when suggesting typos. 2022-10-16 08:56:39 +00:00
gen-macro-rules.rs resolve: Properly integrate derives and macro_rules scopes 2019-08-17 20:15:06 +03:00
generate-dollar-ident.rs Add a test for proc macro generating $ IDENT 2020-02-17 22:47:59 +03:00
generate-mod.rs Make PROC_MACRO_DERIVE_RESOLUTION_FALLBACK a hard error 2022-10-24 13:40:07 -05:00
generate-mod.stderr Make PROC_MACRO_DERIVE_RESOLUTION_FALLBACK a hard error 2022-10-24 13:40:07 -05:00
helper-attr-blocked-by-import-ambig.rs expand/resolve: Turn #[derive] into a regular macro attribute 2021-02-07 20:08:45 +03:00
helper-attr-blocked-by-import-ambig.stderr bless ui tests 2022-10-01 10:03:06 +00:00
helper-attr-blocked-by-import.rs Migrate compile-pass annotations to build-pass 2019-07-03 06:30:28 +09:00
hygiene_example.rs Stabilize fn-like proc macros in expression, pattern and statement positions 2020-05-03 19:24:41 +03:00
illegal-proc-macro-derive-use.rs
illegal-proc-macro-derive-use.stderr
import.rs tests: Centralize proc macros commonly used for testing 2019-05-22 02:20:34 +03:00
import.stderr tests: Centralize proc macros commonly used for testing 2019-05-22 02:20:34 +03:00
inert-attribute-order.rs Add tests 2021-02-23 00:45:53 +03:00
inert-attribute-order.stdout expand: Preserve order of inert attributes during expansion 2021-02-23 01:07:22 +03:00
inner-attr-non-inline-mod.rs expand: Resolve and expand inner attributes on out-of-line modules 2021-03-14 18:10:29 +03:00
inner-attr-non-inline-mod.stderr bless ui tests 2022-10-01 10:03:06 +00:00
inner-attr-non-inline-mod.stdout Remove some unncessary spaces from pretty-printed tokenstream output 2021-05-15 12:05:03 -04:00
inner-attrs.rs Remove register_attr-related tests 2022-08-28 21:23:39 +09:00
inner-attrs.stderr Remove register_attr-related tests 2022-08-28 21:23:39 +09:00
inner-attrs.stdout Improve spans when splitting multi-char operator tokens for proc macros. 2022-10-04 09:08:02 +11:00
input-interpolated.rs Remove normalization of Span debug output in proc-macro tests 2020-08-09 14:41:51 -04:00
input-interpolated.stdout proc-macro: Stop wrapping ident matchers into groups 2022-03-26 12:38:46 +03:00
invalid-attributes.rs Reword malformed attribute input diagnostics 2019-05-25 11:55:50 -07:00
invalid-attributes.stderr Reword malformed attribute input diagnostics 2019-05-25 11:55:50 -07:00
invalid-punct-ident-1.rs Adding needs-unwind arg to applicable compiler ui tests 2022-09-16 19:28:21 +00:00
invalid-punct-ident-1.stderr Adding needs-unwind arg to applicable compiler ui tests 2022-09-16 19:28:21 +00:00
invalid-punct-ident-2.rs Adding needs-unwind arg to applicable compiler ui tests 2022-09-16 19:28:21 +00:00
invalid-punct-ident-2.stderr Adding needs-unwind arg to applicable compiler ui tests 2022-09-16 19:28:21 +00:00
invalid-punct-ident-3.rs Adding needs-unwind arg to applicable compiler ui tests 2022-09-16 19:28:21 +00:00
invalid-punct-ident-3.stderr Adding needs-unwind arg to applicable compiler ui tests 2022-09-16 19:28:21 +00:00
invalid-punct-ident-4.rs Adding needs-unwind arg to applicable compiler ui tests 2022-09-16 19:28:21 +00:00
invalid-punct-ident-4.stderr Adding needs-unwind arg to applicable compiler ui tests 2022-09-16 19:28:21 +00:00
is-available.rs Stabilize proc_macro::is_available 2021-10-10 14:09:54 +02:00
issue-36935.rs Adding needs-unwind arg to applicable compiler ui tests 2022-09-16 19:28:21 +00:00
issue-36935.stderr Adding needs-unwind arg to applicable compiler ui tests 2022-09-16 19:28:21 +00:00
issue-37788.rs tests: Centralize proc macros commonly used for testing 2019-05-22 02:20:34 +03:00
issue-37788.stderr reword ; suggestions to have consistent wording 2021-02-21 16:27:29 -08:00
issue-38586.rs
issue-38586.stderr Show macro name in 'this error originates in macro' message 2021-05-12 19:03:06 -04:00
issue-39889.rs Shorten Span of unused macro lints 2021-11-11 08:04:02 +01:00
issue-42708.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
issue-50061.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
issue-50493.rs Calculate visibilities once in resolve 2020-10-19 11:57:50 +03:00
issue-50493.stderr Calculate visibilities once in resolve 2020-10-19 11:57:50 +03:00
issue-53481.rs Migrate compile-pass annotations to build-pass 2019-07-03 06:30:28 +09:00
issue-59191-replace-root-with-fn.rs expand: Turn ast::Crate into a first class expansion target 2021-11-28 15:48:55 +08:00
issue-59191-replace-root-with-fn.stderr expand: Turn ast::Crate into a first class expansion target 2021-11-28 15:48:55 +08:00
issue-66286.rs Add a regression test for issue-66286 2020-12-05 08:03:59 +09:00
issue-66286.stderr Refactor path segment parameter error 2022-06-15 02:50:34 +01:00
issue-73933-procedural-masquerade.rs Only apply ProceduralMasquerade hack to older versions of rental 2022-10-21 21:36:00 -05:00
issue-73933-procedural-masquerade.stdout Only apply ProceduralMasquerade hack to older versions of rental 2022-10-21 21:36:00 -05:00
issue-75734-pp-paren.rs Allow skipping extra paren insertion during AST pretty-printing 2020-10-11 12:09:48 -04:00
issue-75734-pp-paren.stdout Revert #96682. 2022-06-02 11:22:16 +10:00
issue-75801.rs Add a regression test for issue-75801 2021-03-30 17:02:23 +09:00
issue-75801.stderr Add a regression test for issue-75801 2021-03-30 17:02:23 +09:00
issue-75930-derive-cfg.rs Add more proc-macro attribute tests 2021-02-28 22:41:21 -05:00
issue-75930-derive-cfg.stderr bless ui tests 2022-10-01 10:03:06 +00:00
issue-75930-derive-cfg.stdout Improve spans when splitting multi-char operator tokens for proc macros. 2022-10-04 09:08:02 +11:00
issue-76182-leading-vert-pat.rs Ignore | and + tokens during proc-macro pretty-print check 2020-09-10 16:20:05 -04:00
issue-76182-leading-vert-pat.stdout Improve spans when splitting multi-char operator tokens for proc macros. 2022-10-04 09:08:02 +11:00
issue-76270-panic-in-libproc-macro.rs Adding needs-unwind arg to applicable compiler ui tests 2022-09-16 19:28:21 +00:00
issue-76270-panic-in-libproc-macro.stderr Adding needs-unwind arg to applicable compiler ui tests 2022-09-16 19:28:21 +00:00
issue-78675-captured-inner-attrs.rs Use reparsed TokenStream if we captured any inner attributes 2020-11-02 13:22:03 -05:00
issue-78675-captured-inner-attrs.stdout Revert #96682. 2022-06-02 11:22:16 +10:00
issue-79148.rs add regression test for #79148 2022-08-08 19:50:10 +09:00
issue-79148.stderr add regression test for #79148 2022-08-08 19:50:10 +09:00
issue-79242-slow-retokenize-check.rs Cache pretty-print/retokenize result to avoid compile time blowup 2020-11-23 02:40:57 -05:00
issue-79825.rs Add regression test for https://github.com/rust-lang/rust/issues/79825 2021-03-11 20:55:05 +08:00
issue-80760-empty-stmt.rs Synthesize a TokenStream for StmtKind::Empty 2021-01-09 14:54:14 -05:00
issue-80760-empty-stmt.stdout Revert #96682. 2022-06-02 11:22:16 +10:00
issue-81007-item-attrs.rs Force token collection to run when parsing nonterminals 2021-01-20 18:09:32 -05:00
issue-81007-item-attrs.stdout Pretty print empty blocks as {} 2021-12-01 13:50:13 -08:00
issue-81543-item-parse-err.rs Improve handling of spans around macro result parse errors 2021-01-31 15:24:34 -05:00
issue-81543-item-parse-err.stderr Improve handling of spans around macro result parse errors 2021-01-31 15:24:34 -05:00
issue-81555.rs Add regression test for https://github.com/rust-lang/rust/issues/81555 2021-03-11 19:39:26 +08:00
issue-83469-global-alloc-invalid-stmt.rs Don't ICE when using #[global_alloc] on a non-item statement 2021-03-25 15:41:31 -04:00
issue-83469-global-alloc-invalid-stmt.stderr Don't ICE when using #[global_alloc] on a non-item statement 2021-03-25 15:41:31 -04:00
issue-83510.rs Do not emit the advanced diagnostics on macros 2021-03-29 17:12:03 +09:00
issue-83510.stderr Bless tests 2021-10-15 02:36:58 -05:00
issue-86781-bad-inner-doc.fixed Provide more context on incorrect inner attribute 2021-09-02 19:08:30 +00:00
issue-86781-bad-inner-doc.rs Provide more context on incorrect inner attribute 2021-09-02 19:08:30 +00:00
issue-86781-bad-inner-doc.stderr Provide more context on incorrect inner attribute 2021-09-02 19:08:30 +00:00
issue-91800.rs Do not suggest adding semicolon/changing delimiters for macros in item position that originates in macros 2022-06-16 02:19:31 +00:00
issue-91800.stderr Do not suggest adding semicolon/changing delimiters for macros in item position that originates in macros 2022-06-16 02:19:31 +00:00
issue-104884-trait-impl-sugg-err.rs fix #104884, Avoid Invalid code suggested when encountering unsatisfied trait bounds in derive macro code 2022-11-29 12:38:39 +08:00
issue-104884-trait-impl-sugg-err.stderr Make some diagnostics not depend on the source of what they reference being available 2022-12-13 09:48:22 +00:00
item-error.rs
item-error.stderr Modify structured suggestion output 2021-08-11 09:46:24 +00:00
keep-expr-tokens.rs Invoke attributes on the statement for statement items 2020-11-24 16:38:58 -05:00
keep-expr-tokens.stderr Delay function resolution error until typeck 2022-10-05 06:42:35 +00:00
keep-expr-tokens.stdout Invoke attributes on the statement for statement items 2020-11-24 16:38:58 -05:00
lifetimes-rpass.rs tests: Move run-pass tests with naming conflicts to ui 2019-07-27 18:56:17 +03:00
lifetimes.rs Stabilize proc macros in type positions 2019-09-30 21:59:35 +03:00
lifetimes.stderr Show macro name in 'this error originates in macro' message 2021-05-12 19:03:06 -04:00
lints_in_proc_macros.rs Stabilize fn-like proc macros in expression, pattern and statement positions 2020-05-03 19:24:41 +03:00
lints_in_proc_macros.stderr Bless tests 2021-10-15 02:36:58 -05:00
load-panic-backtrace.rs Adding needs-unwind arg to applicable compiler ui tests 2022-09-16 19:28:21 +00:00
load-panic-backtrace.stderr Adding needs-unwind arg to applicable compiler ui tests 2022-09-16 19:28:21 +00:00
load-panic.rs Adding needs-unwind arg to applicable compiler ui tests 2022-09-16 19:28:21 +00:00
load-panic.stderr Adding needs-unwind arg to applicable compiler ui tests 2022-09-16 19:28:21 +00:00
load-two.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
macro-brackets.rs tests: Centralize proc macros commonly used for testing 2019-05-22 02:20:34 +03:00
macro-brackets.stderr suggest cast char -> int 2021-11-28 21:46:53 +00:00
macro-crate-multi-decorator.rs resolve: Remove rustc_attrs as a standalone feature gate 2020-03-24 21:37:29 +03:00
macro-namespace-reserved-2.rs Update tests 2020-01-09 21:23:12 +03:00
macro-namespace-reserved-2.stderr Clarify what attribute and derive macros look like. 2021-08-23 16:57:58 +02:00
macro-namespace-reserved.rs
macro-namespace-reserved.stderr
macro-quote-cond.rs Move some tests to more reasonable directories 2021-11-14 14:38:42 -03:00
macro-rules-derive-cfg.rs Add more proc-macro attribute tests 2021-02-28 22:41:21 -05:00
macro-rules-derive-cfg.stdout Bless all pretty printer tests and ui tests 2022-01-30 19:50:51 -08:00
macro-rules-derive.rs Recursively expand TokenKind::Interpolated (take 2) 2020-08-22 17:18:26 -04:00
macro-rules-derive.stderr Bless tests 2021-10-15 02:36:58 -05:00
macro-use-attr.rs Migrate compile-pass annotations to build-pass 2019-07-03 06:30:28 +09:00
macro-use-bang.rs Stabilize fn-like proc macros in expression, pattern and statement positions 2020-05-03 19:24:41 +03:00
macros-in-extern-derive.rs Various diagnostics clean ups/tweaks 2021-07-19 08:43:35 -07:00
macros-in-extern-derive.stderr Various diagnostics clean ups/tweaks 2021-07-19 08:43:35 -07:00
macros-in-extern.rs Update tests for extern block linting 2021-01-13 07:49:16 -05:00
macros-in-type.rs Stabilize proc macros in type positions 2019-09-30 21:59:35 +03:00
meta-delim.rs Handle None-delimited groups when parsing macro_rules! macro 2020-07-01 12:42:31 -04:00
meta-macro-hygiene.rs fix small word dupe typos 2022-10-13 00:53:46 +08:00
meta-macro-hygiene.stdout fix small word dupe typos 2022-10-13 00:53:46 +08:00
meta-macro.rs Remove normalization of Span debug output in proc-macro tests 2020-08-09 14:41:51 -04:00
meta-macro.stdout Record tcx.def_span instead of item.span in crate metadata 2020-09-21 15:10:16 -04:00
mixed-site-span.rs Stabilize fn-like proc macros in expression, pattern and statement positions 2020-05-03 19:24:41 +03:00
mixed-site-span.stderr Account for hygiene when suggesting typos. 2022-10-16 08:56:39 +00:00
modify-ast.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
module.rs expand: Feature gate out-of-line modules in proc macro input 2019-11-04 14:56:07 +03:00
module_with_attrs.rs expand: Resolve and expand inner attributes on out-of-line modules 2021-03-14 18:10:29 +03:00
multispan.rs Stabilize fn-like proc macros in expression, pattern and statement positions 2020-05-03 19:24:41 +03:00
multispan.stderr Bless tests 2021-10-15 02:36:58 -05:00
negative-token.rs Stabilize fn-like proc macros in expression, pattern and statement positions 2020-05-03 19:24:41 +03:00
nested-derive-cfg.rs Add more proc-macro attribute tests 2021-02-28 22:41:21 -05:00
nested-derive-cfg.stdout Implement token-based handling of attributes during expansion 2021-04-11 01:31:36 -04:00
nested-item-spans.rs tests: Centralize proc macros commonly used for testing 2019-05-22 02:20:34 +03:00
nested-item-spans.stderr Point at type in let assignment on type errors 2019-11-21 19:24:31 -08:00
nested-macro-rules.rs Always preserve None-delimited groups in a captured TokenStream 2021-03-26 23:32:18 -04:00
nested-macro-rules.stdout ast_lowering: Stop wrapping ident matchers into groups 2022-04-02 00:09:34 +03:00
nested-nonterminal-tokens.rs Make SEMICOLON_IN_EXPRESSIONS_FROM_MACROS warn by default 2021-07-27 14:17:37 -05:00
nested-nonterminal-tokens.stdout Revert #96682. 2022-06-02 11:22:16 +10:00
no-macro-use-attr.rs rewrote error messages for #[rustc_error] 2019-11-05 22:42:23 +01:00
no-macro-use-attr.stderr Use smaller def span for functions 2020-08-22 18:41:49 -04:00
no-missing-docs.rs Migrate compile-pass annotations to build-pass 2019-07-03 06:30:28 +09:00
nodelim-groups.rs rustc_ast: Harmonize delimiter naming with proc_macro::Delimiter 2022-04-28 10:04:29 +03:00
nodelim-groups.stdout Revert #96682. 2022-06-02 11:22:16 +10:00
non-root.rs
non-root.stderr proc_macro_harness: Use item header spans for errors 2020-03-22 12:59:32 +03:00
nonterminal-expansion.rs Expand NtExpr tokens only in key-value attributes 2020-11-03 00:53:43 +03:00
nonterminal-expansion.stdout Revert #96682. 2022-06-02 11:22:16 +10:00
nonterminal-recollect-attr.rs Add some proc-macro attribute token handling tests 2021-04-10 14:58:12 -04:00
nonterminal-recollect-attr.stdout proc-macro: Stop wrapping ident matchers into groups 2022-03-26 12:38:46 +03:00
nonterminal-token-hygiene.rs resolve: Cache module loading for all foreign modules 2021-10-02 18:31:42 +03:00
nonterminal-token-hygiene.stdout Revert #96682. 2022-06-02 11:22:16 +10:00
not-joint.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
out-of-line-mod.rs Add a test for out-of-line module passed through a proc macro 2020-03-21 21:40:58 +03:00
parent-source-spans.rs Revert #96682. 2022-06-02 11:22:16 +10:00
parent-source-spans.stderr Make some diagnostics not depend on the source of what they reference being available 2022-12-13 09:48:22 +00:00
pretty-print-hack-hide.rs Only apply ProceduralMasquerade hack to older versions of rental 2022-10-21 21:36:00 -05:00
pretty-print-hack-hide.stdout Only apply ProceduralMasquerade hack to older versions of rental 2022-10-21 21:36:00 -05:00
pretty-print-hack-show.rs Only apply ProceduralMasquerade hack to older versions of rental 2022-10-21 21:36:00 -05:00
pretty-print-hack-show.stderr Only apply ProceduralMasquerade hack to older versions of rental 2022-10-21 21:36:00 -05:00
pretty-print-hack-show.stdout Only apply ProceduralMasquerade hack to older versions of rental 2022-10-21 21:36:00 -05:00
pretty-print-tts.rs Remove some unncessary spaces from pretty-printed tokenstream output 2021-05-15 12:05:03 -04:00
pretty-print-tts.stdout Remove some unncessary spaces from pretty-printed tokenstream output 2021-05-15 12:05:03 -04:00
proc-macro-attributes.rs expand/resolve: Turn #[derive] into a regular macro attribute 2021-02-07 20:08:45 +03:00
proc-macro-attributes.stderr bless ui tests 2022-10-01 10:03:06 +00:00
proc-macro-deprecated-attr.rs Deprecated proc_macro doesn't trigger warning on build library 2019-10-24 14:14:51 +08:00
proc-macro-gates.rs rustc_expand: Mark inner #![test] attributes as soft-unstable 2020-11-20 19:35:03 +03:00
proc-macro-gates.stderr bless ui tests 2022-10-01 10:03:06 +00:00
proc-macro-gates2.rs resolve: Centralize some error reporting for unexpected macro resolutions 2020-11-19 19:25:20 +03:00
proc-macro-gates2.stderr resolve: Centralize some error reporting for unexpected macro resolutions 2020-11-19 19:25:20 +03:00
pub-at-crate-root.rs Fix error message about exported symbols from proc-macro crates 2019-11-11 08:04:39 +01:00
pub-at-crate-root.stderr proc_macro_harness: Use item header spans for errors 2020-03-22 12:59:32 +03:00
quote-debug.rs Implement span quoting for proc-macros 2021-05-12 00:51:31 -04:00
quote-debug.stdout Mark proc_macro_decls_static as always used 2022-12-22 12:02:53 -06:00
raw-ident.rs Stabilize Ident::new_raw 2020-08-03 17:23:31 -04:00
raw-ident.stderr Bless tests 2021-10-15 02:36:58 -05:00
reserved-macro-names.rs expand/resolve: Turn #[derive] into a regular macro attribute 2021-02-07 20:08:45 +03:00
reserved-macro-names.stderr expand/resolve: Turn #[derive] into a regular macro attribute 2021-02-07 20:08:45 +03:00
resolve-error.rs tests: remove ignore directives from tests that mention core/alloc/std spans. 2020-04-02 11:48:34 +03:00
resolve-error.stderr Make some diagnostics not depend on the source of what they reference being available 2022-12-13 09:48:22 +00:00
resolved-located-at.rs Stabilize fn-like proc macros in expression, pattern and statement positions 2020-05-03 19:24:41 +03:00
resolved-located-at.stderr Show macro name in 'this error originates in macro' message 2021-05-12 19:03:06 -04:00
shadow.rs tests: Centralize proc macros commonly used for testing 2019-05-22 02:20:34 +03:00
shadow.stderr tests: Centralize proc macros commonly used for testing 2019-05-22 02:20:34 +03:00
signature.rs proc_macro: don't pass a client-side function pointer through the server. 2022-05-27 19:29:21 +00:00
signature.stderr Avoid rendering empty annotations 2022-12-13 10:06:08 +00:00
smoke.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
span-absolute-posititions.rs Make the UTF-8 statement more explicit and explicitly test for it 2021-08-03 03:33:05 +02:00
span-absolute-posititions.stderr Make the UTF-8 statement more explicit and explicitly test for it 2021-08-03 03:33:05 +02:00
span-api-tests.rs Make some diagnostics not depend on the source of what they reference being available 2022-12-13 09:48:22 +00:00
span-from-proc-macro.rs Implement span quoting for proc-macros 2021-05-12 00:51:31 -04:00
span-from-proc-macro.stderr Bless tests 2021-10-15 02:36:58 -05:00
span-preservation.rs Update code to account for extern ABI requirement 2021-01-13 07:49:45 -05:00
span-preservation.stderr Eagerly replace {integer}/{float} with i32/f64 for suggestion 2022-03-27 02:20:16 +00:00
struct-field-macro.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
subspan.rs
subspan.stderr Bless tests 2021-10-15 02:36:58 -05:00
test.rs Make a ui test to take the role of libproc_macro #[test] tests 2021-05-19 11:38:23 -07:00
three-equals.rs Stabilize fn-like proc macros in expression, pattern and statement positions 2020-05-03 19:24:41 +03:00
three-equals.stderr Improve spans when splitting multi-char operator tokens for proc macros. 2022-10-04 09:08:02 +11:00
trailing-plus.rs Ignore | and + tokens during proc-macro pretty-print check 2020-09-10 16:20:05 -04:00
trailing-plus.stdout Pretty print empty blocks as {} 2021-12-01 13:50:13 -08:00
trait-fn-args-2015.rs Turn old edition lints (anonymous-parameters, keyword-idents) into warn-by-default on 2015 2021-04-12 09:45:59 -07:00
two-crate-types-1.rs
two-crate-types-1.stderr
two-crate-types-2.rs
two-crate-types-2.stderr
unsafe-foreign-mod.rs Syntactically permit unsafety on mods 2020-09-10 06:56:33 -07:00
unsafe-mod.rs Syntactically permit unsafety on mods 2020-09-10 06:56:33 -07:00
visibility-path.rs resolve: Do not resolve visibilities on proc macro definitions twice 2020-03-23 11:40:58 +03:00
visibility-path.stderr resolve: Do not resolve visibilities on proc macro definitions twice 2020-03-23 11:40:58 +03:00
weird-braces.rs Add more proc-macro attribute tests 2021-02-28 22:41:21 -05:00
weird-braces.stdout Pretty print empty blocks as {} 2021-12-01 13:50:13 -08:00
weird-hygiene.rs Recursively expand TokenKind::Interpolated (take 2) 2020-08-22 17:18:26 -04:00
weird-hygiene.stderr Mention first and last macro in backtrace 2022-07-19 03:07:54 +00:00