rust/src/test/ui/proc-macro
Aaron Hill 390d1ef6d0
Extend `proc_macro_back_compat` lint to `actix-web`
Unlike the other cases of this lint, there's no simple way to detect if
an old version of the relevant crate (`syn`) is in use. The `actix-web`
crate only depends on `pin-project` v1.0.0, so checking the version of
`actix-web` does not guarantee that a new enough version of
`pin-project` (and therefore `syn`) is in use.

Instead, we rely on the fact that virtually all of the regressed crates
are pinned to a pre-1.0 version of `pin-project`. When this is the case,
bumping the `actix-web` dependency will pull in the *latest* version of
`pin-project`, which has an explicit dependency on a newer v dependency
on a newer version of `syn`.

The lint message tells users to update `actix-web`, since that's what
they're most likely to have control over. We could potentially tell them
to run `cargo update -p syn`, but I think it's more straightforward to
suggest an explicit change to the `Cargo.toml`

The `actori-web` fork had its last commit over a year ago, and appears
to just be a renamed fork of `actix-web`. Therefore, I've removed the
`actori-web` check entirely - any crates that actually get broken can
simply update `syn` themselves.
2021-03-18 12:09:14 -04:00
..
auxiliary Add more proc-macro attribute tests 2021-02-28 22:41:21 -05:00
debug Show `SyntaxContext` in formatted `Span` debug output 2020-06-08 21:47:33 -04:00
group-compat-hack Extend `proc_macro_back_compat` lint to `actix-web` 2021-03-18 12:09:14 -04:00
outer expand: Feature gate out-of-line modules in proc macro input 2019-11-04 14:56:07 +03: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 Use custom macro instead of println 2020-11-26 22:02:35 -05:00
ambiguous-builtin-attrs-test.rs
ambiguous-builtin-attrs-test.stderr Update tests 2019-03-11 23:10:26 +03:00
ambiguous-builtin-attrs.rs Visit more targets when checking attrs 2021-02-09 21:54:46 +01:00
ambiguous-builtin-attrs.stderr Visit more targets when checking attrs 2021-02-09 21:54:46 +01: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 Add more proc-macro attribute tests 2021-02-28 22:41:21 -05: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 Stabilize fn-like proc macros in expression, pattern and statement positions 2020-05-03 19:24:41 +03: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 Use custom macro instead of println 2020-11-26 22:02:35 -05:00
attribute-after-derive-feature-gate.rs Address review comments 2021-02-07 20:08:45 +03:00
attribute-after-derive-feature-gate.stderr Feature gate macro attributes in `#[derive]` output 2021-02-07 20:08:45 +03:00
attribute-after-derive.rs Feature gate macro attributes in `#[derive]` output 2021-02-07 20:08:45 +03:00
attribute-after-derive.stdout Feature gate macro attributes in `#[derive]` output 2021-02-07 20:08:45 +03: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 Point at type in `let` assignment on type errors 2019-11-21 19:24:31 -08:00
attribute.rs Introduce built-in macros through libcore 2019-07-26 13:09:54 +03:00
attribute.stderr move attr meta grammar to parse::validate_atr + ast_validation 2019-11-09 02:04:24 +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 Stabilize attribute macros on inline modules 2019-12-28 11:42:26 +03:00
attributes-on-modules-fail.stderr Update tests 2020-09-08 21:32:03 +02: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-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 Properly encode spans with a dummy location and non-root `SyntaxContext` 2020-09-12 23:26:17 -04:00
capture-unglued-token.rs Properly capture trailing 'unglued' token 2020-12-12 16:28:13 -05:00
capture-unglued-token.stdout Properly capture trailing 'unglued' token 2020-12-12 16:28:13 -05:00
cfg-eval-fail.rs Implement built-in attribute macro `#[cfg_eval]` 2021-03-06 23:03:19 +03:00
cfg-eval-fail.stderr Implement built-in attribute macro `#[cfg_eval]` 2021-03-06 23:03:19 +03:00
cfg-eval.rs Implement built-in attribute macro `#[cfg_eval]` 2021-03-06 23:03:19 +03:00
cfg-eval.stdout Implement built-in attribute macro `#[cfg_eval]` 2021-03-06 23:03:19 +03: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-var.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
crt-static.rs fix typos 2020-08-02 23:20:00 +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 Update tests 2019-03-11 23:10:26 +03:00
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 defatalize ProcMacroDerive::expand 2020-03-24 06:28:56 +01: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 expand/resolve: Turn `#[derive]` into a regular macro attribute 2021-02-07 20:08:45 +03: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 `SourceFile`s 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 Properly encode spans with a dummy location and non-root `SyntaxContext` 2020-09-12 23:26:17 -04: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 Properly encode spans with a dummy location and non-root `SyntaxContext` 2020-09-12 23:26:17 -04: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 Properly encode spans with a dummy location and non-root `SyntaxContext` 2020-09-12 23:26:17 -04: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-to-derive.rs Add more proc-macro attribute tests 2021-02-28 22:41:21 -05:00
expand-to-derive.stdout Add more proc-macro attribute tests 2021-02-28 22:41:21 -05:00
expand-to-unstable-2.rs Remove `#[feature(custom_attribute)]` 2019-11-09 17:50:51 +03:00
expand-to-unstable-2.stderr resolve: Remove `rustc_attrs` as a standalone feature gate 2020-03-24 21:37:29 +03:00
expand-to-unstable.rs
expand-to-unstable.stderr rustc_macros: don't limit the -Zmacro-backtrace suggestion to extern macros. 2020-02-06 21:46:38 +02:00
expand-with-a-macro.rs Re-enable Emscripten's exception handling support 2019-10-25 15:16:36 -07: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
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 rustc_macros: don't limit the -Zmacro-backtrace suggestion to extern macros. 2020-02-06 21:46:38 +02: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
generate-mod.stderr reword "possible candidate" import suggestion 2020-05-07 00:33:25 -04: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 expand/resolve: Turn `#[derive]` into a regular macro attribute 2021-02-07 20:08:45 +03: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 expand: Resolve and expand inner attributes on out-of-line modules 2021-03-14 18:10:29 +03:00
inner-attr-non-inline-mod.stdout expand: Resolve and expand inner attributes on out-of-line modules 2021-03-14 18:10:29 +03:00
inner-attrs.rs Add more proc-macro attribute tests 2021-02-28 22:41:21 -05:00
inner-attrs.stdout Add more proc-macro attribute tests 2021-02-28 22:41:21 -05: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 Properly encode spans with a dummy location and non-root `SyntaxContext` 2020-09-12 23:26:17 -04: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 fix invalid-punct-ident-1 test 2020-10-09 20:57:45 +03:30
invalid-punct-ident-1.stderr fix invalid-punct-ident-1 test 2020-10-09 20:57:45 +03:30
invalid-punct-ident-2.rs add filter regexes to load-panic-backtraces test 2020-10-09 20:57:45 +03:30
invalid-punct-ident-2.stderr add filter regexes to load-panic-backtraces test 2020-10-09 20:57:45 +03:30
invalid-punct-ident-3.rs add filter regexes to load-panic-backtraces test 2020-10-09 20:57:45 +03:30
invalid-punct-ident-3.stderr add filter regexes to load-panic-backtraces test 2020-10-09 20:57:45 +03:30
invalid-punct-ident-4.rs expand: address review comments 2020-03-24 06:28:56 +01:00
invalid-punct-ident-4.stderr expand: address review comments 2020-03-24 06:28:56 +01:00
is-available.rs Stabilize fn-like proc macros in expression, pattern and statement positions 2020-05-03 19:24:41 +03:00
issue-36935.rs defatalize ProcMacroDerive::expand 2020-03-24 06:28:56 +01:00
issue-36935.stderr defatalize ProcMacroDerive::expand 2020-03-24 06:28:56 +01: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 Moved issue tests to subdirs and normalised names. 2019-03-14 01:00:49 +00:00
issue-38586.stderr rustc_macros: don't limit the -Zmacro-backtrace suggestion to extern macros. 2020-02-06 21:46:38 +02:00
issue-39889.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
issue-41211.rs Remove `#[feature(custom_attribute)]` 2019-11-09 17:50:51 +03:00
issue-41211.stderr Remove `#[feature(custom_attribute)]` 2019-11-09 17:50:51 +03: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 Change expansion error to be non-fatal 2020-02-02 21:03:38 -08:00
issue-59191-replace-root-with-fn.stderr rustc_macros: don't limit the -Zmacro-backtrace suggestion to extern macros. 2020-02-06 21:46:38 +02:00
issue-66286.rs Add a regression test for issue-66286 2020-12-05 08:03:59 +09:00
issue-66286.stderr Add a regression test for issue-66286 2020-12-05 08:03:59 +09:00
issue-73933-procedural-masquerade.rs Extend `proc_macro_back_compat` lint to `procedural-masquerade` 2021-03-15 16:00:49 -04:00
issue-73933-procedural-masquerade.stderr Extend `proc_macro_back_compat` lint to `procedural-masquerade` 2021-03-15 16:00:49 -04:00
issue-73933-procedural-masquerade.stdout Extend `proc_macro_back_compat` lint to `procedural-masquerade` 2021-03-15 16:00:49 -04: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 Allow skipping extra paren insertion during AST pretty-printing 2020-10-11 12:09:48 -04: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 Add more proc-macro attribute tests 2021-02-28 22:41:21 -05:00
issue-75930-derive-cfg.stdout Add more proc-macro attribute tests 2021-02-28 22:41:21 -05: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 Ignore `|` and `+` tokens during proc-macro pretty-print check 2020-09-10 16:20:05 -04: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 rustc_parse: Better spans for synthesized token streams 2021-01-07 17:48:13 +03: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-80760-empty-stmt.rs Synthesize a `TokenStream` for `StmtKind::Empty` 2021-01-09 14:54:14 -05:00
issue-80760-empty-stmt.stdout Synthesize a `TokenStream` for `StmtKind::Empty` 2021-01-09 14:54:14 -05: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 Force token collection to run when parsing nonterminals 2021-01-20 18:09:32 -05: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
item-error.rs
item-error.stderr review comments 2020-02-05 10:32:01 -08: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 Invoke attributes on the statement for statement items 2020-11-24 16:38:58 -05: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 Improve handling of spans around macro result parse errors 2021-01-31 15:24:34 -05: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 Stabilize fn-like proc macros in expression, pattern and statement positions 2020-05-03 19:24:41 +03:00
load-panic-backtrace.rs add filter regexes to load-panic-backtraces test 2020-10-09 20:57:45 +03:30
load-panic-backtrace.stderr add filter regexes to load-panic-backtraces test 2020-10-09 20:57:45 +03:30
load-panic.rs tests: Centralize proc macros commonly used for testing 2019-05-22 02:20:34 +03:00
load-panic.stderr tests: Centralize proc macros commonly used for testing 2019-05-22 02:20:34 +03: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 Surround types with backticks in type errors 2019-11-18 11:03:04 -08: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 Update tests 2020-01-09 21:23:12 +03:00
macro-namespace-reserved.rs
macro-namespace-reserved.stderr Update tests 2019-03-11 23:10:26 +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 Add more proc-macro attribute tests 2021-02-28 22:41:21 -05:00
macro-rules-derive.rs Recursively expand `TokenKind::Interpolated` (take 2) 2020-08-22 17:18:26 -04:00
macro-rules-derive.stderr Recursively expand `TokenKind::Interpolated` (take 2) 2020-08-22 17:18:26 -04: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 Update tests for extern block linting 2021-01-13 07:49:16 -05:00
macros-in-extern-derive.stderr Update tests 2020-09-08 21:32:03 +02: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 pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03:00
meta-macro-hygiene.stdout Update test output for edition preludes. 2021-02-25 13:43:11 +01: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 resolve: Do not suggest imports from the same module in which we are resolving 2020-05-30 20:42:20 +03: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 Stabilize fn-like proc macros in expression, pattern and statement positions 2020-05-03 19:24:41 +03: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 Add more proc-macro attribute tests 2021-02-28 22:41:21 -05: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 Remove normalization of `Span` debug output in proc-macro tests 2020-08-09 14:41:51 -04:00
nested-macro-rules.stdout Properly encode spans with a dummy location and non-root `SyntaxContext` 2020-09-12 23:26:17 -04:00
nested-nonterminal-tokens.rs Fix recursive nonterminal expansion during pretty-print/reparse check 2020-09-28 19:14:42 -04:00
nested-nonterminal-tokens.stdout Fix recursive nonterminal expansion during pretty-print/reparse check 2020-09-28 19:14:42 -04: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 Remove normalization of `Span` debug output in proc-macro tests 2020-08-09 14:41:51 -04:00
nodelim-groups.stdout Properly encode spans with a dummy location and non-root `SyntaxContext` 2020-09-12 23:26:17 -04: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 Expand `NtExpr` tokens only in key-value attributes 2020-11-03 00:53:43 +03:00
nonterminal-recollect-attr.rs Clone entire `TokenCursor` when collecting tokens 2021-01-28 09:47:59 -05:00
nonterminal-token-hygiene.rs More detailed output for the nonterminal marking test 2020-11-06 00:58:36 +03:00
nonterminal-token-hygiene.stdout Update test output for edition preludes. 2021-02-25 13:43:11 +01: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 Stabilize fn-like proc macros in expression, pattern and statement positions 2020-05-03 19:24:41 +03:00
parent-source-spans.stderr mv std libs to library/ 2020-07-27 19:51:13 -05: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 expand/resolve: Turn `#[derive]` into a regular macro attribute 2021-02-07 20:08:45 +03: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 rustc_expand: Mark inner `#![test]` attributes as soft-unstable 2020-11-20 19:35:03 +03: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
raw-ident.rs Stabilize Ident::new_raw 2020-08-03 17:23:31 -04:00
raw-ident.stderr Stabilize Ident::new_raw 2020-08-03 17:23:31 -04: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 mv std libs to library/ 2020-07-27 19:51:13 -05: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 pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03: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 Update code to account for extern ABI requirement 2021-01-13 07:49:45 -05:00
signature.stderr Update code to account for extern ABI requirement 2021-01-13 07:49:45 -05:00
smoke.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
span-api-tests.rs Stabilize fn-like proc macros in expression, pattern and statement positions 2020-05-03 19:24:41 +03:00
span-preservation.rs Update code to account for extern ABI requirement 2021-01-13 07:49:45 -05:00
span-preservation.stderr Update code to account for extern ABI requirement 2021-01-13 07:49:45 -05: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 rustc_macros: don't limit the -Zmacro-backtrace suggestion to extern macros. 2020-02-06 21:46:38 +02: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 Stabilize fn-like proc macros in expression, pattern and statement positions 2020-05-03 19:24:41 +03:00
trailing-plus.rs Ignore `|` and `+` tokens during proc-macro pretty-print check 2020-09-10 16:20:05 -04:00
trailing-plus.stdout Ignore `|` and `+` tokens during proc-macro pretty-print check 2020-09-10 16:20:05 -04:00
trait-fn-args-2015.rs syntax: Remove `Nt(Impl,Trait,Foreign)Item` 2020-02-24 20:25:32 +03: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 Add more proc-macro attribute tests 2021-02-28 22:41:21 -05:00
weird-hygiene.rs Recursively expand `TokenKind::Interpolated` (take 2) 2020-08-22 17:18:26 -04:00
weird-hygiene.stderr Recursively expand `TokenKind::Interpolated` (take 2) 2020-08-22 17:18:26 -04:00