rust/src/test/ui/proc-macro
Mazdak Farrokhzad bfe9080ea0
Rollup merge of #61024 - petrochenkov:proctest, r=nikomatsakis
tests: Centralize proc macros commonly used for testing

Many proc macros in `ui\proc-macro\auxiliary` were doing same things.
(I added a fair share of those myself.)

Now commonly used macros (empty, identity, etc) are collected in one place - `ui\proc-macro\auxiliary\test-macros.rs`.
2019-05-29 00:19:57 +02:00
..
auxiliary tests: Centralize proc macros commonly used for testing 2019-05-22 02:20:34 +03:00
ambiguous-builtin-attrs-test.rs
ambiguous-builtin-attrs-test.stderr Update tests 2019-03-11 23:10:26 +03:00
ambiguous-builtin-attrs.rs
ambiguous-builtin-attrs.stderr hide --explain hint if error has no extended info 2019-04-18 13:29:28 -04:00
attr-invalid-exprs.rs Tweak macro parse errors when reaching EOF during macro call parse 2019-05-24 11:49:33 -07:00
attr-invalid-exprs.stderr Tweak macro parse errors when reaching EOF during macro call parse 2019-05-24 11:49:33 -07:00
attr-stmt-expr.rs Remove licenses 2018-12-25 21:08:33 -07:00
attr-stmt-expr.stderr Reword tracking issue note 2019-04-11 11:42:06 -07:00
attribute-order-restricted.rs tests: Centralize proc macros commonly used for testing 2019-05-22 02:20:34 +03:00
attribute-order-restricted.stderr tests: Centralize proc macros commonly used for testing 2019-05-22 02:20:34 +03:00
attribute-spans-preserved.rs Remove licenses 2018-12-25 21:08:33 -07:00
attribute-spans-preserved.stderr Update tests 2019-03-11 23:10:26 +03:00
attribute-spans-preserved.stdout
attribute-with-error.rs tests: Centralize proc macros commonly used for testing 2019-05-22 02:20:34 +03:00
attribute-with-error.stderr tests: Centralize proc macros commonly used for testing 2019-05-22 02:20:34 +03:00
attribute.rs Reword malformed attribute input diagnostics 2019-05-25 11:55:50 -07:00
attribute.stderr Reword malformed attribute input diagnostics 2019-05-25 11:55:50 -07:00
attributes-included.rs Remove licenses 2018-12-25 21:08:33 -07:00
attributes-included.stderr Update tests 2019-03-11 23:10:26 +03:00
define-two.rs Remove licenses 2018-12-25 21:08:33 -07:00
define-two.stderr Update tests 2019-03-11 23:10:26 +03:00
derive-bad.rs Remove licenses 2018-12-25 21:08:33 -07:00
derive-bad.stderr Remove licenses 2018-12-25 21:08:33 -07:00
derive-helper-shadowed.rs tests: Centralize proc macros commonly used for testing 2019-05-22 02:20:34 +03:00
derive-helper-shadowing.rs tests: Centralize proc macros commonly used for testing 2019-05-22 02:20:34 +03:00
derive-helper-shadowing.stderr tests: Centralize proc macros commonly used for testing 2019-05-22 02:20:34 +03:00
derive-in-mod.rs tests: Centralize proc macros commonly used for testing 2019-05-22 02:20:34 +03:00
derive-still-gated.rs tests: Centralize proc macros commonly used for testing 2019-05-22 02:20:34 +03:00
derive-still-gated.stderr tests: Centralize proc macros commonly used for testing 2019-05-22 02:20:34 +03:00
dollar-crate-issue-57089.rs tests: Centralize proc macros commonly used for testing 2019-05-22 02:20:34 +03:00
dollar-crate-issue-57089.stdout tests: Centralize proc macros commonly used for testing 2019-05-22 02:20:34 +03:00
dollar-crate.rs tests: Centralize proc macros commonly used for testing 2019-05-22 02:20:34 +03:00
dollar-crate.stderr tests: Centralize proc macros commonly used for testing 2019-05-22 02:20:34 +03:00
dollar-crate.stdout tests: Centralize proc macros commonly used for testing 2019-05-22 02:20:34 +03:00
edition-imports-2018.rs Move some tests from ui-fulldeps to ui 2018-12-09 19:56:30 +03:00
expand-to-unstable-2.rs Remove licenses 2018-12-25 21:08:33 -07:00
expand-to-unstable-2.stderr Reword tracking issue note 2019-04-11 11:42:06 -07:00
expand-to-unstable.rs Remove licenses 2018-12-25 21:08:33 -07:00
expand-to-unstable.stderr Remove licenses 2018-12-25 21:08:33 -07:00
export-macro.rs Remove licenses 2018-12-25 21:08:33 -07:00
export-macro.stderr Remove licenses 2018-12-25 21:08:33 -07:00
exports.rs Remove licenses 2018-12-25 21:08:33 -07:00
exports.stderr Update tests 2019-03-11 23:10:26 +03:00
extern-prelude-extern-crate-proc-macro.rs
generate-mod.rs Remove licenses 2018-12-25 21:08:33 -07:00
generate-mod.stderr Update tests 2019-03-11 23:10:26 +03:00
helper-attr-blocked-by-import-ambig.rs tests: Centralize proc macros commonly used for testing 2019-05-22 02:20:34 +03:00
helper-attr-blocked-by-import-ambig.stderr tests: Centralize proc macros commonly used for testing 2019-05-22 02:20:34 +03:00
helper-attr-blocked-by-import.rs tests: Centralize proc macros commonly used for testing 2019-05-22 02:20:34 +03:00
illegal-proc-macro-derive-use.rs Remove licenses 2018-12-25 21:08:33 -07:00
illegal-proc-macro-derive-use.stderr Remove licenses 2018-12-25 21:08:33 -07:00
import.rs tests: Centralize proc macros commonly used for testing 2019-05-22 02:20:34 +03:00
import.stderr tests: Centralize proc macros commonly used for testing 2019-05-22 02:20:34 +03:00
invalid-attributes.rs Reword malformed attribute input diagnostics 2019-05-25 11:55:50 -07:00
invalid-attributes.stderr Reword malformed attribute input diagnostics 2019-05-25 11:55:50 -07:00
invalid-punct-ident-1.rs this panic occurs not just on Windows, normalize it away everywhere 2019-04-16 10:55:46 +02:00
invalid-punct-ident-1.stderr normalize away some Windows-only panic printing 2019-04-15 23:09:14 +02:00
invalid-punct-ident-2.rs this panic occurs not just on Windows, normalize it away everywhere 2019-04-16 10:55:46 +02:00
invalid-punct-ident-2.stderr normalize away some Windows-only panic printing 2019-04-15 23:09:14 +02:00
invalid-punct-ident-3.rs this panic occurs not just on Windows, normalize it away everywhere 2019-04-16 10:55:46 +02:00
invalid-punct-ident-3.stderr normalize away some Windows-only panic printing 2019-04-15 23:09:14 +02:00
invalid-punct-ident-4.rs Remove licenses 2018-12-25 21:08:33 -07:00
invalid-punct-ident-4.stderr Update tests 2019-03-11 23:10:26 +03:00
issue-36935.rs tests: Centralize proc macros commonly used for testing 2019-05-22 02:20:34 +03:00
issue-36935.stderr tests: Centralize proc macros commonly used for testing 2019-05-22 02:20:34 +03:00
issue-37788.rs tests: Centralize proc macros commonly used for testing 2019-05-22 02:20:34 +03:00
issue-37788.stderr Update tests 2019-03-11 23:10:26 +03:00
issue-38586.rs Moved issue tests to subdirs and normalised names. 2019-03-14 01:00:49 +00:00
issue-38586.stderr Update tests 2019-03-11 23:10:26 +03:00
issue-41211.rs tests: Centralize proc macros commonly used for testing 2019-05-22 02:20:34 +03:00
issue-41211.stderr tests: Centralize proc macros commonly used for testing 2019-05-22 02:20:34 +03:00
issue-50493.rs Remove double trailing newlines 2019-04-22 16:57:01 +01:00
issue-50493.stderr Update tests 2019-03-11 23:10:26 +03:00
issue-53481.rs tests: Centralize proc macros commonly used for testing 2019-05-22 02:20:34 +03:00
item-error.rs Remove licenses 2018-12-25 21:08:33 -07:00
item-error.stderr Remove licenses 2018-12-25 21:08:33 -07:00
lifetimes.rs Do not abort compilation if expansion produces errors 2018-12-27 15:51:36 +03:00
lifetimes.stderr Update tests 2019-03-11 23:10:26 +03:00
lints_in_proc_macros.rs clarify resolve typo suggestion 2019-01-09 14:11:00 -05:00
lints_in_proc_macros.stderr clarify resolve typo suggestion 2019-01-09 14:11:00 -05:00
load-panic.rs tests: Centralize proc macros commonly used for testing 2019-05-22 02:20:34 +03:00
load-panic.stderr tests: Centralize proc macros commonly used for testing 2019-05-22 02:20:34 +03:00
macro-brackets.rs tests: Centralize proc macros commonly used for testing 2019-05-22 02:20:34 +03:00
macro-brackets.stderr Update tests 2019-03-11 23:10:26 +03:00
macro-namespace-reserved-2.rs Remove licenses 2018-12-25 21:08:33 -07:00
macro-namespace-reserved-2.stderr Update tests 2019-03-11 23:10:26 +03:00
macro-namespace-reserved.rs Remove licenses 2018-12-25 21:08:33 -07:00
macro-namespace-reserved.stderr Update tests 2019-03-11 23:10:26 +03:00
macro-use-attr.rs tests: Centralize proc macros commonly used for testing 2019-05-22 02:20:34 +03:00
macro-use-bang.rs tests: Centralize proc macros commonly used for testing 2019-05-22 02:20:34 +03:00
macros-in-extern.rs tests: Centralize proc macros commonly used for testing 2019-05-22 02:20:34 +03:00
macros-in-extern.stderr tests: Centralize proc macros commonly used for testing 2019-05-22 02:20:34 +03:00
more-gates.rs Do not abort compilation if expansion produces errors 2018-12-27 15:51:36 +03:00
more-gates.stderr Reword tracking issue note 2019-04-11 11:42:06 -07:00
multispan.rs Remove licenses 2018-12-25 21:08:33 -07:00
multispan.stderr Update tests 2019-03-11 23:10:26 +03:00
nested-item-spans.rs tests: Centralize proc macros commonly used for testing 2019-05-22 02:20:34 +03:00
nested-item-spans.stderr tests: Centralize proc macros commonly used for testing 2019-05-22 02:20:34 +03:00
no-macro-use-attr.rs tests: Centralize proc macros commonly used for testing 2019-05-22 02:20:34 +03:00
no-macro-use-attr.stderr tests: Centralize proc macros commonly used for testing 2019-05-22 02:20:34 +03:00
no-missing-docs.rs Add #[doc(hidden)] attribute on compiler generated proc-macro module. 2019-05-11 15:04:10 -04:00
non-root.rs Remove licenses 2018-12-25 21:08:33 -07:00
non-root.stderr Remove licenses 2018-12-25 21:08:33 -07:00
parent-source-spans.rs Do not abort compilation if expansion produces errors 2018-12-27 15:51:36 +03:00
parent-source-spans.stderr clarify resolve typo suggestion 2019-01-09 14:11:00 -05:00
proc-macro-attributes.rs Stabilize unrestricted_attribute_tokens 2019-02-25 23:21:54 +03:00
proc-macro-attributes.stderr hide --explain hint if error has no extended info 2019-04-18 13:29:28 -04:00
proc-macro-gates.rs tests: Centralize proc macros commonly used for testing 2019-05-22 02:20:34 +03:00
proc-macro-gates.stderr tests: Centralize proc macros commonly used for testing 2019-05-22 02:20:34 +03:00
proc-macro-gates2.rs tests: Centralize proc macros commonly used for testing 2019-05-22 02:20:34 +03:00
proc-macro-gates2.stderr tests: Centralize proc macros commonly used for testing 2019-05-22 02:20:34 +03:00
pub-at-crate-root.rs Remove licenses 2018-12-25 21:08:33 -07:00
pub-at-crate-root.stderr Update tests 2019-03-11 23:10:26 +03:00
reserved-macro-names.rs tests: use force-host and no-prefer-dynamic in all proc_macro tests. 2018-11-30 06:15:20 +02:00
reserved-macro-names.stderr tests: use force-host and no-prefer-dynamic in all proc_macro tests. 2018-11-30 06:15:20 +02:00
resolve-error.rs tests: Centralize proc macros commonly used for testing 2019-05-22 02:20:34 +03:00
resolve-error.stderr tests: Centralize proc macros commonly used for testing 2019-05-22 02:20:34 +03:00
shadow.rs tests: Centralize proc macros commonly used for testing 2019-05-22 02:20:34 +03:00
shadow.stderr tests: Centralize proc macros commonly used for testing 2019-05-22 02:20:34 +03:00
signature.rs Remove licenses 2018-12-25 21:08:33 -07:00
signature.stderr Update tests 2019-03-11 23:10:26 +03:00
span-preservation.rs tests: Centralize proc macros commonly used for testing 2019-05-22 02:20:34 +03:00
span-preservation.stderr tests: Centralize proc macros commonly used for testing 2019-05-22 02:20:34 +03:00
subspan.rs Remove licenses 2018-12-25 21:08:33 -07:00
subspan.stderr Update tests 2019-03-11 23:10:26 +03:00
three-equals.rs Remove licenses 2018-12-25 21:08:33 -07:00
three-equals.stderr Update tests 2019-03-11 23:10:26 +03:00
two-crate-types-1.rs Remove licenses 2018-12-25 21:08:33 -07:00
two-crate-types-1.stderr Move former compile-fail-fulldeps tests to ui 2018-12-09 19:56:30 +03:00
two-crate-types-2.rs Remove licenses 2018-12-25 21:08:33 -07:00
two-crate-types-2.stderr Move former compile-fail-fulldeps tests to ui 2018-12-09 19:56:30 +03:00