rust/tests/ui/macros
dianne d7d6238b23 use backticks instead of single quotes when reporting "use of unstable library feature"
This is consistent with all other diagnostics I could find containing
features and enables the use of `DiagSymbolList` for generalizing
diagnostics for unstable library features to multiple features.
2024-11-03 13:55:52 -08:00
..
auxiliary Add coverage for pat too 2024-09-17 11:08:52 -07:00
issue-69838-dir
macro-expanded-include
macro-metavar-expr-concat
rfc-2011-nicer-assert-messages
rfc-3086-metavar-expr
syntax-extension-source-utils-files
ambiguity-legacy-vs-modern.rs
ambiguity-legacy-vs-modern.stderr
assert-as-macro.rs
assert-eq-macro-msg.rs
assert-eq-macro-panic.rs
assert-eq-macro-success.rs
assert-eq-macro-unsized.rs
assert-format-lazy.rs
assert-long-condition.rs
assert-long-condition.run.stderr
assert-macro-explicit.rs
assert-macro-fmt.rs
assert-macro-owned.rs
assert-macro-static.rs
assert-matches-macro-msg.rs
assert-ne-macro-msg.rs
assert-ne-macro-panic.rs
assert-ne-macro-success.rs
assert-ne-macro-unsized.rs
assert-trailing-junk.rs
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
assert.with-generic-asset.stderr
assert.without-generic-asset.stderr
attr-empty-expr.rs
attr-empty-expr.stderr
attr-from-macro.rs
bad_hello.rs
bad_hello.stderr
bad-concat.rs
bad-concat.stderr
bang-after-name.fixed
bang-after-name.rs
bang-after-name.stderr
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
break-last-token-twice.rs
builtin-env-issue-114010.rs
builtin-env-issue-114010.stderr
builtin-prelude-no-accidents.rs
builtin-prelude-no-accidents.stderr
builtin-std-paths-fail.rs
builtin-std-paths-fail.stderr
builtin-std-paths.rs
cfg.rs
cfg.stderr
colorful-write-macros.rs
compile_error_macro.rs Move 100 entries from tests/ui into subdirs 2024-05-20 19:55:59 -07:00
compile_error_macro.stderr
concat-bytes-error.rs
concat-bytes-error.stderr
concat-bytes.rs
concat-rpass.rs
concat.rs
concat.stderr
conditional-debug-macro-on.rs
cross-crate-pat-span.rs
defined-later-issue-121061-2.rs
defined-later-issue-121061-2.stderr
defined-later-issue-121061.rs
defined-later-issue-121061.stderr
derive-in-eager-expansion-hang.rs
derive-in-eager-expansion-hang.stderr
die-macro-2.rs
die-macro-expr.rs
die-macro-pure.rs
die-macro.rs
doc-comment.rs
dollar-crate-nested-encoding.rs
duplicate-builtin.rs
duplicate-builtin.stderr
edition-macro-pats.rs
empty-trailing-stmt.rs
empty-trailing-stmt.stderr
expand-full-asm.rs
expand-full-in-format-str.rs
expand-full-no-resolution.rs
expand-full-no-resolution.stderr
expr_2021_cargo_fix_edition.fixed Stabilize expr_2021 fragment in all editions 2024-10-01 07:51:58 +00:00
expr_2021_cargo_fix_edition.rs
expr_2021_cargo_fix_edition.stderr
expr_2021_implicit_in_2024.rs
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 Tweak more warnings. 2024-10-28 14:20:28 +11:00
expr_2021.rs
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 Tweak more warnings. 2024-10-28 14:20:28 +11:00
format-args-temporaries-async.rs
format-args-temporaries-in-write.rs
format-args-temporaries-in-write.stderr
format-args-temporaries.rs
format-empty-block-unit-tuple-suggestion-130170.fixed
format-empty-block-unit-tuple-suggestion-130170.rs
format-empty-block-unit-tuple-suggestion-130170.stderr Special treatment empty tuple when suggest adding a string literal in format macro. 2024-10-14 10:07:57 +08:00
format-foreign.rs
format-foreign.stderr
format-parse-errors.rs
format-parse-errors.stderr
format-unused-lables.rs
format-unused-lables.stderr
genercs-in-path-with-prettry-hir.rs
genercs-in-path-with-prettry-hir.stderr
genercs-in-path-with-prettry-hir.stdout
global-asm.rs
global-asm.stderr
html-literals.rs
include-single-expr-helper-1.rs
include-single-expr-helper.rs
include-single-expr.rs
include-single-expr.stderr
invalid-fragment-specifier.rs
invalid-fragment-specifier.stderr
issue-2804-2.rs
issue-2804.rs
issue-5060.rs
issue-6596-1.rs
issue-6596-1.stderr
issue-6596-2.rs
issue-6596-2.stderr
issue-8709.rs
issue-8851.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-10536.rs
issue-10536.stderr
issue-11692-1.rs
issue-11692-1.stderr
issue-11692-2.rs
issue-11692-2.stderr Move some tests 2024-04-21 15:43:43 -03:00
issue-16098.rs
issue-16098.stderr
issue-19163.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-19163.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-21356.rs
issue-21356.stderr
issue-22463.rs
issue-25274.rs
issue-25385.rs
issue-25385.stderr
issue-26094.rs
issue-26094.stderr
issue-26322.rs
issue-29084.rs
issue-29084.stderr
issue-30007.rs Tweak expand_incomplete_parse warning. 2024-10-28 14:12:45 +11:00
issue-30007.stderr
issue-30143.rs
issue-30143.stderr
issue-33185.rs
issue-34171.rs
issue-34421-mac-expr-bad-stmt-good-add-semi.rs
issue-34421-mac-expr-bad-stmt-good-add-semi.stderr
issue-35450.rs
issue-35450.stderr
issue-37175.rs
issue-38715.rs
issue-38715.stderr
issue-39388.rs
issue-39388.stderr
issue-39404.rs
issue-39404.stderr
issue-39467.rs
issue-40469.rs
issue-40770.rs
issue-41776.rs
issue-41776.stderr
issue-41803.rs
issue-42954.fixed
issue-42954.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00: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
issue-46438.stderr
issue-51848.rs
issue-51848.stderr
issue-52169.rs
issue-54441.rs
issue-54441.stderr Tweak expand_incomplete_parse warning. 2024-10-28 14:12:45 +11:00
issue-57597.rs
issue-57597.stderr
issue-58490.rs
issue-58490.stderr
issue-61033-1.rs
issue-61033-1.stderr
issue-61033-2.rs
issue-61033-2.stderr
issue-61053-different-kleene.rs
issue-61053-different-kleene.stderr
issue-61053-duplicate-binder.rs
issue-61053-duplicate-binder.stderr
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
issue-61053-unbound.rs
issue-61053-unbound.stderr
issue-63102.rs
issue-68058.rs
issue-68060.rs
issue-68060.stderr
issue-69396-const-no-type-in-macro.rs
issue-69396-const-no-type-in-macro.stderr
issue-69838-mods-relative-to-included-path.rs
issue-70446.rs
issue-75982-foreign-macro-weird-mod.rs
issue-77475.rs
issue-78325-inconsistent-resolution.rs
issue-78325-inconsistent-resolution.stderr
issue-78333.rs
issue-78892-substitution-in-statement-attr.rs
issue-81006.rs
issue-81006.stderr
issue-83340.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-83340.stderr
issue-83344.rs
issue-83344.stderr
issue-84195-lint-anon-const.rs
issue-84195-lint-anon-const.stderr
issue-84429-matches-edition.rs
issue-84632-eager-expansion-recursion-limit.rs
issue-84632-eager-expansion-recursion-limit.stderr
issue-86082-option-env-invalid-char.rs
issue-86865.rs
issue-86865.stderr
issue-87877.rs
issue-88206.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-88206.stderr
issue-88228.rs
issue-88228.stderr Tweak privacy errors to account for reachable items 2023-06-22 16:50:31 +00:00
issue-92267.rs
issue-92267.stderr
issue-95267.rs
issue-95533.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-98466-allow.rs
issue-98466.fixed
issue-98466.rs
issue-98466.stderr
issue-99261.rs
issue-99265.fixed
issue-99265.rs
issue-99265.stderr
issue-99907.fixed
issue-99907.rs
issue-99907.stderr
issue-100199.rs
issue-100199.stderr
issue-102878.rs
issue-102878.stderr
issue-103529.rs
issue-103529.stderr
issue-104769-concat_bytes-invalid-literal.rs
issue-104769-concat_bytes-invalid-literal.stderr
issue-105011.rs
issue-105011.stderr
issue-106837.rs
issue-106837.stderr
issue-109237.rs
issue-109237.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-111749.rs
issue-111749.stderr
issue-112342-1.rs
issue-112342-1.stderr
issue-112342-2.rs
issue-112342-2.stderr
issue-118048.rs
issue-118048.stderr
issue-118786.rs
issue-118786.stderr
lint-trailing-macro-call.rs
lint-trailing-macro-call.stderr
local-ambiguity-multiple-parsing-options.rs
local-ambiguity-multiple-parsing-options.stderr
log_syntax-trace_macros-macro-locations.rs
log_syntax-trace_macros-macro-locations.stdout
macro_path_as_generic_bound.rs
macro_path_as_generic_bound.stderr
macro_rules-unmatchable-literals.rs
macro_rules-unmatchable-literals.stderr
macro_undefined.rs
macro_undefined.stderr
macro_with_super_2.rs
macro-2.rs
macro-as-fn-body.rs
macro-at-most-once-rep-2015-rpass.rs
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
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
macro-attribute.rs
macro-attribute.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
macro-attributes.rs Unify all the always-false cfgs under the FALSE cfg 2024-04-07 01:16:45 +02:00
macro-backtrace-invalid-internals.rs
macro-backtrace-invalid-internals.stderr
macro-backtrace-nested.rs
macro-backtrace-nested.stderr
macro-backtrace-println.rs
macro-backtrace-println.stderr
macro-block-nonterminal.rs
macro-comma-behavior-rpass.rs
macro-comma-behavior.core.stderr
macro-comma-behavior.rs
macro-comma-behavior.std.stderr
macro-comma-support-rpass.rs
macro-comma-support.rs
macro-comma-support.stderr
macro-context.rs
macro-context.stderr
macro-crate-def-only.rs
macro-crate-nonterminal-non-root.rs
macro-crate-nonterminal-non-root.stderr
macro-crate-nonterminal-renamed.rs
macro-crate-nonterminal.rs
macro-crate-use.rs
macro-deep_expansion.rs
macro-def-site-super.rs
macro-delimiter-significance.rs
macro-deprecation.rs
macro-deprecation.stderr
macro-doc-comments.rs
macro-doc-escapes.rs
macro-doc-raw-str-hashes.rs
macro-error.rs
macro-error.stderr
macro-expand-within-generics-in-path.rs
macro-expand-within-generics-in-path.stderr ignore generics args in attribute paths 2024-05-11 00:13:27 +08:00
macro-expansion-tests.rs
macro-expansion-tests.stderr
macro-export-inner-module.rs
macro-first-set.rs
macro-follow-rpass.rs
macro-follow.rs
macro-follow.stderr
macro-followed-by-seq-bad.rs
macro-followed-by-seq-bad.stderr
macro-followed-by-seq.rs
macro-in-expression-context-2.rs
macro-in-expression-context-2.stderr
macro-in-expression-context.fixed
macro-in-expression-context.rs Tweak expand_incomplete_parse warning. 2024-10-28 14:12:45 +11:00
macro-in-expression-context.stderr
macro-in-fn.rs
macro-include-items.rs
macro-inner-attributes.rs
macro-inner-attributes.stderr
macro-input-future-proofing.rs
macro-input-future-proofing.stderr
macro-interpolation.rs
macro-interpolation.stderr
macro-invocation-in-count-expr-fixed-array-type.rs
macro-lifetime-used-with-bound.rs
macro-lifetime-used-with-labels.rs
macro-lifetime-used-with-static.rs
macro-lifetime.rs
macro-literal.rs
macro-local-data-key-priv.rs
macro-local-data-key-priv.stderr
macro-match-nonterminal.rs
macro-match-nonterminal.stderr
macro-meta-items-modern.rs
macro-meta-items.rs
macro-method-issue-4621.rs
macro-missing-delimiters.rs
macro-missing-delimiters.stderr
macro-missing-fragment-deduplication.rs
macro-missing-fragment-deduplication.stderr Mark missing_fragment_specifier as FutureReleaseErrorReportInDeps 2024-07-24 13:16:46 -04:00
macro-missing-fragment.e2015.stderr
macro-missing-fragment.e2024.stderr
macro-missing-fragment.rs
macro-multiple-items.rs
macro-multiple-matcher-bindings.rs
macro-multiple-matcher-bindings.stderr
macro-name-typo.rs
macro-name-typo.stderr
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
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
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
macro-of-higher-order.rs
macro-or-patterns-back-compat.fixed
macro-or-patterns-back-compat.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
macro-or-patterns-back-compat.stderr
macro-outer-attributes.rs
macro-outer-attributes.stderr
macro-parameter-span.rs
macro-parameter-span.stderr
macro-pat2021-pattern-followed-by-or.rs
macro-pat2021-pattern-followed-by-or.stderr
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
macro-pat-pattern-followed-by-or-in-2021.rs
macro-pat-pattern-followed-by-or-in-2021.stderr
macro-pat-pattern-followed-by-or.rs
macro-pat.rs
macro-path-prelude-fail-1.rs
macro-path-prelude-fail-1.stderr
macro-path-prelude-fail-2.rs
macro-path-prelude-fail-2.stderr
macro-path-prelude-fail-3.rs
macro-path-prelude-fail-3.stderr
macro-path-prelude-fail-4.rs
macro-path-prelude-fail-4.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
macro-path-prelude-fail-5.rs
macro-path-prelude-fail-5.stderr
macro-path-prelude-pass.rs
macro-path-prelude-shadowing.rs
macro-path-prelude-shadowing.stderr
macro-path.rs
macro-pub-matcher.rs
macro-quote-test.rs
macro-reexport-removed.rs
macro-reexport-removed.stderr
macro-seq-followed-by-seq.rs
macro-shadowing-relaxed.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
macro-shadowing.rs
macro-shadowing.stderr
macro-span-issue-116502.rs
macro-span-issue-116502.stderr
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_macro_in_expr_macro.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
macro-stmt-matchers.rs
macro-stmt.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
macro-tt-followed-by-seq.rs
macro-tt-matchers.rs
macro-use-all-and-none.rs
macro-use-all-and-none.stderr
macro-use-all.rs
macro-use-bad-args-1.rs
macro-use-bad-args-1.stderr
macro-use-bad-args-2.rs
macro-use-bad-args-2.stderr
macro-use-both.rs
macro-use-one.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
macro-use-scope.rs
macro-use-undef.rs
macro-use-undef.stderr
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 number in error message even for one error 2023-11-24 19:15:52 +01:00
macro-with-attrs1.rs
macro-with-attrs2.rs
macro-with-braces-in-expr-position.rs
macros-in-extern.rs Update test directives for wasm32-wasip1 2024-03-11 09:36:35 -07:00
macros-nonfatal-errors.rs
macros-nonfatal-errors.stderr
malformed_macro_lhs.rs
malformed_macro_lhs.stderr
meta-item-absolute-path.rs
meta-item-absolute-path.stderr
meta-variable-depth-outside-repeat.rs
meta-variable-depth-outside-repeat.stderr
meta-variable-misuse.rs
metavar_cross_edition_recursive_macros.rs
missing-bang-in-decl.fixed
missing-bang-in-decl.rs
missing-bang-in-decl.stderr
missing-comma.rs Tweak more warnings. 2024-10-28 14:20:28 +11:00
missing-comma.stderr Tweak more warnings. 2024-10-28 14:20:28 +11:00
missing-semi.rs
missing-semi.stderr
missing-writer.rs
missing-writer.stderr
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
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
nested-use-as.rs
no-patterns-in-args-macro.rs
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
none-delim-lookahead.rs
nonterminal-matching.rs Tweak more warnings. 2024-10-28 14:20:28 +11:00
nonterminal-matching.stderr Tweak more warnings. 2024-10-28 14:20:28 +11:00
not-utf8.bin
not-utf8.rs Annotate input reference tests 2024-10-30 16:47:47 -07:00
not-utf8.stderr Annotate input reference tests 2024-10-30 16:47:47 -07:00
out-of-order-shadowing.rs
out-of-order-shadowing.stderr
out-of-scope-calls-false-positives.rs
out-of-scope-macro-calls-lint-registered.rs
panic-temporaries-2018.rs
panic-temporaries.rs
paren-or-brace-expected.rs
paren-or-brace-expected.stderr
parse-complex-macro-invoc-op.rs
paths-in-macro-invocations.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
println-percent-prefix-num-issue-125002.rs
println-percent-prefix-num-issue-125002.stderr
proc_macro.rs
pub-item-inside-macro.rs
pub-method-inside-macro.rs
recovery-allowed.rs
recovery-allowed.stderr
recovery-forbidden.rs
restricted-shadowing-legacy.rs
restricted-shadowing-legacy.stderr
restricted-shadowing-modern.rs
restricted-shadowing-modern.stderr
same-sequence-span.rs
same-sequence-span.stderr
semi-after-macro-ty.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
span-covering-argument-1.rs
span-covering-argument-1.stderr
stmt_expr_attr_macro_parse.rs
stringify.rs stabilize raw_ref_op 2024-08-18 19:46:53 +02:00
syntax-error-recovery.rs
syntax-error-recovery.stderr
syntax-extension-cfg.rs
syntax-extension-source-utils.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
trace_faulty_macros.rs
trace_faulty_macros.stderr Tweak more warnings. 2024-10-28 14:20:28 +11:00
trace_macros-format.rs
trace_macros-format.stderr
trace-macro.rs
trace-macro.stderr
try-macro.rs
two-macro-use.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
type-macros-hlist.rs
type-macros-simple.rs
typeck-macro-interaction-issue-8852.rs
unimplemented-macro-panic.rs
unknown-builtin.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
unknown-builtin.stderr
unreachable-arg.edition_2021.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
unreachable-arg.rs
unreachable-fmt-msg.rs
unreachable-format-arg.rs
unreachable-format-args.edition_2015.stderr
unreachable-format-args.rs
unreachable-macro-panic.rs
unreachable-static-msg.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
unreachable.rs
use-macro-self.rs
user-defined-macro-rules.rs
vec-macro-in-pattern.rs
vec-macro-in-pattern.stderr