rust/tests/ui/proc-macro
Matthias Krüger 026d56b0f6
Rollup merge of #139967 - jieyouxu:auxiliary, r=wesleywiser
Introduce and use specialized `//@ ignore-auxiliary` for test support files instead of using `//@ ignore-test`

### Summary

Add a semantically meaningful directive for ignoring test *auxiliary* files. This is for auxiliary files that *participate* in actual tests but should not be built by `compiletest` (i.e. these files are involved through `mod xxx;` or `include!()` or `#[path = "xxx"]`, etc.).

### Motivation

A specialized directive like `//@ ignore-auxiliary` makes it way easier to audit disabled tests via `//@ ignore-test`.
  - These support files cannot use the canonical `auxiliary/` dir because they participate in module resolution or are included, or their relative paths can be important for test intention otherwise.

Follow-up to:
- #139705
- #139783
- #139740

See also discussions in:

- [#t-compiler > Directive name for non-test aux files?](512773817)
- [#t-compiler > Handling disabled `//@ ignore-test` tests](512005974)
- [#t-compiler/meetings > [steering] 2025-04-11 Dealing with disabled tests](511717981)

### Remarks on remaining unconditionally disabled tests under `tests/`

After this PR, against commit 79a272c640, only **14** remaining test files are disabled through `//@ ignore-test`:

<details>
<summary>Remaining `//@ ignore-test` files under `tests/`</summary>

```
tests/debuginfo/drop-locations.rs
4://@ ignore-test (broken, see #128971)

tests/rustdoc/macro-document-private-duplicate.rs
1://@ ignore-test (fails spuriously, see issue #89228)

tests/rustdoc/inline_cross/assoc-const-equality.rs
3://@ ignore-test (FIXME: #125092)

tests/ui/match/issue-27021.rs
7://@ ignore-test (#54987)

tests/ui/match/issue-26996.rs
7://@ ignore-test (#54987)

tests/ui/issues/issue-49298.rs
9://@ ignore-test (#54987)

tests/ui/issues/issue-59756.rs
2://@ ignore-test (rustfix needs multiple suggestions)

tests/ui/precondition-checks/write.rs
5://@ ignore-test (unimplemented)

tests/ui/precondition-checks/read.rs
5://@ ignore-test (unimplemented)

tests/ui/precondition-checks/write_bytes.rs
5://@ ignore-test (unimplemented)

tests/ui/explicit-tail-calls/drop-order.rs
2://@ ignore-test: tail calls are not implemented in rustc_codegen_ssa yet, so this causes 🧊

tests/ui/panics/panic-short-backtrace-windows-x86_64.rs
3://@ ignore-test (#92000)

tests/ui/json/json-bom-plus-crlf-multifile-aux.rs
3://@ ignore-test Not a test. Used by other tests

tests/ui/traits/next-solver/object-soundness-requires-generalization.rs
2://@ ignore-test (see #114196)
```
</details>

Of these, most are either **unimplemented**, or **spurious**, or **known-broken**. The outstanding one is `tests/ui/json/json-bom-plus-crlf-multifile-aux.rs` which I did not want to touch in *this* PR -- that aux file has load-bearing BOM and carriage returns and byte offset matters. I think those test files that require special encoding / BOM probably are better off as `run-make` tests. See #139968 for that aux file.

### Review advice

- Best reviewed commit-by-commit.
- The directive name diverged from the most voted `//@ auxiliary` because I think that's easy to confuse with `//@ aux-{crate,dir}`.

r? compiler
2025-04-17 21:53:25 +02:00
..
auxiliary Replace proc_macro::SourceFile by Span::{file, local_file}. 2025-04-11 15:07:08 +02:00
debug Update tests to use new proc-macro header 2024-11-27 07:18:25 -08:00
outer tests: use //@ ignore-auxiliary with backlinked primary test file 2025-04-17 19:45:28 +08:00
pretty-print-hack tests: use //@ ignore-auxiliary with backlinked primary test file 2025-04-17 19:45:28 +08:00
quote Explicitly annotate edition for unpretty=expanded and unpretty=hir tests 2025-04-16 11:10:10 +02:00
add-impl.rs Update tests to use new proc-macro header 2024-11-27 07:18:25 -08:00
allowed-attr-stmt-expr.rs Update tests to use new proc-macro header 2024-11-27 07:18:25 -08:00
allowed-attr-stmt-expr.stdout Don't insert spaces before most semicolons in print_tts. 2024-01-22 20:14:59 +11:00
allowed-signatures.rs Add needs-unwind for proc macro tests 2024-03-25 15:02:55 +00:00
ambiguous-builtin-attrs-test.rs Update tests to use new proc-macro header 2024-11-27 07:18:25 -08:00
ambiguous-builtin-attrs-test.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
ambiguous-builtin-attrs.rs Update tests to use new proc-macro header 2024-11-27 07:18:25 -08:00
ambiguous-builtin-attrs.stderr
amputate-span.fixed Update tests to use new proc-macro header 2024-11-27 07:18:25 -08:00
amputate-span.rs Update tests to use new proc-macro header 2024-11-27 07:18:25 -08:00
amputate-span.stderr
append-impl.rs Update tests to use new proc-macro header 2024-11-27 07:18:25 -08:00
attr-args.rs Update tests to use new proc-macro header 2024-11-27 07:18:25 -08:00
attr-cfg.rs Update tests to use new proc-macro header 2024-11-27 07:18:25 -08:00
attr-complex-fn.rs Update tests to use new proc-macro header 2024-11-27 07:18:25 -08:00
attr-complex-fn.stdout Add spacing information to delimiters. 2023-12-11 09:36:40 +11:00
attr-invalid-exprs.rs Update tests to use new proc-macro header 2024-11-27 07:18:25 -08:00
attr-invalid-exprs.stderr Tweak expand_incomplete_parse warning. 2024-10-28 14:12:45 +11:00
attr-on-trait.rs Update tests to use new proc-macro header 2024-11-27 07:18:25 -08:00
attr-stmt-expr-rpass.rs Update tests to use new proc-macro header 2024-11-27 07:18:25 -08:00
attr-stmt-expr.rs Update tests to use new proc-macro header 2024-11-27 07:18:25 -08:00
attr-stmt-expr.stderr Bless tests 2024-01-13 12:46:58 -05:00
attr-stmt-expr.stdout Don't insert spaces before most semicolons in print_tts. 2024-01-22 20:14:59 +11:00
attribute-after-derive.rs Use cfg(false) in UI tests 2025-04-03 21:41:58 +00:00
attribute-after-derive.stdout Use cfg(false) in UI tests 2025-04-03 21:41:58 +00:00
attribute-spans-preserved.rs Update tests to use new proc-macro header 2024-11-27 07:18:25 -08:00
attribute-spans-preserved.stderr
attribute-spans-preserved.stdout Don't insert spaces before most semicolons in print_tts. 2024-01-22 20:14:59 +11:00
attribute-with-error.rs Update tests to use new proc-macro header 2024-11-27 07:18:25 -08:00
attribute-with-error.stderr
attribute.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
attribute.stderr
attributes-included.rs Update tests to use new proc-macro header 2024-11-27 07:18:25 -08:00
attributes-included.stderr
attributes-on-definitions.rs Update tests to use new proc-macro header 2024-11-27 07:18:25 -08:00
attributes-on-definitions.stderr
attributes-on-modules-fail.rs Update tests to use new proc-macro header 2024-11-27 07:18:25 -08:00
attributes-on-modules-fail.stderr Bless tests 2024-01-13 12:46:58 -05:00
attributes-on-modules.rs Update tests to use new proc-macro header 2024-11-27 07:18:25 -08:00
bad-projection.rs rebase 2024-04-04 02:14:57 +01:00
bad-projection.stderr Normalize each signature input/output in typeck_with_fallback with its own span 2025-01-06 17:58:30 +00:00
bang-macro.rs Update tests to use new proc-macro header 2024-11-27 07:18:25 -08:00
break-token-spans.rs Update tests to use new proc-macro header 2024-11-27 07:18:25 -08:00
break-token-spans.stderr
call-deprecated.rs Update tests to use new proc-macro header 2024-11-27 07:18:25 -08:00
call-deprecated.stderr
call-site.rs Update tests to use new proc-macro header 2024-11-27 07:18:25 -08:00
capture-macro-rules-invoke.rs Update tests to use new proc-macro header 2024-11-27 07:18:25 -08:00
capture-macro-rules-invoke.stdout Print token::Interpolated with token stream pretty printing. 2024-06-05 13:07:32 +10:00
capture-unglued-token.rs Update tests to use new proc-macro header 2024-11-27 07:18:25 -08:00
capture-unglued-token.stdout Improve print_tts by changing tokenstream::Spacing. 2023-12-11 09:19:09 +11:00
cfg-attr-trace.rs Stabilize cfg_boolean_literals 2025-04-03 18:10:48 +00:00
cfg-attr-trace.stdout Stabilize cfg_boolean_literals 2025-04-03 18:10:48 +00:00
cfg-eval-fail.rs Use cfg(false) in UI tests 2025-04-03 21:41:58 +00:00
cfg-eval-fail.stderr Use cfg(false) in UI tests 2025-04-03 21:41:58 +00:00
cfg-eval-inner.rs Use cfg(false) in UI tests 2025-04-03 21:41:58 +00:00
cfg-eval-inner.stdout Improve spans on evaluated cfg_attrs. 2024-07-24 21:03:52 +10:00
cfg-eval.rs Use cfg(false) in UI tests 2025-04-03 21:41:58 +00:00
cfg-eval.stdout Improve spans on evaluated cfg_attrs. 2024-07-24 21:03:52 +10:00
count_compound_ops.rs Update tests to use new proc-macro header 2024-11-27 07:18:25 -08:00
crate-attrs-multiple.rs Update tests to use new proc-macro header 2024-11-27 07:18:25 -08:00
crate-var.rs Update tests to use new proc-macro header 2024-11-27 07:18:25 -08:00
crt-static.rs Add needs-unwind for proc macro tests 2024-03-25 15:02:55 +00:00
custom-attr-only-one-derive.rs Update tests to use new proc-macro header 2024-11-27 07:18:25 -08:00
custom-attr-panic.rs Update tests to use new proc-macro header 2024-11-27 07:18:25 -08:00
custom-attr-panic.stderr add test for panicking attribute macros 2024-02-18 22:51:19 +02:00
define-two.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
define-two.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
derive-attr-cfg.rs Update tests to use new proc-macro header 2024-11-27 07:18:25 -08:00
derive-b.rs Update tests to use new proc-macro header 2024-11-27 07:18:25 -08:00
derive-bad.rs Update tests to use new proc-macro header 2024-11-27 07:18:25 -08:00
derive-bad.stderr
derive-cfg-nested-tokens.rs Use cfg(false) in UI tests 2025-04-03 21:41:58 +00:00
derive-cfg-nested-tokens.stdout Use cfg(false) in UI tests 2025-04-03 21:41:58 +00:00
derive-expand-order.rs Update tests to use new proc-macro header 2024-11-27 07:18:25 -08:00
derive-expand-order.stdout
derive-helper-configured.rs Update tests to use new proc-macro header 2024-11-27 07:18:25 -08:00
derive-helper-legacy-limits.rs Update tests to use new proc-macro header 2024-11-27 07:18:25 -08:00
derive-helper-legacy-limits.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
derive-helper-legacy-spurious.rs Update tests to use new proc-macro header 2024-11-27 07:18:25 -08:00
derive-helper-legacy-spurious.stderr Supress unhelpful diagnostics for unresolved top level attributes 2024-01-29 17:43:07 +08:00
derive-helper-shadowed.rs Update tests to use new proc-macro header 2024-11-27 07:18:25 -08:00
derive-helper-shadowing-2.rs Update tests to use new proc-macro header 2024-11-27 07:18:25 -08:00
derive-helper-shadowing.rs Update tests to use new proc-macro header 2024-11-27 07:18:25 -08:00
derive-helper-shadowing.stderr
derive-helper-vs-legacy.rs Update tests to use new proc-macro header 2024-11-27 07:18:25 -08:00
derive-in-mod.rs Update tests to use new proc-macro header 2024-11-27 07:18:25 -08:00
derive-multiple-with-packed.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
derive-same-struct.rs Update tests to use new proc-macro header 2024-11-27 07:18:25 -08:00
derive-same-struct.stdout Improve print_tts by changing tokenstream::Spacing. 2023-12-11 09:19:09 +11:00
derive-still-gated.rs Update tests to use new proc-macro header 2024-11-27 07:18:25 -08:00
derive-still-gated.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
derive-test.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
derive-two-attrs.rs Update tests to use new proc-macro header 2024-11-27 07:18:25 -08:00
derive-union.rs Update tests to use new proc-macro header 2024-11-27 07:18:25 -08:00
disappearing-resolution.rs Update tests to use new proc-macro header 2024-11-27 07:18:25 -08:00
disappearing-resolution.stderr Show diff suggestion format on verbose replacement 2025-02-10 20:21:39 +00:00
doc-comment-preserved.rs Update tests to use new proc-macro header 2024-11-27 07:18:25 -08:00
doc-comment-preserved.stdout Don't insert spaces before most semicolons in print_tts. 2024-01-22 20:14:59 +11:00
dollar-crate-issue-57089.rs Update tests to use new proc-macro header 2024-11-27 07:18:25 -08:00
dollar-crate-issue-57089.stdout Don't insert spaces before most semicolons in print_tts. 2024-01-22 20:14:59 +11:00
dollar-crate-issue-62325.rs Update tests to use new proc-macro header 2024-11-27 07:18:25 -08:00
dollar-crate-issue-62325.stdout Don't insert spaces before most semicolons in print_tts. 2024-01-22 20:14:59 +11:00
dollar-crate-issue-101211.rs Update tests to use new proc-macro header 2024-11-27 07:18:25 -08:00
dollar-crate.rs Update tests to use new proc-macro header 2024-11-27 07:18:25 -08:00
dollar-crate.stdout Don't insert spaces before most semicolons in print_tts. 2024-01-22 20:14:59 +11:00
edition-gated-async-move-syntax-issue89699.rs Update tests to use new proc-macro header 2024-11-27 07:18:25 -08:00
edition-gated-async-move-syntax-issue89699.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
edition-imports-2018.rs Update tests to use new proc-macro header 2024-11-27 07:18:25 -08:00
empty-crate.rs Update tests to use new proc-macro header 2024-11-27 07:18:25 -08:00
empty-where-clause.rs Update tests to use new proc-macro header 2024-11-27 07:18:25 -08:00
empty-where-clause.stderr
env.rs Update tests to use new proc-macro header 2024-11-27 07:18:25 -08:00
expand-expr.rs Update tests to use new proc-macro header 2024-11-27 07:18:25 -08:00
expand-expr.stderr Tweak expand_incomplete_parse warning. 2024-10-28 14:12:45 +11:00
expand-to-derive.rs Use cfg(false) in UI tests 2025-04-03 21:41:58 +00:00
expand-to-derive.stdout Remove NtItem and NtStmt. 2025-03-07 14:51:07 +11:00
expand-to-unstable.rs Update tests to use new proc-macro header 2024-11-27 07:18:25 -08:00
expand-to-unstable.stderr use backticks instead of single quotes when reporting "use of unstable library feature" 2024-11-03 13:55:52 -08:00
expand-with-a-macro.rs Update tests to use new proc-macro header 2024-11-27 07:18:25 -08:00
export-macro.rs compiletest: Require //~ annotations even if error-pattern is specified 2025-04-03 11:08:55 +03:00
export-macro.stderr compiletest: Require //~ annotations even if error-pattern is specified 2025-04-03 11:08:55 +03:00
exports.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
exports.stderr
expr-stmt-nonterminal-tokens.rs Update tests to use new proc-macro header 2024-11-27 07:18:25 -08:00
expr-stmt-nonterminal-tokens.stdout Update tests to use new proc-macro header 2024-11-27 07:18:25 -08:00
extern-prelude-extern-crate-proc-macro.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
gen-lifetime-token.rs Update tests to use new proc-macro header 2024-11-27 07:18:25 -08:00
gen-macro-rules-hygiene.rs Update tests to use new proc-macro header 2024-11-27 07:18:25 -08:00
gen-macro-rules-hygiene.stderr
gen-macro-rules.rs Update tests to use new proc-macro header 2024-11-27 07:18:25 -08:00
generate-dollar-ident.rs Update tests to use new proc-macro header 2024-11-27 07:18:25 -08:00
generate-mod.rs Update tests to use new proc-macro header 2024-11-27 07:18:25 -08:00
generate-mod.stderr Do not point at #[allow(_)] as the reason for compat lint triggering 2024-02-13 20:27:43 +00:00
helper-attr-blocked-by-import-ambig.rs Update tests to use new proc-macro header 2024-11-27 07:18:25 -08:00
helper-attr-blocked-by-import-ambig.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
helper-attr-blocked-by-import.rs Update tests to use new proc-macro header 2024-11-27 07:18:25 -08:00
helper-attr-builtin-derive.rs Update tests to use new proc-macro header 2024-11-27 07:18:25 -08:00
hygiene_example.rs Update tests to use new proc-macro header 2024-11-27 07:18:25 -08:00
illegal-proc-macro-derive-use.rs
illegal-proc-macro-derive-use.stderr
import.rs Update tests to use new proc-macro header 2024-11-27 07:18:25 -08:00
import.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
inert-attribute-order.rs Update tests to use new proc-macro header 2024-11-27 07:18:25 -08:00
inert-attribute-order.stdout Don't insert spaces before most semicolons in print_tts. 2024-01-22 20:14:59 +11:00
inner-attr-non-inline-mod.rs compiletest: Support matching on diagnostics without a span 2025-03-25 17:33:09 +03:00
inner-attr-non-inline-mod.stderr compiletest: Support matching on diagnostics without a span 2025-03-25 17:33:09 +03:00
inner-attr-non-inline-mod.stdout compiletest: Support matching on diagnostics without a span 2025-03-25 17:33:09 +03:00
inner-attrs.rs Add test for extern without explicit ABI 2025-04-16 22:44:02 +03:00
inner-attrs.stderr Add test for extern without explicit ABI 2025-04-16 22:44:02 +03:00
inner-attrs.stdout UI tests: migrate remaining compile time error-patterns to line annotations 2025-04-13 21:48:53 +03:00
input-interpolated.rs Update tests to use new proc-macro header 2024-11-27 07:18:25 -08:00
input-interpolated.stdout Update tests to use new proc-macro header 2024-11-27 07:18:25 -08:00
invalid-attributes.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
invalid-attributes.stderr
invalid-punct-ident-1.rs Update tests to use new proc-macro header 2024-11-27 07:18:25 -08:00
invalid-punct-ident-1.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
invalid-punct-ident-2.rs Update tests to use new proc-macro header 2024-11-27 07:18:25 -08:00
invalid-punct-ident-2.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
invalid-punct-ident-3.rs Update tests to use new proc-macro header 2024-11-27 07:18:25 -08:00
invalid-punct-ident-3.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
invalid-punct-ident-4.rs Update tests to use new proc-macro header 2024-11-27 07:18:25 -08:00
invalid-punct-ident-4.stderr
is-available.rs Update tests to use new proc-macro header 2024-11-27 07:18:25 -08:00
issue-36935.rs Update tests to use new proc-macro header 2024-11-27 07:18:25 -08:00
issue-36935.stderr
issue-37788.rs Update tests to use new proc-macro header 2024-11-27 07:18:25 -08:00
issue-37788.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-38586.rs Update tests to use new proc-macro header 2024-11-27 07:18:25 -08:00
issue-38586.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-39889.rs Update tests to use new proc-macro header 2024-11-27 07:18:25 -08:00
issue-42708.rs Update tests to use new proc-macro header 2024-11-27 07:18:25 -08:00
issue-50061.rs Update tests to use new proc-macro header 2024-11-27 07:18:25 -08:00
issue-50493.rs UI tests: add missing diagnostic kinds where possible 2025-04-08 23:06:31 +03:00
issue-50493.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-53481.rs Update tests to use new proc-macro header 2024-11-27 07:18:25 -08:00
issue-59191-replace-root-with-fn.rs compiletest: Require //~ annotations even if error-pattern is specified 2025-04-03 11:08:55 +03:00
issue-59191-replace-root-with-fn.stderr Inject compiler_builtins during postprocessing rather than via AST 2025-02-21 17:37:03 +00:00
issue-66286.rs Update tests. 2025-01-07 16:04:14 +01:00
issue-66286.stderr Show diff suggestion format on verbose replacement 2025-02-10 20:21:39 +00:00
issue-73933-procedural-masquerade.rs Update tests to use new proc-macro header 2024-11-27 07:18:25 -08:00
issue-73933-procedural-masquerade.stdout Update tests to use new proc-macro header 2024-11-27 07:18:25 -08:00
issue-75734-pp-paren.rs Update tests to use new proc-macro header 2024-11-27 07:18:25 -08:00
issue-75734-pp-paren.stdout Don't insert spaces before most semicolons in print_tts. 2024-01-22 20:14:59 +11:00
issue-75801.rs Update tests to use new proc-macro header 2024-11-27 07:18:25 -08:00
issue-75801.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-75930-derive-cfg.rs Use cfg(false) in UI tests 2025-04-03 21:41:58 +00:00
issue-75930-derive-cfg.stderr Switch from using //~ERROR annotations with --error-format to error-pattern 2023-12-21 16:45:29 +05:30
issue-75930-derive-cfg.stdout Use cfg(false) in UI tests 2025-04-03 21:41:58 +00:00
issue-76182-leading-vert-pat.rs Update tests to use new proc-macro header 2024-11-27 07:18:25 -08:00
issue-76182-leading-vert-pat.stdout Fix some cases in space_between. 2024-01-22 20:19:17 +11:00
issue-76270-panic-in-libproc-macro.rs Update tests to use new proc-macro header 2024-11-27 07:18:25 -08:00
issue-76270-panic-in-libproc-macro.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-78675-captured-inner-attrs.rs Update tests to use new proc-macro header 2024-11-27 07:18:25 -08:00
issue-78675-captured-inner-attrs.stdout Print token::Interpolated with token stream pretty printing. 2024-06-05 13:07:32 +10:00
issue-79148.rs Update tests to use new proc-macro header 2024-11-27 07:18:25 -08:00
issue-79148.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-79242-slow-retokenize-check.rs Update tests to use new proc-macro header 2024-11-27 07:18:25 -08:00
issue-79825.rs Update tests to use new proc-macro header 2024-11-27 07:18:25 -08:00
issue-80760-empty-stmt.rs Update tests to use new proc-macro header 2024-11-27 07:18:25 -08:00
issue-80760-empty-stmt.stdout
issue-81007-item-attrs.rs Update tests to use new proc-macro header 2024-11-27 07:18:25 -08:00
issue-81007-item-attrs.stdout
issue-81543-item-parse-err.rs Update tests to use new proc-macro header 2024-11-27 07:18:25 -08:00
issue-81543-item-parse-err.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-81555.rs Update tests to use new proc-macro header 2024-11-27 07:18:25 -08:00
issue-83469-global-alloc-invalid-stmt.rs
issue-83469-global-alloc-invalid-stmt.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-83510.rs Update tests to use new proc-macro header 2024-11-27 07:18:25 -08:00
issue-83510.stderr Bless tests 2024-01-13 12:46:58 -05:00
issue-86781-bad-inner-doc.fixed Update tests to use new proc-macro header 2024-11-27 07:18:25 -08:00
issue-86781-bad-inner-doc.rs Update tests to use new proc-macro header 2024-11-27 07:18:25 -08:00
issue-86781-bad-inner-doc.stderr Show diff suggestion format on verbose replacement 2025-02-10 20:21:39 +00:00
issue-89566-suggest-fix-invalid-top-level-macro-attr.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-89566-suggest-fix-invalid-top-level-macro-attr.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-89566-suggest-fix-invalid-top-level-macro-attr.stderr Update tests 2024-02-07 10:42:01 +08:00
issue-91800.rs compiletest: Always preserve kind for compiler diagnostics 2025-04-07 19:13:30 +03:00
issue-91800.stderr compiletest: Always preserve kind for compiler diagnostics 2025-04-07 19:13:30 +03:00
issue-104884-trait-impl-sugg-err.rs Update tests to use new proc-macro header 2024-11-27 07:18:25 -08:00
issue-104884-trait-impl-sugg-err.stderr Do not suggest using -Zmacro-backtrace for builtin macros 2025-03-14 19:50:03 +00:00
issue-107113-wrap.rs Update tests to use new proc-macro header 2024-11-27 07:18:25 -08:00
issue-107113-wrap.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-118455-skip-err-builtin.rs Supress unhelpful diagnostics for unresolved top level attributes 2024-01-29 17:43:07 +08:00
issue-118455-skip-err-builtin.stderr Supress unhelpful diagnostics for unresolved top level attributes 2024-01-29 17:43:07 +08:00
issue-118809.rs Update tests to use new proc-macro header 2024-11-27 07:18:25 -08:00
issue-118809.stderr Add test for the issue 2024-02-11 02:43:44 +09:00
item-error.rs Update tests to use new proc-macro header 2024-11-27 07:18:25 -08:00
item-error.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
keep-expr-tokens.rs Update tests to use new proc-macro header 2024-11-27 07:18:25 -08:00
keep-expr-tokens.stderr
keep-expr-tokens.stdout Don't insert spaces before most semicolons in print_tts. 2024-01-22 20:14:59 +11:00
lifetimes-rpass.rs Update tests to use new proc-macro header 2024-11-27 07:18:25 -08:00
lifetimes.rs Update tests to use new proc-macro header 2024-11-27 07:18:25 -08:00
lifetimes.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
lints_in_proc_macros.rs Update tests to use new proc-macro header 2024-11-27 07:18:25 -08:00
lints_in_proc_macros.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
literal-to-string.rs Update tests to use new proc-macro header 2024-11-27 07:18:25 -08:00
literal-to-string.stdout Update tests to use new proc-macro header 2024-11-27 07:18:25 -08:00
load-panic-backtrace.rs Remove the -test suffix from normalize directives 2024-12-27 19:58:16 +11:00
load-panic-backtrace.stderr Try to write the panic message with a single write_all call 2025-01-01 15:58:29 +01:00
load-panic.rs Update tests to use new proc-macro header 2024-11-27 07:18:25 -08:00
load-panic.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
load-two.rs Update tests to use new proc-macro header 2024-11-27 07:18:25 -08:00
macro-brackets.rs Update tests to use new proc-macro header 2024-11-27 07:18:25 -08:00
macro-brackets.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
macro-crate-multi-decorator.rs Update tests to use new proc-macro header 2024-11-27 07:18:25 -08:00
macro-namespace-reserved-2.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
macro-namespace-reserved-2.stderr Add a note to duplicate diagnostics 2023-10-05 01:04:41 +00:00
macro-namespace-reserved.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
macro-namespace-reserved.stderr
macro-quote-cond.rs Update tests to use new proc-macro header 2024-11-27 07:18:25 -08:00
macro-rules-derive-cfg.rs Update tests to use new proc-macro header 2024-11-27 07:18:25 -08:00
macro-rules-derive-cfg.stdout Remove NtExpr and NtLiteral. 2025-04-02 06:20:35 +11:00
macro-rules-derive.rs Update tests to use new proc-macro header 2024-11-27 07:18:25 -08:00
macro-rules-derive.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
macro-use-attr.rs Update tests to use new proc-macro header 2024-11-27 07:18:25 -08:00
macro-use-bang.rs Update tests to use new proc-macro header 2024-11-27 07:18:25 -08:00
macro_rules_edition_from_pm.rs Update more 2024 tests to remove -Zunstable-options 2024-11-28 14:32:45 -08:00
macros-in-extern-derive.rs
macros-in-extern-derive.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
macros-in-extern.rs Update tests to use new proc-macro header 2024-11-27 07:18:25 -08:00
macros-in-type.rs Update tests to use new proc-macro header 2024-11-27 07:18:25 -08:00
meta-delim.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
meta-macro-hygiene.rs Remove the -test suffix from normalize directives 2024-12-27 19:58:16 +11:00
meta-macro-hygiene.stdout hygiene: Rename semi-transparent to semi-opaque 2025-03-31 15:41:48 +03:00
meta-macro.rs Update tests to use new proc-macro header 2024-11-27 07:18:25 -08:00
meta-macro.stdout
mixed-site-span.rs Update tests to use new proc-macro header 2024-11-27 07:18:25 -08:00
mixed-site-span.stderr
modify-ast.rs Update tests to use new proc-macro header 2024-11-27 07:18:25 -08:00
module.rs tests: use //@ ignore-auxiliary with backlinked primary test file 2025-04-17 19:45:28 +08:00
module_with_attrs.rs tests: use //@ ignore-auxiliary with backlinked primary test file 2025-04-17 19:45:28 +08:00
multispan.rs Update tests to use new proc-macro header 2024-11-27 07:18:25 -08:00
multispan.stderr
negative-token.rs Update tests to use new proc-macro header 2024-11-27 07:18:25 -08:00
nested-derive-cfg.rs Use cfg(false) in UI tests 2025-04-03 21:41:58 +00:00
nested-derive-cfg.stdout Don't insert spaces before most semicolons in print_tts. 2024-01-22 20:14:59 +11:00
nested-item-spans.rs Update tests to use new proc-macro header 2024-11-27 07:18:25 -08:00
nested-item-spans.stderr
nested-macro-rules.rs Update tests to use new proc-macro header 2024-11-27 07:18:25 -08:00
nested-macro-rules.stderr Remove deprecation note in the non_local_definitions warning 2024-10-11 21:21:32 +02:00
nested-macro-rules.stdout Temporarily make allow-by-default the non_local_definitions lint 2024-03-06 22:24:25 +01:00
nested-nonterminal-tokens.rs Update tests to use new proc-macro header 2024-11-27 07:18:25 -08:00
nested-nonterminal-tokens.stdout
no-macro-use-attr.rs Remove attribute #[rustc_error] 2025-03-30 01:32:21 +03:00
no-macro-use-attr.stderr Remove attribute #[rustc_error] 2025-03-30 01:32:21 +03:00
no-mangle-in-proc-macro-issue-111888.rs Add needs-unwind for proc macro tests 2024-03-25 15:02:55 +00:00
no-missing-docs.rs Add needs-unwind for proc macro tests 2024-03-25 15:02:55 +00:00
nodelim-groups.rs More denesting of invisibly-delimited groups. 2025-03-07 14:51:08 +11:00
nodelim-groups.stdout More denesting of invisibly-delimited groups. 2025-03-07 14:51:08 +11:00
non-root.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
non-root.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
nonterminal-expansion.rs Update tests to use new proc-macro header 2024-11-27 07:18:25 -08:00
nonterminal-expansion.stdout Improve print_tts by changing tokenstream::Spacing. 2023-12-11 09:19:09 +11:00
nonterminal-recollect-attr.rs Update tests to use new proc-macro header 2024-11-27 07:18:25 -08:00
nonterminal-recollect-attr.stdout
nonterminal-token-hygiene.rs Explicitly annotate edition for unpretty=expanded and unpretty=hir tests 2025-04-16 11:10:10 +02:00
nonterminal-token-hygiene.stdout Auto merge of #139949 - matthiaskrgr:rollup-pxc5tsx, r=matthiaskrgr 2025-04-17 11:21:54 +00:00
not-joint.rs Update tests to use new proc-macro header 2024-11-27 07:18:25 -08:00
out-of-line-mod.rs Update tests to use new proc-macro header 2024-11-27 07:18:25 -08:00
panic-abort.rs compiletest: Require //~ annotations even if error-pattern is specified 2025-04-03 11:08:55 +03:00
panic-abort.stderr
parent-source-spans.rs Update tests to use new proc-macro header 2024-11-27 07:18:25 -08:00
parent-source-spans.stderr
parse-invis-delim-issue-128895.rs Update tests to use new proc-macro header 2024-11-27 07:18:25 -08:00
pretty-print-hack-hide.rs Update tests to use new proc-macro header 2024-11-27 07:18:25 -08:00
pretty-print-hack-hide.stdout
pretty-print-hack-show.local.stderr Convert proc_macro_back_compat lint to an unconditional error. 2024-05-28 08:15:15 +10:00
pretty-print-hack-show.remapped.stderr Convert proc_macro_back_compat lint to an unconditional error. 2024-05-28 08:15:15 +10:00
pretty-print-hack-show.rs compiletest: Support matching on diagnostics without a span 2025-03-25 17:33:09 +03:00
pretty-print-tts.rs Update tests to use new proc-macro header 2024-11-27 07:18:25 -08:00
pretty-print-tts.stdout Don't insert spaces before most semicolons in print_tts. 2024-01-22 20:14:59 +11:00
proc-macro-abi.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
proc-macro-abi.stderr
proc-macro-attributes.rs Update tests to use new proc-macro header 2024-11-27 07:18:25 -08:00
proc-macro-attributes.stderr
proc-macro-deprecated-attr.rs Add needs-unwind for proc macro tests 2024-03-25 15:02:55 +00:00
proc-macro-gates.rs fully de-stabilize all custom inner attributes 2025-01-19 08:53:02 -07:00
proc-macro-gates.stderr fully de-stabilize all custom inner attributes 2025-01-19 08:53:02 -07:00
proc-macro-gates2.rs Update tests to use new proc-macro header 2024-11-27 07:18:25 -08:00
proc-macro-gates2.stderr
pub-at-crate-root.rs UI tests: add missing diagnostic kinds where possible 2025-04-08 23:06:31 +03:00
pub-at-crate-root.stderr
raw-ident.rs Update tests to use new proc-macro header 2024-11-27 07:18:25 -08:00
raw-ident.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
reserved-macro-names.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
reserved-macro-names.stderr
resolve-error.rs Update tests to use new proc-macro header 2024-11-27 07:18:25 -08:00
resolve-error.stderr Update tests to use new proc-macro header 2024-11-27 07:18:25 -08:00
resolved-located-at.rs Update tests to use new proc-macro header 2024-11-27 07:18:25 -08:00
resolved-located-at.stderr Point to where missing return type should go 2023-10-04 21:09:54 +00:00
shadow.rs Update tests to use new proc-macro header 2024-11-27 07:18:25 -08:00
shadow.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
signature-proc-macro-attribute.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
signature-proc-macro-attribute.stderr
signature-proc-macro-derive.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
signature-proc-macro-derive.stderr
signature-proc-macro.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
signature-proc-macro.stderr
signature.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
signature.stderr Rename Unsafe to Safety 2024-05-17 18:33:37 -03:00
smoke.rs Update tests to use new proc-macro header 2024-11-27 07:18:25 -08:00
span-absolute-posititions.rs Update tests to use new proc-macro header 2024-11-27 07:18:25 -08:00
span-absolute-posititions.stderr
span-api-tests.rs Replace proc_macro::SourceFile by Span::{file, local_file}. 2025-04-11 15:07:08 +02:00
span-from-proc-macro.rs Update tests to use new proc-macro header 2024-11-27 07:18:25 -08:00
span-from-proc-macro.stderr Update tests to use new proc-macro header 2024-11-27 07:18:25 -08:00
span-preservation.rs Update tests to use new proc-macro header 2024-11-27 07:18:25 -08:00
span-preservation.stderr Point to where missing return type should go 2023-10-04 21:09:54 +00:00
struct-field-macro.rs Update tests to use new proc-macro header 2024-11-27 07:18:25 -08:00
subspan.rs Update tests to use new proc-macro header 2024-11-27 07:18:25 -08:00
subspan.stderr
test-same-crate.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
test-same-crate.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
test.rs Update tests to use new proc-macro header 2024-11-27 07:18:25 -08:00
three-equals.rs Update tests to use new proc-macro header 2024-11-27 07:18:25 -08:00
three-equals.stderr
trailing-plus.rs Update tests to use new proc-macro header 2024-11-27 07:18:25 -08:00
trailing-plus.stdout Improve print_tts by changing tokenstream::Spacing. 2023-12-11 09:19:09 +11:00
trait-fn-args-2015.rs Update tests to use new proc-macro header 2024-11-27 07:18:25 -08:00
two-crate-types-1.rs compiletest: Require //~ annotations even if error-pattern is specified 2025-04-03 11:08:55 +03:00
two-crate-types-1.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
two-crate-types-2.rs compiletest: Require //~ annotations even if error-pattern is specified 2025-04-03 11:08:55 +03:00
two-crate-types-2.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
unsafe-foreign-mod.rs Update tests to use new proc-macro header 2024-11-27 07:18:25 -08:00
unsafe-mod.rs Update tests to use new proc-macro header 2024-11-27 07:18:25 -08:00
valid-sugg-issue-137345.rs remove invalid suggestion of into_iter for extern macro 2025-02-22 13:30:41 +08:00
valid-sugg-issue-137345.stderr remove invalid suggestion of into_iter for extern macro 2025-02-22 13:30:41 +08:00
visibility-path.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
visibility-path.stderr
weird-braces.rs Update tests to use new proc-macro header 2024-11-27 07:18:25 -08:00
weird-braces.stdout Add spacing information to delimiters. 2023-12-11 09:36:40 +11:00
weird-hygiene.rs Update tests to use new proc-macro header 2024-11-27 07:18:25 -08:00
weird-hygiene.stderr