rust/tests/ui/macros
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 tests: use //@ ignore-auxiliary with backlinked primary test file 2025-04-17 19:45:28 +08:00
issue-69838-dir tests: use //@ ignore-auxiliary with backlinked primary test file 2025-04-17 19:45:28 +08:00
macro-expanded-include tests: use //@ ignore-auxiliary with backlinked primary test file 2025-04-17 19:45:28 +08:00
macro-metavar-expr-concat Fix #128346 2024-12-01 19:10:44 -03:00
rfc-2011-nicer-assert-messages Explicitly annotate edition for unpretty=expanded and unpretty=hir tests 2025-04-16 11:10:10 +02:00
rfc-3086-metavar-expr Point out macro expansion ident in resolver errors too 2025-03-03 23:53:42 +00:00
syntax-extension-source-utils-files
ambiguity-legacy-vs-modern.rs
ambiguity-legacy-vs-modern.stderr
assert-as-macro.rs tests: use needs-subprocess instead of ignore-{wasm32,emscripten,sgx} 2025-01-23 20:51:29 +08:00
assert-eq-macro-msg.rs tests: use needs-subprocess instead of ignore-{wasm32,emscripten,sgx} 2025-01-23 20:51:29 +08:00
assert-eq-macro-panic.rs tests: use needs-subprocess instead of ignore-{wasm32,emscripten,sgx} 2025-01-23 20:51:29 +08:00
assert-eq-macro-success.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
assert-eq-macro-unsized.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
assert-format-lazy.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
assert-long-condition.rs Update test directives for wasm32-wasip1 2024-03-11 09:36:35 -07:00
assert-long-condition.run.stderr Try to write the panic message with a single write_all call 2025-01-01 15:58:29 +01:00
assert-macro-explicit.rs tests: use needs-subprocess instead of ignore-{wasm32,emscripten,sgx} 2025-01-23 20:51:29 +08:00
assert-macro-fmt.rs tests: use needs-subprocess instead of ignore-{wasm32,emscripten,sgx} 2025-01-23 20:51:29 +08:00
assert-macro-owned.rs tests: use needs-subprocess instead of ignore-{wasm32,emscripten,sgx} 2025-01-23 20:51:29 +08:00
assert-macro-static.rs tests: use needs-subprocess instead of ignore-{wasm32,emscripten,sgx} 2025-01-23 20:51:29 +08:00
assert-matches-macro-msg.rs tests: use needs-subprocess instead of ignore-{wasm32,emscripten,sgx} 2025-01-23 20:51:29 +08:00
assert-ne-macro-msg.rs tests: use needs-subprocess instead of ignore-{wasm32,emscripten,sgx} 2025-01-23 20:51:29 +08:00
assert-ne-macro-panic.rs tests: use needs-subprocess instead of ignore-{wasm32,emscripten,sgx} 2025-01-23 20:51:29 +08:00
assert-ne-macro-success.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
assert-ne-macro-unsized.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
assert-trailing-junk.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
assert-trailing-junk.with-generic-asset.stderr Tweak more warnings. 2024-10-28 14:20:28 +11:00
assert-trailing-junk.without-generic-asset.stderr Tweak more warnings. 2024-10-28 14:20:28 +11:00
assert.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
assert.with-generic-asset.stderr
assert.without-generic-asset.stderr
attr-empty-expr.rs
attr-empty-expr.stderr
attr-from-macro.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
bad-concat.rs
bad-concat.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
bad_hello.rs
bad_hello.stderr
bang-after-name.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
bang-after-name.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
bang-after-name.stderr Make impl and ! removal suggestion short 2024-07-12 03:02:57 +00:00
best-failure.rs Tweak more warnings. 2024-10-28 14:20:28 +11:00
best-failure.stderr Tweak more warnings. 2024-10-28 14:20:28 +11:00
block-to-expr-metavar.rs Remove NtVis. 2025-02-21 15:49:44 +11:00
break-last-token-twice.rs Fix break_last_token. 2024-09-23 09:14:30 +10:00
builtin-env-issue-114010.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
builtin-env-issue-114010.stderr Do not suggest using -Zmacro-backtrace for builtin macros 2025-03-14 19:50:03 +00:00
builtin-prelude-no-accidents.rs Reword "crate not found" resolve message 2025-01-24 01:19:50 +00:00
builtin-prelude-no-accidents.stderr Reword "crate not found" resolve message 2025-01-24 01:19:50 +00:00
builtin-std-paths-fail.rs
builtin-std-paths-fail.stderr When finding item gated behind a cfg flat, point at it 2024-07-12 18:52:52 +00:00
builtin-std-paths.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
cfg.rs Improve non-boolean literal error in cfg predicate 2024-10-04 09:09:20 +02:00
cfg.stderr Do not suggest using -Zmacro-backtrace for builtin macros 2025-03-14 19:50:03 +00:00
colorful-write-macros.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
compile_error_macro.rs Move 100 entries from tests/ui into subdirs 2024-05-20 19:55:59 -07:00
compile_error_macro.stderr Move 100 entries from tests/ui into subdirs 2024-05-20 19:55:59 -07:00
concat-bytes-error.rs
concat-bytes-error.stderr Migrate most of rustc_builtin_macros to diagnostic impls 2023-04-10 21:16:53 +01:00
concat-bytes.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
concat-rpass.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
concat.rs
concat.stderr allow negative numeric literals in concat! 2023-01-15 12:48:53 +13:00
conditional-debug-macro-on.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
const-expr-invocations-issue-40136.rs Rename and Move some UI tests to more suitable subdirs 2025-02-04 17:02:37 +05:30
cross-crate-pat-span.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
defined-later-issue-121061-2.rs rename testcase 2024-02-29 19:06:31 +08:00
defined-later-issue-121061-2.stderr Diagnostic for using macro_rules macro as attr/derive 2024-11-22 16:49:10 +00:00
defined-later-issue-121061.rs rename testcase 2024-02-29 19:06:31 +08:00
defined-later-issue-121061.stderr Diagnostic for using macro_rules macro as attr/derive 2024-11-22 16:49:10 +00:00
derive-in-eager-expansion-hang.rs
derive-in-eager-expansion-hang.stderr When displaying multispans, ignore empty lines adjacent to ... 2024-03-18 16:25:36 +00:00
die-macro-2.rs tests: use needs-subprocess instead of ignore-{wasm32,emscripten,sgx} 2025-01-23 20:51:29 +08:00
die-macro-expr.rs tests: use needs-subprocess instead of ignore-{wasm32,emscripten,sgx} 2025-01-23 20:51:29 +08:00
die-macro-pure.rs tests: use needs-subprocess instead of ignore-{wasm32,emscripten,sgx} 2025-01-23 20:51:29 +08:00
die-macro.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
doc-comment.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
dollar-crate-nested-encoding.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
edition-macro-pats.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
empty-trailing-stmt.rs
empty-trailing-stmt.stderr
expand-full-asm.rs delay expand macro bang when there has indeterminate path 2024-03-13 16:11:16 +08:00
expand-full-in-format-str.rs delay expand macro bang when there has indeterminate path 2024-03-13 16:11:16 +08:00
expand-full-no-resolution.rs delay expand macro bang when there has indeterminate path 2024-03-13 16:11:16 +08:00
expand-full-no-resolution.stderr Show diff suggestion format on verbose replacement 2025-02-10 20:21:39 +00:00
expr_2021.rs Stabilize expr_2021 fragment in all editions 2024-10-01 07:51:58 +00:00
expr_2021_cargo_fix_edition.fixed replace //@ compile-flags: --edition with //@ edition 2025-04-10 09:56:37 +02:00
expr_2021_cargo_fix_edition.rs replace //@ compile-flags: --edition with //@ edition 2025-04-10 09:56:37 +02:00
expr_2021_cargo_fix_edition.stderr Trim suggestion parts to the subset that is purely additive 2025-02-14 00:44:10 -08:00
expr_2021_implicit_in_2024.rs Stabilize the 2024 edition 2024-11-22 11:12:15 -08:00
expr_2021_inline_const.edi2021.stderr Tweak more warnings. 2024-10-28 14:20:28 +11:00
expr_2021_inline_const.edi2024.stderr Tweak more warnings. 2024-10-28 14:20:28 +11:00
expr_2021_inline_const.rs Stabilize the 2024 edition 2024-11-22 11:12:15 -08:00
expr_2024_underscore_expr.edi2021.stderr Tweak more warnings. 2024-10-28 14:20:28 +11:00
expr_2024_underscore_expr.edi2024.stderr Tweak more warnings. 2024-10-28 14:20:28 +11:00
expr_2024_underscore_expr.rs Stabilize the 2024 edition 2024-11-22 11:12:15 -08:00
failed-to-reparse-issue-137874.rs Apply Recovery::Forbidden when reparsing pasted macro fragments. 2025-04-04 13:24:26 +11:00
failed-to-reparse-issue-137874.stderr Apply Recovery::Forbidden when reparsing pasted macro fragments. 2025-04-04 13:24:26 +11:00
failed-to-reparse-issue-139445.rs Allow for reparsing failure when reparsing a pasted metavar. 2025-04-08 12:06:42 +10:00
failed-to-reparse-issue-139445.stderr Allow for reparsing failure when reparsing a pasted metavar. 2025-04-08 12:06:42 +10:00
format-args-temporaries-async.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
format-args-temporaries-in-write.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
format-args-temporaries-in-write.stderr Do not set up wrong span for adjustments 2023-07-10 20:09:26 +00:00
format-args-temporaries.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
format-empty-block-unit-tuple-suggestion-130170.fixed Special treatment empty tuple when suggest adding a string literal in format macro. 2024-10-14 10:07:57 +08:00
format-empty-block-unit-tuple-suggestion-130170.rs Special treatment empty tuple when suggest adding a string literal in format macro. 2024-10-14 10:07:57 +08:00
format-empty-block-unit-tuple-suggestion-130170.stderr Special treatment empty tuple when suggest adding a string literal in format macro. 2024-10-14 10:07:57 +08:00
format-foreign.rs
format-foreign.stderr Show diff suggestion format on verbose replacement 2025-02-10 20:21:39 +00:00
format-parse-errors.rs
format-parse-errors.stderr
format-unused-lables.rs
format-unused-lables.stderr
genercs-in-path-with-prettry-hir.rs Explicitly annotate edition for unpretty=expanded and unpretty=hir tests 2025-04-16 11:10:10 +02:00
genercs-in-path-with-prettry-hir.stderr Explicitly annotate edition for unpretty=expanded and unpretty=hir tests 2025-04-16 11:10:10 +02:00
genercs-in-path-with-prettry-hir.stdout Explicitly annotate edition for unpretty=expanded and unpretty=hir tests 2025-04-16 11:10:10 +02:00
global-asm.rs
global-asm.stderr
html-literals.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
include-single-expr-helper-1.rs tests: use //@ ignore-auxiliary with backlinked primary test file 2025-04-17 19:45:28 +08:00
include-single-expr-helper.rs tests: use //@ ignore-auxiliary with backlinked primary test file 2025-04-17 19:45:28 +08:00
include-single-expr.rs compiletest: Support matching on diagnostics without a span 2025-03-25 17:33:09 +03:00
include-single-expr.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
invalid-fragment-specifier.rs add test to guard against inaccurate diagnostic 2024-02-17 14:15:22 +02:00
invalid-fragment-specifier.stderr Stabilize expr_2021 fragment in all editions 2024-10-01 07:51:58 +00:00
issue-2804-2.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-2804.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-5060.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-6596-1.rs
issue-6596-1.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-6596-2.rs Move tests 2024-03-03 16:30:48 -03:00
issue-6596-2.stderr Move tests 2024-03-03 16:30:48 -03:00
issue-8709.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-8851.rs tests: remove //@ pretty-expanded usages 2024-11-26 02:50:48 +08:00
issue-10536.rs
issue-10536.stderr
issue-11692-1.rs Move some tests 2024-04-21 15:43:43 -03:00
issue-11692-1.stderr Move some tests 2024-04-21 15:43:43 -03:00
issue-11692-2.rs Move some tests 2024-04-21 15:43:43 -03:00
issue-11692-2.stderr Move some tests 2024-04-21 15:43:43 -03:00
issue-16098.rs
issue-16098.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-19163.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-19163.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-21356.rs
issue-21356.stderr Stabilize expr_2021 fragment in all editions 2024-10-01 07:51:58 +00:00
issue-22463.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-25274.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-25385.rs
issue-25385.stderr
issue-26094.rs Move test files 2023-04-20 15:06:17 -03:00
issue-26094.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-26322.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-29084.rs
issue-29084.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-30007.rs Tweak expand_incomplete_parse warning. 2024-10-28 14:12:45 +11:00
issue-30007.stderr Tweak expand_incomplete_parse warning. 2024-10-28 14:12:45 +11:00
issue-30143.rs
issue-30143.stderr
issue-33185.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-34171.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-34421-mac-expr-bad-stmt-good-add-semi.rs
issue-34421-mac-expr-bad-stmt-good-add-semi.stderr
issue-35450.rs
issue-35450.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-37175.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-38715.rs
issue-38715.stderr
issue-39388.rs
issue-39388.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-39404.rs
issue-39404.stderr Mark missing_fragment_specifier as FutureReleaseErrorReportInDeps 2024-07-24 13:16:46 -04:00
issue-39467.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-40469.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-40770.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-41776.rs
issue-41776.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-41803.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-42954.fixed UI tests: add missing diagnostic kinds where possible 2025-04-08 23:06:31 +03:00
issue-42954.rs UI tests: add missing diagnostic kinds where possible 2025-04-08 23:06:31 +03:00
issue-42954.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-44127.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-46438.rs Move some tests 2024-02-09 15:43:08 -03:00
issue-46438.stderr Move some tests 2024-02-09 15:43:08 -03:00
issue-51848.rs
issue-51848.stderr Remove 'apostrophes' from rustc_parse_format 2024-10-14 23:22:51 +02:00
issue-52169.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-54441.rs Tweak expand_incomplete_parse warning. 2024-10-28 14:12:45 +11:00
issue-54441.stderr Tweak expand_incomplete_parse warning. 2024-10-28 14:12:45 +11:00
issue-57597.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-57597.stderr
issue-58490.rs
issue-58490.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-61033-1.rs
issue-61033-1.stderr
issue-61033-2.rs
issue-61033-2.stderr
issue-61053-different-kleene.rs
issue-61053-different-kleene.stderr
issue-61053-duplicate-binder.rs
issue-61053-duplicate-binder.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-61053-missing-repetition.rs Spruce up the diagnostics of some early lints 2024-06-03 07:25:32 +02:00
issue-61053-missing-repetition.stderr Spruce up the diagnostics of some early lints 2024-06-03 07:25:32 +02:00
issue-61053-unbound.rs
issue-61053-unbound.stderr
issue-63102.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-68058.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-68060.rs Treat safe target_feature functions as unsafe by default 2025-01-15 08:58:17 +00:00
issue-68060.stderr Treat safe target_feature functions as unsafe by default 2025-01-15 08:58:17 +00:00
issue-69396-const-no-type-in-macro.rs Fix macro shenanigans 2025-01-02 23:39:17 +00:00
issue-69396-const-no-type-in-macro.stderr Fix macro shenanigans 2025-01-02 23:39:17 +00:00
issue-69838-mods-relative-to-included-path.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-70446.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-75982-foreign-macro-weird-mod.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-77475.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-78325-inconsistent-resolution.rs
issue-78325-inconsistent-resolution.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-78333.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-78892-substitution-in-statement-attr.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-81006.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-81006.stderr
issue-83340.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-83340.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-83344.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-83344.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-84195-lint-anon-const.rs
issue-84195-lint-anon-const.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-84429-matches-edition.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-84632-eager-expansion-recursion-limit.rs
issue-84632-eager-expansion-recursion-limit.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-86082-option-env-invalid-char.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-86865.rs
issue-86865.stderr
issue-87877.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-88206.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-88206.stderr
issue-88228.rs UI tests: add missing diagnostic kinds where possible 2025-04-08 23:06:31 +03:00
issue-88228.stderr Tweak privacy errors to account for reachable items 2023-06-22 16:50:31 +00:00
issue-92267.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-92267.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-95267.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-95533.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-98466-allow.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-98466.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-98466.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-98466.stderr
issue-99261.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-99265.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-99265.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-99265.stderr Show diff suggestion format on verbose replacement 2025-02-10 20:21:39 +00:00
issue-99907.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-99907.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-99907.stderr
issue-100199.rs Update tests to use new proc-macro header 2024-11-27 07:18:25 -08:00
issue-100199.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-102878.rs Exit when there are unmatched delims to avoid noisy diagnostics 2023-02-28 07:55:19 +00:00
issue-102878.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-103529.rs
issue-103529.stderr Show diff suggestion format on verbose replacement 2025-02-10 20:21:39 +00:00
issue-104769-concat_bytes-invalid-literal.rs
issue-104769-concat_bytes-invalid-literal.stderr
issue-105011.rs
issue-105011.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-106837.rs allow negative numeric literals in concat! 2023-01-15 12:48:53 +13:00
issue-106837.stderr allow negative numeric literals in concat! 2023-01-15 12:48:53 +13:00
issue-109237.rs Suggest surrounding the macro with {} to interpret as a statement 2023-03-17 14:36:22 +08:00
issue-109237.stderr Show diff suggestion format on verbose replacement 2025-02-10 20:21:39 +00:00
issue-111749.rs fix: emit error when fragment is MethodReceiverExpr and items is empty 2023-05-19 21:21:05 +08:00
issue-111749.stderr fix: emit error when fragment is MethodReceiverExpr and items is empty 2023-05-19 21:21:05 +08:00
issue-112342-1.rs feat(expand): emit note for doc comment in macro matcher 2023-06-07 10:20:36 +08:00
issue-112342-1.stderr feat(expand): emit note for doc comment in macro matcher 2023-06-07 10:20:36 +08:00
issue-112342-2.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-112342-2.stderr feat(expand): emit note for doc comment in macro matcher 2023-06-07 10:20:36 +08:00
issue-118048.rs dedup for duplicate suggestions 2023-12-04 10:43:10 +08:00
issue-118048.stderr tests: remove some trailing ws 2024-04-27 10:54:31 +03:00
issue-118786.rs Tweak expand_incomplete_parse warning. 2024-10-28 14:12:45 +11:00
issue-118786.stderr Show diff suggestion format on verbose replacement 2025-02-10 20:21:39 +00:00
lint-trailing-macro-call.rs Use cfg(false) in UI tests 2025-04-03 21:41:58 +00:00
lint-trailing-macro-call.stderr Use cfg(false) in UI tests 2025-04-03 21:41:58 +00:00
local-ambiguity-multiple-parsing-options.rs
local-ambiguity-multiple-parsing-options.stderr
log_syntax-trace_macros-macro-locations.rs tests: remove //@ pretty-expanded usages 2024-11-26 02:50:48 +08:00
log_syntax-trace_macros-macro-locations.stdout
macro-2.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
macro-as-fn-body.rs Remove NtBlock, Nonterminal, and TokenKind::Interpolated. 2025-04-02 16:07:02 +11:00
macro-at-most-once-rep-2015-rpass.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
macro-at-most-once-rep-2015.rs Tweak more warnings. 2024-10-28 14:20:28 +11:00
macro-at-most-once-rep-2015.stderr Tweak more warnings. 2024-10-28 14:20:28 +11:00
macro-at-most-once-rep-2018-rpass.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
macro-at-most-once-rep-2018.rs Tweak more warnings. 2024-10-28 14:20:28 +11:00
macro-at-most-once-rep-2018.stderr Tweak more warnings. 2024-10-28 14:20:28 +11:00
macro-attribute-expansion.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
macro-attribute.rs
macro-attribute.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
macro-attributes.rs Use cfg(false) in UI tests 2025-04-03 21:41:58 +00:00
macro-backtrace-invalid-internals.rs
macro-backtrace-invalid-internals.stderr Trim suggestion parts to the subset that is purely additive 2025-02-14 00:44:10 -08:00
macro-backtrace-nested.rs
macro-backtrace-nested.stderr
macro-backtrace-println.rs
macro-backtrace-println.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
macro-block-nonterminal.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
macro-comma-behavior-rpass.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
macro-comma-behavior.core.stderr
macro-comma-behavior.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
macro-comma-behavior.std.stderr
macro-comma-support-rpass.rs compiletest: add enable-by-default check-cfg 2024-05-04 11:30:38 +02:00
macro-comma-support.rs
macro-comma-support.stderr
macro-context.rs Tweak expand_incomplete_parse warning. 2024-10-28 14:12:45 +11:00
macro-context.stderr Tweak expand_incomplete_parse warning. 2024-10-28 14:12:45 +11:00
macro-crate-def-only.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
macro-crate-nonterminal-non-root.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
macro-crate-nonterminal-non-root.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
macro-crate-nonterminal-renamed.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
macro-crate-nonterminal.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
macro-crate-use.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
macro-deep_expansion.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
macro-def-site-super.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
macro-delimiter-significance.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
macro-deprecation.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
macro-deprecation.stderr
macro-doc-comments.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
macro-doc-escapes.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
macro-doc-raw-str-hashes.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
macro-error.rs Unify all the always-false cfgs under the FALSE cfg 2024-04-07 01:16:45 +02:00
macro-error.stderr Unify all the always-false cfgs under the FALSE cfg 2024-04-07 01:16:45 +02:00
macro-expand-within-generics-in-path.rs ignore generics args in attribute paths 2024-05-11 00:13:27 +08:00
macro-expand-within-generics-in-path.stderr ignore generics args in attribute paths 2024-05-11 00:13:27 +08:00
macro-expansion-tests.rs
macro-expansion-tests.stderr
macro-export-inner-module.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
macro-first-set.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
macro-follow-rpass.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
macro-follow.rs
macro-follow.stderr
macro-followed-by-seq-bad.rs
macro-followed-by-seq-bad.stderr
macro-followed-by-seq.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
macro-in-expression-context-2.rs
macro-in-expression-context-2.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
macro-in-expression-context.fixed Tweak expand_incomplete_parse warning. 2024-10-28 14:12:45 +11:00
macro-in-expression-context.rs Tweak expand_incomplete_parse warning. 2024-10-28 14:12:45 +11:00
macro-in-expression-context.stderr Tweak expand_incomplete_parse warning. 2024-10-28 14:12:45 +11:00
macro-in-fn.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
macro-include-items.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
macro-inner-attributes.rs Use cfg(false) in UI tests 2025-04-03 21:41:58 +00:00
macro-inner-attributes.stderr Show diff suggestion format on verbose replacement 2025-02-10 20:21:39 +00:00
macro-input-future-proofing.rs
macro-input-future-proofing.stderr
macro-interpolation.rs Remove NtTy. 2025-02-21 15:49:46 +11:00
macro-interpolation.stderr Remove NtTy. 2025-02-21 15:49:46 +11:00
macro-invocation-in-count-expr-fixed-array-type.rs tests: remove //@ pretty-expanded usages 2024-11-26 02:50:48 +08:00
macro-lifetime-used-with-bound.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
macro-lifetime-used-with-labels.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
macro-lifetime-used-with-static.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
macro-lifetime.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
macro-literal.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
macro-local-data-key-priv.rs
macro-local-data-key-priv.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
macro-match-nonterminal.rs
macro-match-nonterminal.stderr Fix wrong source location for some incorrect macro definitions 2024-08-16 21:27:06 +08:00
macro-meta-items-modern.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
macro-meta-items.rs compiletest: add enable-by-default check-cfg 2024-05-04 11:30:38 +02:00
macro-method-issue-4621.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
macro-missing-delimiters.rs
macro-missing-delimiters.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
macro-missing-fragment-deduplication.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
macro-missing-fragment-deduplication.stderr Mark missing_fragment_specifier as FutureReleaseErrorReportInDeps 2024-07-24 13:16:46 -04:00
macro-missing-fragment.e2015.stderr Update more 2024 tests to remove -Zunstable-options 2024-11-28 14:32:45 -08:00
macro-missing-fragment.e2024.stderr Update more 2024 tests to remove -Zunstable-options 2024-11-28 14:32:45 -08:00
macro-missing-fragment.rs Update more 2024 tests to remove -Zunstable-options 2024-11-28 14:32:45 -08:00
macro-multiple-items.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
macro-multiple-matcher-bindings.rs
macro-multiple-matcher-bindings.stderr
macro-name-typo.rs
macro-name-typo.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
macro-named-default.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
macro-nested_definition_issue-31946.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
macro-nested_expr.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
macro-nested_stmt_macros.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
macro-non-lifetime.rs Tweak more warnings. 2024-10-28 14:20:28 +11:00
macro-non-lifetime.stderr Tweak more warnings. 2024-10-28 14:20:28 +11:00
macro-nt-list.rs tests: remove //@ pretty-expanded usages 2024-11-26 02:50:48 +08:00
macro-of-higher-order.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
macro-or-patterns-back-compat.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
macro-or-patterns-back-compat.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
macro-or-patterns-back-compat.stderr
macro-outer-attributes.rs Use cfg(false) in UI tests 2025-04-03 21:41:58 +00:00
macro-outer-attributes.stderr Use cfg(false) in UI tests 2025-04-03 21:41:58 +00:00
macro-parameter-span.rs
macro-parameter-span.stderr Point out macro expansion ident in resolver errors too 2025-03-03 23:53:42 +00:00
macro-pat-follow-2018.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
macro-pat-follow.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
macro-pat-neg-lit.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
macro-pat-pattern-followed-by-or-in-2021.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
macro-pat-pattern-followed-by-or-in-2021.stderr
macro-pat-pattern-followed-by-or.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
macro-pat.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
macro-pat2021-pattern-followed-by-or.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
macro-pat2021-pattern-followed-by-or.stderr
macro-path-prelude-fail-1.rs
macro-path-prelude-fail-1.stderr
macro-path-prelude-fail-2.rs
macro-path-prelude-fail-2.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
macro-path-prelude-fail-3.rs
macro-path-prelude-fail-3.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
macro-path-prelude-fail-4.rs
macro-path-prelude-fail-4.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
macro-path-prelude-fail-5.rs Add more complex test cases for new suggestion 2023-04-07 04:22:43 +01:00
macro-path-prelude-fail-5.stderr Add more complex test cases for new suggestion 2023-04-07 04:22:43 +01:00
macro-path-prelude-pass.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
macro-path-prelude-shadowing.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
macro-path-prelude-shadowing.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
macro-path.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
macro-pub-matcher.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
macro-quote-test.rs Update tests to use new proc-macro header 2024-11-27 07:18:25 -08:00
macro-reexport-removed.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
macro-reexport-removed.stderr
macro-rules-as-derive-or-attr-issue-132928.rs Add test for using macro_rules macro as attribute/derive 2024-11-12 14:05:42 +00:00
macro-rules-as-derive-or-attr-issue-132928.stderr Diagnostic for using macro_rules macro as attr/derive 2024-11-22 16:49:10 +00:00
macro-seq-followed-by-seq.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
macro-shadowing-relaxed.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
macro-shadowing.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
macro-shadowing.stderr
macro-span-issue-116502.rs Fix the dedup error because of spans from suggestion 2024-05-15 10:28:44 +08:00
macro-span-issue-116502.stderr Bless and add tests 2025-01-23 06:01:36 +00:00
macro-stability-rpass.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
macro-stability.rs use backticks instead of single quotes when reporting "use of unstable library feature" 2024-11-03 13:55:52 -08:00
macro-stability.stderr use backticks instead of single quotes when reporting "use of unstable library feature" 2024-11-03 13:55:52 -08:00
macro-stmt-2.rs Remove NtItem and NtStmt. 2025-03-07 14:51:07 +11:00
macro-stmt-matchers.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
macro-stmt.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
macro-stmt_macro_in_expr_macro.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
macro-tt-followed-by-seq.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
macro-tt-matchers.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
macro-use-all-and-none.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
macro-use-all-and-none.stderr
macro-use-all.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
macro-use-bad-args-1.rs
macro-use-bad-args-1.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
macro-use-bad-args-2.rs
macro-use-bad-args-2.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
macro-use-both.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
macro-use-one.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
macro-use-scope.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
macro-use-undef.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
macro-use-undef.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
macro-use-wrong-name.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
macro-use-wrong-name.stderr Show diff suggestion format on verbose replacement 2025-02-10 20:21:39 +00:00
macro-with-attrs1.rs compiletest: add enable-by-default check-cfg 2024-05-04 11:30:38 +02:00
macro-with-attrs2.rs Use cfg(false) in UI tests 2025-04-03 21:41:58 +00:00
macro-with-braces-in-expr-position.rs compiletest: Add a //@ needs-threads directive 2024-03-06 12:35:07 -08:00
macro_path_as_generic_bound.rs
macro_path_as_generic_bound.stderr Reword "crate not found" resolve message 2025-01-24 01:19:50 +00:00
macro_rules-unmatchable-literals.rs
macro_rules-unmatchable-literals.stderr
macro_undefined.rs
macro_undefined.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
macro_with_super_2.rs tests: remove //@ pretty-expanded usages 2024-11-26 02:50:48 +08:00
macros-in-extern.rs Update test directives for wasm32-wasip1 2024-03-11 09:36:35 -07:00
macros-in-trait-positions-issue-40845.rs Rename and Move some UI tests to more suitable subdirs 2025-02-04 17:02:37 +05:30
macros-in-trait-positions-issue-40845.stderr Rename and Move some UI tests to more suitable subdirs 2025-02-04 17:02:37 +05:30
macros-nonfatal-errors.rs Remove the -test suffix from normalize directives 2024-12-27 19:58:16 +11:00
macros-nonfatal-errors.stderr Do not suggest using -Zmacro-backtrace for builtin macros 2025-03-14 19:50:03 +00:00
malformed_macro_lhs.rs
malformed_macro_lhs.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
meta-item-absolute-path.rs
meta-item-absolute-path.stderr Reword "crate not found" resolve message 2025-01-24 01:19:50 +00:00
meta-variable-depth-outside-repeat.rs fix tests after s/${length()}/${len()}/ 2024-05-10 12:29:17 -07:00
meta-variable-depth-outside-repeat.stderr fix tests after s/${length()}/${len()}/ 2024-05-10 12:29:17 -07:00
meta-variable-misuse.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
metavar_cross_edition_recursive_macros.rs Stabilize the 2024 edition 2024-11-22 11:12:15 -08:00
missing-bang-in-decl.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
missing-bang-in-decl.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
missing-bang-in-decl.stderr Make impl and ! removal suggestion short 2024-07-12 03:02:57 +00:00
missing-comma.rs Tweak more warnings. 2024-10-28 14:20:28 +11:00
missing-comma.stderr Tweak more warnings. 2024-10-28 14:20:28 +11:00
missing-semi.rs Improve error message: missing ; in macro_rules 2024-05-18 18:56:12 +08:00
missing-semi.stderr Improve error message: missing ; in macro_rules 2024-05-18 18:56:12 +08:00
missing-writer.rs check for write macro and write_fmt with err msg 2023-03-27 21:01:23 -04:00
missing-writer.stderr check for write macro and write_fmt with err msg 2023-03-27 21:01:23 -04:00
module-macro_use-arguments.rs Move 100 entries from tests/ui into subdirs 2024-05-20 19:55:59 -07:00
module-macro_use-arguments.stderr Move 100 entries from tests/ui into subdirs 2024-05-20 19:55:59 -07:00
must-use-in-macro-55516.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
must-use-in-macro-55516.stderr Add help to allow lint for the implied by suggestion 2023-09-04 14:21:38 +02:00
nested-use-as.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
no-close-delim-issue-139248.rs Allow for missing invisible close delim when reparsing an expression. 2025-04-08 12:06:40 +10:00
no-close-delim-issue-139248.stderr Allow for missing invisible close delim when reparsing an expression. 2025-04-08 12:06:40 +10:00
no-patterns-in-args-macro.rs Move 100 entries from tests/ui into subdirs 2024-05-20 19:55:59 -07:00
no-patterns-in-args-macro.stderr Move 100 entries from tests/ui into subdirs 2024-05-20 19:55:59 -07:00
no-std-macros.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
none-delim-lookahead.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
nonterminal-matching.rs Remove NtExpr and NtLiteral. 2025-04-02 06:20:35 +11:00
nonterminal-matching.stderr Remove NtExpr and NtLiteral. 2025-04-02 06:20:35 +11:00
not-utf8.bin
not-utf8.rs compiletest: Require //~ annotations even if error-pattern is specified 2025-04-03 11:08:55 +03:00
not-utf8.stderr compiletest: Require //~ annotations even if error-pattern is specified 2025-04-03 11:08:55 +03:00
out-of-order-shadowing.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
out-of-order-shadowing.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
out-of-scope-calls-false-positives.rs out_of_scope_macro_calls: Detect calls inside attributes more precisely 2024-07-06 15:36:30 +03:00
out-of-scope-macro-calls-lint-registered.rs Ensure out_of_scope_macro_calls lint is registered 2024-07-01 00:25:25 +01:00
panic-temporaries-2018.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
panic-temporaries.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
paren-or-brace-expected.rs add missing test: expected paren or brace in macro 2024-03-18 14:25:50 +02:00
paren-or-brace-expected.stderr add missing test: expected paren or brace in macro 2024-03-18 14:25:50 +02:00
parse-complex-macro-invoc-op.rs tests: remove //@ pretty-expanded usages 2024-11-26 02:50:48 +08:00
paths-in-macro-invocations.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
println-percent-prefix-num-issue-125002.rs Fix println! ICE when parsing percent prefix number 2024-05-18 01:05:56 +00:00
println-percent-prefix-num-issue-125002.stderr Fix println! ICE when parsing percent prefix number 2024-05-18 01:05:56 +00:00
proc_macro.rs Update tests to use new proc-macro header 2024-11-27 07:18:25 -08:00
pub-item-inside-macro.rs tests: remove //@ pretty-expanded usages 2024-11-26 02:50:48 +08:00
pub-method-inside-macro.rs tests: remove //@ pretty-expanded usages 2024-11-26 02:50:48 +08:00
recovery-allowed.rs
recovery-allowed.stderr Show diff suggestion format on verbose replacement 2025-02-10 20:21:39 +00:00
recovery-forbidden.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
remove-repetition-issue-139480.rs suggest: remove redundant $()?around vis fragments 2025-04-11 15:30:00 +08:00
remove-repetition-issue-139480.stderr suggest: remove redundant $()?around vis fragments 2025-04-11 15:30:00 +08:00
reparse-expr-issue-139495.rs Handle a negated literal in eat_token_lit. 2025-04-11 10:57:36 +10:00
reparse-expr-issue-139495.stderr Handle a negated literal in eat_token_lit. 2025-04-11 10:57:36 +10:00
restricted-shadowing-legacy.rs
restricted-shadowing-legacy.stderr
restricted-shadowing-modern.rs
restricted-shadowing-modern.stderr
same-sequence-span.rs Update tests to use new proc-macro header 2024-11-27 07:18:25 -08:00
same-sequence-span.stderr Refactor emitter to better account for unicode chars when trimming 2025-03-07 17:55:08 +00:00
semi-after-macro-ty.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
span-covering-argument-1.rs
span-covering-argument-1.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
std-2024-macros.rs Migrate alloc to Rust 2024 2025-03-11 09:46:34 -07:00
stmt_expr_attr_macro_parse.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
stringify.rs Add {ast,hir,thir}::PatKind::Missing variants. 2025-03-28 09:18:57 +11:00
syntax-error-recovery.rs Remove TokenStream::flattened and InvisibleOrigin::FlattenToken. 2025-04-02 16:16:51 +11:00
syntax-error-recovery.stderr Remove TokenStream::flattened and InvisibleOrigin::FlattenToken. 2025-04-02 16:16:51 +11:00
syntax-extension-cfg.rs compiletest: add enable-by-default check-cfg 2024-05-04 11:30:38 +02:00
syntax-extension-source-utils.rs Remove some unnecessary parens in assert! conditions 2025-02-06 22:28:44 +00:00
trace-macro.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
trace-macro.stderr Add spacing information to delimiters. 2023-12-11 09:36:40 +11:00
trace_faulty_macros.rs Remove NtPat. 2025-02-28 08:36:12 +11:00
trace_faulty_macros.stderr Remove NtPat. 2025-02-28 08:36:12 +11:00
trace_macros-format.rs
trace_macros-format.stderr
try-macro.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
two-macro-use.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
type-macros-hlist.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
type-macros-simple.rs Allow newly added non_local_definitions lint in tests 2024-02-17 13:59:45 +01:00
typeck-macro-interaction-issue-8852.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
unimplemented-macro-panic.rs tests: use needs-subprocess instead of ignore-{wasm32,emscripten,sgx} 2025-01-23 20:51:29 +08:00
unknown-builtin.rs Allow builtin macros to be used more than once. 2025-03-19 14:12:47 +01:00
unknown-builtin.stderr Allow builtin macros to be used more than once. 2025-03-19 14:12:47 +01:00
unreachable-arg.edition_2021.stderr compiletest: Require //~ annotations even if error-pattern is specified 2025-04-03 11:08:55 +03:00
unreachable-arg.rs compiletest: Require //~ annotations even if error-pattern is specified 2025-04-03 11:08:55 +03:00
unreachable-fmt-msg.rs tests: use needs-subprocess instead of ignore-{wasm32,emscripten,sgx} 2025-01-23 20:51:29 +08:00
unreachable-format-arg.rs tests: use needs-subprocess instead of ignore-{wasm32,emscripten,sgx} 2025-01-23 20:51:29 +08:00
unreachable-format-args.edition_2015.stderr compiletest: Require //~ annotations even if error-pattern is specified 2025-04-03 11:08:55 +03:00
unreachable-format-args.rs compiletest: Require //~ annotations even if error-pattern is specified 2025-04-03 11:08:55 +03:00
unreachable-macro-panic.rs tests: use needs-subprocess instead of ignore-{wasm32,emscripten,sgx} 2025-01-23 20:51:29 +08:00
unreachable-static-msg.rs tests: use needs-subprocess instead of ignore-{wasm32,emscripten,sgx} 2025-01-23 20:51:29 +08:00
unreachable.rs tests: use needs-subprocess instead of ignore-{wasm32,emscripten,sgx} 2025-01-23 20:51:29 +08:00
use-macro-self.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
user-defined-macro-rules.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
vec-macro-in-pattern.rs turn rustc_box into an intrinsic 2025-01-03 12:01:31 +01:00
vec-macro-in-pattern.stderr turn rustc_box into an intrinsic 2025-01-03 12:01:31 +01:00