rust/tests/ui/proc-macro
Nicholas Nethercote 1fdabfbebb Avoid double-handling of attributes in `collect_tokens`.
By keeping track of attributes that have been previously processed.

This fixes the `macro-rules-derive-cfg.stdout` test, and is necessary
for #124141 which removes nonterminals.

Also shrink the `SmallVec` inline size used in `IntervalSet`. 2 gives
slightly better perf than 4 now that there's an `IntervalSet` in
`Parser`, which is cloned reasonably often.
2024-08-24 06:57:47 +10:00
..
auxiliary Fix bug in `Parser::look_ahead`. 2024-08-12 13:00:12 +10:00
debug [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
outer [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
pretty-print-hack [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
add-impl.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
allowed-attr-stmt-expr.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
allowed-attr-stmt-expr.stdout Don't insert spaces before most semicolons in `print_tts`. 2024-01-22 20:14:59 +11:00
allowed-signatures.rs Add needs-unwind for proc macro tests 2024-03-25 15:02:55 +00:00
ambiguous-builtin-attrs-test.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
ambiguous-builtin-attrs-test.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
ambiguous-builtin-attrs.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
ambiguous-builtin-attrs.stderr
amputate-span.fixed [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
amputate-span.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
amputate-span.stderr Special-case item attributes in the suggestion output 2023-04-12 22:50:10 +00:00
append-impl.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
attr-args.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
attr-cfg.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
attr-complex-fn.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
attr-complex-fn.stdout Add spacing information to delimiters. 2023-12-11 09:36:40 +11:00
attr-invalid-exprs.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
attr-invalid-exprs.stderr
attr-on-trait.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
attr-stmt-expr-rpass.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
attr-stmt-expr.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
attr-stmt-expr.stderr Bless tests 2024-01-13 12:46:58 -05:00
attr-stmt-expr.stdout Don't insert spaces before most semicolons in `print_tts`. 2024-01-22 20:14:59 +11:00
attribute-after-derive.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
attribute-after-derive.stdout Improve `print_tts` by changing `tokenstream::Spacing`. 2023-12-11 09:19:09 +11:00
attribute-spans-preserved.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
attribute-spans-preserved.stderr
attribute-spans-preserved.stdout Don't insert spaces before most semicolons in `print_tts`. 2024-01-22 20:14:59 +11:00
attribute-with-error.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
attribute-with-error.stderr
attribute.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
attribute.stderr
attributes-included.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
attributes-included.stderr
attributes-on-definitions.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
attributes-on-definitions.stderr
attributes-on-modules-fail.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
attributes-on-modules-fail.stderr Bless tests 2024-01-13 12:46:58 -05:00
attributes-on-modules.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
bad-projection.rs rebase 2024-04-04 02:14:57 +01:00
bad-projection.stderr rebase 2024-04-04 02:14:57 +01:00
bang-macro.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
break-token-spans.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
break-token-spans.stderr Modify primary span label for E0308 2023-01-30 20:12:19 +00:00
call-deprecated.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
call-deprecated.stderr
call-site.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
capture-macro-rules-invoke.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
capture-macro-rules-invoke.stdout Print `token::Interpolated` with token stream pretty printing. 2024-06-05 13:07:32 +10:00
capture-unglued-token.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
capture-unglued-token.stdout Improve `print_tts` by changing `tokenstream::Spacing`. 2023-12-11 09:19:09 +11:00
cfg-eval-fail.rs
cfg-eval-fail.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
cfg-eval-inner.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
cfg-eval-inner.stdout Improve spans on evaluated `cfg_attr`s. 2024-07-24 21:03:52 +10:00
cfg-eval.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
cfg-eval.stdout Improve spans on evaluated `cfg_attr`s. 2024-07-24 21:03:52 +10:00
count_compound_ops.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
crate-attrs-multiple.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
crate-var.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
crt-static.rs Add needs-unwind for proc macro tests 2024-03-25 15:02:55 +00:00
custom-attr-only-one-derive.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
custom-attr-panic.rs add test for panicking attribute macros 2024-02-18 22:51:19 +02:00
custom-attr-panic.stderr add test for panicking attribute macros 2024-02-18 22:51:19 +02:00
define-two.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
define-two.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
derive-attr-cfg.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
derive-b.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
derive-bad.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
derive-bad.stderr Fix typos in compiler 2023-04-10 22:02:52 +02:00
derive-expand-order.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
derive-expand-order.stdout
derive-helper-configured.rs Further cleanup cfgs in the UI test suite 2024-04-09 23:58:18 +02:00
derive-helper-legacy-limits.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
derive-helper-legacy-limits.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
derive-helper-legacy-spurious.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
derive-helper-legacy-spurious.stderr Supress unhelpful diagnostics for unresolved top level attributes 2024-01-29 17:43:07 +08:00
derive-helper-shadowed.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
derive-helper-shadowing-2.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
derive-helper-shadowing.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
derive-helper-shadowing.stderr resolve: Remove artificial import ambiguity errors 2023-06-29 13:42:58 +03:00
derive-helper-vs-legacy.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
derive-in-mod.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
derive-multiple-with-packed.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
derive-same-struct.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
derive-same-struct.stdout Improve `print_tts` by changing `tokenstream::Spacing`. 2023-12-11 09:19:09 +11:00
derive-still-gated.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
derive-still-gated.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
derive-test.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
derive-two-attrs.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
derive-union.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
disappearing-resolution.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
disappearing-resolution.stderr Structured `use` suggestion on privacy error 2023-12-04 22:26:08 +00:00
doc-comment-preserved.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
doc-comment-preserved.stdout Don't insert spaces before most semicolons in `print_tts`. 2024-01-22 20:14:59 +11:00
dollar-crate-issue-57089.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
dollar-crate-issue-57089.stdout Don't insert spaces before most semicolons in `print_tts`. 2024-01-22 20:14:59 +11:00
dollar-crate-issue-62325.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
dollar-crate-issue-62325.stdout Don't insert spaces before most semicolons in `print_tts`. 2024-01-22 20:14:59 +11:00
dollar-crate-issue-101211.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
dollar-crate.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
dollar-crate.stdout Don't insert spaces before most semicolons in `print_tts`. 2024-01-22 20:14:59 +11:00
edition-gated-async-move-syntax-issue89699.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
edition-gated-async-move-syntax-issue89699.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
edition-imports-2018.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
empty-crate.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
empty-where-clause.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
empty-where-clause.stderr
env.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
expand-expr.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
expand-expr.stderr macro_rules: Less hacky heuristic for using `tt` metavariable spans 2024-01-04 03:53:56 +03:00
expand-to-derive.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
expand-to-derive.stdout Improve spans on evaluated `cfg_attr`s. 2024-07-24 21:03:52 +10:00
expand-to-unstable.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
expand-to-unstable.stderr Bless tests 2024-01-13 12:46:58 -05:00
expand-with-a-macro.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
export-macro.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
export-macro.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
exports.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
exports.stderr
expr-stmt-nonterminal-tokens.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
expr-stmt-nonterminal-tokens.stdout Change how `parse_expr_force_collect` works. 2024-06-19 19:15:06 +10:00
extern-prelude-extern-crate-proc-macro.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
gen-lifetime-token.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
gen-macro-rules-hygiene.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
gen-macro-rules-hygiene.stderr
gen-macro-rules.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
generate-dollar-ident.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
generate-mod.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
generate-mod.stderr Do not point at `#[allow(_)]` as the reason for compat lint triggering 2024-02-13 20:27:43 +00:00
helper-attr-blocked-by-import-ambig.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
helper-attr-blocked-by-import-ambig.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
helper-attr-blocked-by-import.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
hygiene_example.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
illegal-proc-macro-derive-use.rs
illegal-proc-macro-derive-use.stderr
import.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
import.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
inert-attribute-order.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
inert-attribute-order.stdout Don't insert spaces before most semicolons in `print_tts`. 2024-01-22 20:14:59 +11:00
inner-attr-non-inline-mod.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
inner-attr-non-inline-mod.stderr Bless tests 2024-01-13 12:46:58 -05:00
inner-attr-non-inline-mod.stdout Improve `print_tts` by changing `tokenstream::Spacing`. 2023-12-11 09:19:09 +11:00
inner-attrs.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
inner-attrs.stderr Switch from using `//~ERROR` annotations with `--error-format` to `error-pattern` 2023-12-21 16:45:29 +05:30
inner-attrs.stdout Improve spans on evaluated `cfg_attr`s. 2024-07-24 21:03:52 +10:00
input-interpolated.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
input-interpolated.stdout [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
invalid-attributes.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
invalid-attributes.stderr
invalid-punct-ident-1.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
invalid-punct-ident-1.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
invalid-punct-ident-2.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
invalid-punct-ident-2.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
invalid-punct-ident-3.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
invalid-punct-ident-3.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
invalid-punct-ident-4.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
invalid-punct-ident-4.stderr
is-available.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
issue-36935.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
issue-36935.stderr
issue-37788.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
issue-37788.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-38586.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
issue-38586.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-39889.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
issue-42708.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
issue-50061.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
issue-50493.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
issue-50493.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-53481.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
issue-59191-replace-root-with-fn.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
issue-59191-replace-root-with-fn.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-66286.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
issue-66286.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-73933-procedural-masquerade.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
issue-73933-procedural-masquerade.stdout [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
issue-75734-pp-paren.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
issue-75734-pp-paren.stdout Don't insert spaces before most semicolons in `print_tts`. 2024-01-22 20:14:59 +11:00
issue-75801.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
issue-75801.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-75930-derive-cfg.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
issue-75930-derive-cfg.stderr Switch from using `//~ERROR` annotations with `--error-format` to `error-pattern` 2023-12-21 16:45:29 +05:30
issue-75930-derive-cfg.stdout Improve spans on evaluated `cfg_attr`s. 2024-07-24 21:03:52 +10:00
issue-76182-leading-vert-pat.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
issue-76182-leading-vert-pat.stdout Fix some cases in `space_between`. 2024-01-22 20:19:17 +11:00
issue-76270-panic-in-libproc-macro.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
issue-76270-panic-in-libproc-macro.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-78675-captured-inner-attrs.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
issue-78675-captured-inner-attrs.stdout Print `token::Interpolated` with token stream pretty printing. 2024-06-05 13:07:32 +10:00
issue-79148.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
issue-79148.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-79242-slow-retokenize-check.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
issue-79825.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
issue-80760-empty-stmt.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
issue-80760-empty-stmt.stdout Hide `compiler_builtins` in the prelude 2023-07-14 16:53:36 +01:00
issue-81007-item-attrs.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
issue-81007-item-attrs.stdout
issue-81543-item-parse-err.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
issue-81543-item-parse-err.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-81555.rs Revert "Rollup merge of #124099 - voidc:disallow-ambiguous-expr-attrs, r=davidtwco" 2024-06-06 20:39:54 +00:00
issue-83469-global-alloc-invalid-stmt.rs
issue-83469-global-alloc-invalid-stmt.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-83510.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
issue-83510.stderr Bless tests 2024-01-13 12:46:58 -05:00
issue-86781-bad-inner-doc.fixed [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
issue-86781-bad-inner-doc.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
issue-86781-bad-inner-doc.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-89566-suggest-fix-invalid-top-level-macro-attr.fixed [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
issue-89566-suggest-fix-invalid-top-level-macro-attr.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
issue-89566-suggest-fix-invalid-top-level-macro-attr.stderr Update tests 2024-02-07 10:42:01 +08:00
issue-91800.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
issue-91800.stderr Fix typos in compiler 2023-04-10 22:02:52 +02:00
issue-104884-trait-impl-sugg-err.rs Be more lax in `.into_iter()` suggestion when encountering `Iterator` methods on non-`Iterator` 2024-03-03 18:53:36 +00:00
issue-104884-trait-impl-sugg-err.stderr Be more lax in `.into_iter()` suggestion when encountering `Iterator` methods on non-`Iterator` 2024-03-03 18:53:36 +00:00
issue-107113-wrap.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
issue-107113-wrap.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-118455-skip-err-builtin.rs Supress unhelpful diagnostics for unresolved top level attributes 2024-01-29 17:43:07 +08:00
issue-118455-skip-err-builtin.stderr Supress unhelpful diagnostics for unresolved top level attributes 2024-01-29 17:43:07 +08:00
issue-118809.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
issue-118809.stderr Add test for the issue 2024-02-11 02:43:44 +09:00
item-error.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
item-error.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
keep-expr-tokens.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
keep-expr-tokens.stderr
keep-expr-tokens.stdout Don't insert spaces before most semicolons in `print_tts`. 2024-01-22 20:14:59 +11:00
lifetimes-rpass.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
lifetimes.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
lifetimes.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
lints_in_proc_macros.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
lints_in_proc_macros.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
literal-to-string.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
literal-to-string.stdout [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
load-panic-backtrace.rs Always use a colon in `//@ normalize-*:` headers 2024-07-11 12:23:44 +10:00
load-panic-backtrace.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
load-panic.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
load-panic.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
load-two.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
macro-brackets.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
macro-brackets.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
macro-crate-multi-decorator.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
macro-namespace-reserved-2.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
macro-namespace-reserved-2.stderr Add a note to duplicate diagnostics 2023-10-05 01:04:41 +00:00
macro-namespace-reserved.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
macro-namespace-reserved.stderr
macro-quote-cond.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
macro-rules-derive-cfg.rs Tweak `tests/ui/proc-macro/macro-rules-derive-cfg.rs`. 2024-08-23 14:42:59 +10:00
macro-rules-derive-cfg.stdout Avoid double-handling of attributes in `collect_tokens`. 2024-08-24 06:57:47 +10:00
macro-rules-derive.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
macro-rules-derive.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
macro-use-attr.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
macro-use-bang.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
macros-in-extern-derive.rs
macros-in-extern-derive.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
macros-in-extern.rs Update test directives for `wasm32-wasip1` 2024-03-11 09:36:35 -07:00
macros-in-type.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
meta-delim.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
meta-macro-hygiene.rs Always use a colon in `//@ normalize-*:` headers 2024-07-11 12:23:44 +10:00
meta-macro-hygiene.stdout Always use a colon in `//@ normalize-*:` headers 2024-07-11 12:23:44 +10:00
meta-macro.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
meta-macro.stdout Hide `compiler_builtins` in the prelude 2023-07-14 16:53:36 +01:00
mixed-site-span.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
mixed-site-span.stderr
modify-ast.rs Unify all the always-false cfgs under the `FALSE` cfg 2024-04-07 01:16:45 +02:00
module.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
module_with_attrs.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
multispan.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
multispan.stderr
negative-token.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
nested-derive-cfg.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
nested-derive-cfg.stdout Don't insert spaces before most semicolons in `print_tts`. 2024-01-22 20:14:59 +11:00
nested-item-spans.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
nested-item-spans.stderr
nested-macro-rules.rs Temporarily make allow-by-default the non_local_definitions lint 2024-03-06 22:24:25 +01:00
nested-macro-rules.stderr non_local_defs: improve exception note for impl and macro_rules! 2024-05-27 23:59:18 +02:00
nested-macro-rules.stdout Temporarily make allow-by-default the non_local_definitions lint 2024-03-06 22:24:25 +01:00
nested-nonterminal-tokens.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
nested-nonterminal-tokens.stdout Hide `compiler_builtins` in the prelude 2023-07-14 16:53:36 +01:00
no-macro-use-attr.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
no-macro-use-attr.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
no-mangle-in-proc-macro-issue-111888.rs Add needs-unwind for proc macro tests 2024-03-25 15:02:55 +00:00
no-missing-docs.rs Add needs-unwind for proc macro tests 2024-03-25 15:02:55 +00:00
nodelim-groups.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
nodelim-groups.stdout Hide `compiler_builtins` in the prelude 2023-07-14 16:53:36 +01:00
non-root.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
non-root.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
nonterminal-expansion.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
nonterminal-expansion.stdout Improve `print_tts` by changing `tokenstream::Spacing`. 2023-12-11 09:19:09 +11:00
nonterminal-recollect-attr.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
nonterminal-recollect-attr.stdout Hide `compiler_builtins` in the prelude 2023-07-14 16:53:36 +01:00
nonterminal-token-hygiene.rs Always use a colon in `//@ normalize-*:` headers 2024-07-11 12:23:44 +10:00
nonterminal-token-hygiene.stdout Always use a colon in `//@ normalize-*:` headers 2024-07-11 12:23:44 +10:00
not-joint.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
out-of-line-mod.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
panic-abort.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
panic-abort.stderr Warn when using panic-strategy abort for proc-macro crates 2023-01-13 10:13:49 +01:00
parent-source-spans.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
parent-source-spans.stderr
parse-invis-delim-issue-128895.rs Fix bug in `Parser::look_ahead`. 2024-08-12 13:00:12 +10:00
pretty-print-hack-hide.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
pretty-print-hack-hide.stdout
pretty-print-hack-show.local.stderr Convert `proc_macro_back_compat` lint to an unconditional error. 2024-05-28 08:15:15 +10:00
pretty-print-hack-show.remapped.stderr Convert `proc_macro_back_compat` lint to an unconditional error. 2024-05-28 08:15:15 +10:00
pretty-print-hack-show.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
pretty-print-tts.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
pretty-print-tts.stdout Don't insert spaces before most semicolons in `print_tts`. 2024-01-22 20:14:59 +11:00
proc-macro-abi.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
proc-macro-abi.stderr Simplify proc macro signature validity check 2023-03-14 19:05:21 +00:00
proc-macro-attributes.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
proc-macro-attributes.stderr
proc-macro-deprecated-attr.rs Add needs-unwind for proc macro tests 2024-03-25 15:02:55 +00:00
proc-macro-gates.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
proc-macro-gates.stderr Bless tests 2024-01-13 12:46:58 -05:00
proc-macro-gates2.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
proc-macro-gates2.stderr
pub-at-crate-root.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
pub-at-crate-root.stderr
quote-debug.rs Add needs-unwind for proc macro tests 2024-03-25 15:02:55 +00:00
quote-debug.stdout Add needs-unwind for proc macro tests 2024-03-25 15:02:55 +00:00
raw-ident.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
raw-ident.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
reserved-macro-names.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
reserved-macro-names.stderr
resolve-error.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
resolve-error.stderr Add a note to duplicate diagnostics 2023-10-05 01:04:41 +00:00
resolved-located-at.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
resolved-located-at.stderr Point to where missing return type should go 2023-10-04 21:09:54 +00:00
shadow.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
shadow.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
signature-proc-macro-attribute.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
signature-proc-macro-attribute.stderr Tighter spans 2023-03-14 19:12:42 +00:00
signature-proc-macro-derive.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
signature-proc-macro-derive.stderr Tighter spans 2023-03-14 19:12:42 +00:00
signature-proc-macro.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
signature-proc-macro.stderr Tighter spans 2023-03-14 19:12:42 +00:00
signature.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
signature.stderr Rename Unsafe to Safety 2024-05-17 18:33:37 -03:00
smoke.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
span-absolute-posititions.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
span-absolute-posititions.stderr
span-api-tests.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
span-from-proc-macro.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
span-from-proc-macro.stderr
span-preservation.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
span-preservation.stderr Point to where missing return type should go 2023-10-04 21:09:54 +00:00
struct-field-macro.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
subspan.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
subspan.stderr
test-same-crate.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
test-same-crate.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
test.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
three-equals.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
three-equals.stderr
trailing-plus.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
trailing-plus.stdout Improve `print_tts` by changing `tokenstream::Spacing`. 2023-12-11 09:19:09 +11:00
trait-fn-args-2015.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
two-crate-types-1.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
two-crate-types-1.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
two-crate-types-2.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
two-crate-types-2.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
unsafe-foreign-mod.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
unsafe-mod.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
visibility-path.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
visibility-path.stderr
weird-braces.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
weird-braces.stdout Add spacing information to delimiters. 2023-12-11 09:36:40 +11:00
weird-hygiene.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
weird-hygiene.stderr