rust/tests/ui/macros
bors 4e97337005 Auto merge of #142030 - oli-obk:wfck-less-hir, r=compiler-errors
Start moving wf checking away from HIR

I'm trying to only access the HIR in the error path. My hope is that once we move significant portions of wfcheck off HIR that incremental will be able to cache wfcheck queries significantly better.

I think I am reaching a blocker because we normally need to provide good spans to `ObligationCause`, so that the trait solver can report good errors. In some cases I have been able to use bad spans and improve them depending on the `ObligationCauseCode` (by loading HIR in the case where we actually want to error). To scale that further we'll likely need to remove spans from the `ObligationCause` entirely (leaving it to some variants of `ObligationCauseCode` to have a span when they can't recompute the information later). Unsure this is the right approach, but we've already been using it. I will create an MCP about it, but that should not affect this PR, which is fairly limited in where it does those kind of tricks.

Especially b862d8828e is interesting here, because I think it improves spans in all cases
2025-07-01 14:59:58 +00:00
..
auxiliary Detect when attribute is provided by missing derive macro 2025-06-12 21:28:49 +00: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 Rollup merge of #143245 - tgross35:metavariable-expr-organization, r=petrochenkov 2025-07-01 04:25:36 +02:00
metavar-expressions mbe: Extend metavariable expression tests 2025-06-30 19:02:36 +00:00
rfc-2011-nicer-assert-messages Improve pretty printing of if/else. 2025-04-25 14:33:16 +10:00
syntax-extension-source-utils-files Move /src/test to /tests 2023-01-11 09:32:08 +00:00
ambiguity-legacy-vs-modern.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
ambiguity-legacy-vs-modern.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
assert.without-generic-asset.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
attr-empty-expr.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
attr-empty-expr.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
attr-from-macro.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
bad-concat.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
bad-concat.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
bad_hello.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
bad_hello.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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
borrowck-error-in-macro.rs add fixme to improve error matching 2025-06-02 14:22:14 +02:00
borrowck-error-in-macro.stderr add fixme to improve error matching 2025-06-02 14:22:14 +02: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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Improve diagnostics for concat_bytes! with C string literals 2025-06-19 16:13:20 +00:00
concat-bytes-error.stderr Improve diagnostics for concat_bytes! with C string literals 2025-06-19 16:13:20 +00: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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
empty-trailing-stmt.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Bless/update tests. 2025-06-18 10:20:43 +02:00
format-args-temporaries.rs Replace elided_named_lifetimes with mismatched_lifetime_syntaxes 2025-06-04 10:40:04 -04: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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
format-foreign.stderr Show diff suggestion format on verbose replacement 2025-02-10 20:21:39 +00:00
format-parse-errors.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
format-parse-errors.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
format-unused-lables.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
format-unused-lables.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 make error codes reflect reality better 2025-06-17 23:22:51 +02:00
global-asm.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
global-asm.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
html-literals.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
ice-in-tokenstream-for-contracts-issue-140683.rs Fix ICE in tokenstream with contracts from parser recovery 2025-05-28 09:35:10 +08:00
ice-in-tokenstream-for-contracts-issue-140683.stderr Fix ICE in tokenstream with contracts from parser recovery 2025-05-28 09:35:10 +08: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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-10536.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-25385.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 compiletest: Make diagnostic kind mandatory on line annotations 2025-04-30 10:44:24 +03:00
issue-29084.stderr compiletest: Make diagnostic kind mandatory on line annotations 2025-04-30 10:44:24 +03: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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-30143.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-34421-mac-expr-bad-stmt-good-add-semi.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-35450.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-38715.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-39388.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-39388.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-39404.rs Make missing_fragment_specifier an unconditional error 2025-06-12 07:57:12 +00:00
issue-39404.stderr Make missing_fragment_specifier an unconditional error 2025-06-12 07:57:12 +00: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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-58490.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-58490.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-61033-1.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-61033-1.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-61033-2.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-61033-2.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-61053-different-kleene.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-61053-different-kleene.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-61053-duplicate-binder.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-61053-unbound.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-86865.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-104769-concat_bytes-invalid-literal.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-105011.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Report infer ty errors during hir ty lowering 2025-06-27 07:51:38 +00:00
issue-118048.stderr Report infer ty errors during hir ty lowering 2025-06-27 07:51:38 +00:00
issue-118786.rs compiletest: Make diagnostic kind mandatory on line annotations 2025-04-30 10:44:24 +03:00
issue-118786.stderr compiletest: Make diagnostic kind mandatory on line annotations 2025-04-30 10:44:24 +03: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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
local-ambiguity-multiple-parsing-options.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
macro-backtrace-nested.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
macro-backtrace-println.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
macro-comma-support-rpass.rs Remove the deprecated concat_idents! macro 2025-06-24 11:07:16 +00:00
macro-comma-support.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
macro-comma-support.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
macro-expansion-tests.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
macro-follow.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
macro-followed-by-seq-bad.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
macro-followed-by-seq-bad.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
macro-input-future-proofing.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 mbe: Clean up code with non-optional NonterminalKind 2025-06-24 04:37:36 -04:00
macro-match-nonterminal.stderr mbe: Clean up code with non-optional NonterminalKind 2025-06-24 04:37:36 -04: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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 mbe: Clean up code with non-optional NonterminalKind 2025-06-24 04:37:36 -04:00
macro-missing-fragment-deduplication.stderr mbe: Clean up code with non-optional NonterminalKind 2025-06-24 04:37:36 -04:00
macro-missing-fragment.rs mbe: Clean up code with non-optional NonterminalKind 2025-06-24 04:37:36 -04:00
macro-missing-fragment.stderr mbe: Clean up code with non-optional NonterminalKind 2025-06-24 04:37:36 -04: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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
macro-multiple-matcher-bindings.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
macro-name-typo.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
macro-path-prelude-fail-1.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
macro-path-prelude-fail-1.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
macro-path-prelude-fail-2.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Use non-2015 edition paths in tests that do not test for their resolution 2025-06-03 13:35:31 +02: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 Don't include current rustc version string in feature removed help 2025-06-24 23:32:09 +08:00
macro-reexport-removed.stderr Don't include current rustc version string in feature removed help 2025-06-24 23:32:09 +08:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
macro-span-issue-116502.rs Report infer ty errors during hir ty lowering 2025-06-27 07:51:38 +00:00
macro-span-issue-116502.stderr Unconditionally run check_item_type on all items 2025-06-30 08:06:08 +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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
macro_rules-unmatchable-literals.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
macro_undefined.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 deprecated concat_idents! macro 2025-06-24 11:07:16 +00:00
macros-nonfatal-errors.stderr Remove the deprecated concat_idents! macro 2025-06-24 11:07:16 +00:00
malformed_macro_lhs.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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-derive-1.rs Detect when attribute is provided by missing derive macro 2025-06-12 21:28:49 +00:00
missing-derive-1.stderr Detect when attribute is provided by missing derive macro 2025-06-12 21:28:49 +00:00
missing-derive-2.rs Detect when attribute is provided by missing derive macro 2025-06-12 21:28:49 +00:00
missing-derive-2.stderr Detect when attribute is provided by missing derive macro 2025-06-12 21:28:49 +00:00
missing-derive-3.rs Detect when attribute is provided by missing derive macro 2025-06-12 21:28:49 +00:00
missing-derive-3.stderr Detect when attribute is provided by missing derive macro 2025-06-12 21:28:49 +00: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-issue-139830.rs Don't suggest changing a method inside a expansion 2025-06-22 17:08:54 +02:00
missing-writer-issue-139830.stderr Don't suggest changing a method inside a expansion 2025-06-22 17:08:54 +02: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 Avoid extra path trimming in method not found error 2025-05-24 23:31:07 +02: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 Bless tests/ui/macros/must-use-in-macro-55516.rs 2025-06-25 23:58:57 +02:00
nested-macro-expansion.rs cleaned up some tests 2025-06-11 17:49:03 +05: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 Fix ICE in tokenstream with contracts from parser recovery 2025-05-28 09:35:10 +08:00
no-close-delim-issue-139248.stderr Fix ICE in tokenstream with contracts from parser recovery 2025-05-28 09:35:10 +08:00
no-matching-rule.rs Cleaned up 5 tests in tests/ui 2025-04-25 20:50:57 +09:00
no-matching-rule.stderr Cleaned up 5 tests in tests/ui 2025-04-25 20:50:57 +09: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
non-fmt-panic.fixed Move some tests out of tests/ui 2025-05-03 17:22:52 +02:00
non-fmt-panic.rs Move some tests out of tests/ui 2025-05-03 17:22:52 +02:00
non-fmt-panic.stderr Move some tests out of tests/ui 2025-05-03 17:22:52 +02: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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Use non-2015 edition paths in tests that do not test for their resolution 2025-06-03 13:35:31 +02: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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 another negated literal in eat_token_lit. 2025-04-22 15:08:32 +10:00
reparse-expr-issue-139495.stderr Handle another negated literal in eat_token_lit. 2025-04-22 15:08:32 +10:00
restricted-shadowing-legacy.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
restricted-shadowing-legacy.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
restricted-shadowing-modern.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
restricted-shadowing-modern.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
return_from_external_macro.rs Don't refer to 'local binding' in extern macro. 2025-06-04 15:07:47 +02:00
return_from_external_macro.stderr Don't refer to 'local binding' in extern macro. 2025-06-04 15:07:47 +02:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Change const trait bound syntax from ~const to [const] 2025-06-26 13:46:45 +00: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 Improve pretty-printing of braces. 2025-04-29 13:46:17 +10:00
trace_macros-format.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
trace_macros-format.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
try-macro.rs Add missing 2015 edition directives 2025-06-03 11:45:58 +02: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