rust/src/test/ui/proc-macro
Thomas Lively 2bf59bea48 Upgrade Emscripten targets to use upstream LLVM backend
- Compatible with Emscripten 1.38.46-upstream or later upstream.
 - Refactors the Emscripten target spec to share code with other wasm
   targets.
 - Replaces the old incorrect wasm32 C call ABI with the correct one,
   preserving the old one as wasm32_bindgen_compat for wasm-bindgen
   compatibility.
 - Updates the varargs ABI used by Emscripten and deletes the old one.
 - Removes the obsolete wasm32-experimental-emscripten target.
 - Uses EMCC_CFLAGS on CI to avoid the timeout problems with #63649.
2019-10-16 17:06:48 -07:00
..
auxiliary Test basic hygiene for macro_rules produced by transparent macros 2019-10-15 10:03:51 +03:00
add-impl.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
ambiguous-builtin-attrs-test.rs tests: move all proc_macro tests from -fulldeps. 2018-11-30 06:15:20 +02:00
ambiguous-builtin-attrs-test.stderr Update tests 2019-03-11 23:10:26 +03:00
ambiguous-builtin-attrs.rs tests: move all proc_macro tests from -fulldeps. 2018-11-30 06:15:20 +02:00
ambiguous-builtin-attrs.stderr hide --explain hint if error has no extended info 2019-04-18 13:29:28 -04:00
append-impl.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
attr-args.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
attr-cfg.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03: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-on-trait.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
attr-stmt-expr-rpass.rs tests: Move run-pass tests with naming conflicts to ui 2019-07-27 18:56:17 +03:00
attr-stmt-expr.rs normalize use of backticks in compiler messages for libsyntax/feature_gate 2019-07-09 14:13:28 +02:00
attr-stmt-expr.stderr normalize use of backticks in compiler messages for libsyntax/feature_gate 2019-07-09 14:13:28 +02: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 pprust: Fix formatting regressions from the previous commits 2019-07-15 12:42:07 +03:00
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 Introduce built-in macros through libcore 2019-07-26 13:09:54 +03:00
attribute.stderr Introduce built-in macros through libcore 2019-07-26 13:09:54 +03:00
attributes-included.rs Migrate compile-pass annotations to build-pass 2019-07-03 06:30:28 +09:00
attributes-included.stderr normalize use of backticks in compiler messages for librustc/lint 2019-07-17 22:49:48 +02:00
attributes-on-definitions.rs Respect attributes on proc macro definitions 2019-08-27 01:33:13 +03:00
attributes-on-definitions.stderr Respect attributes on proc macro definitions 2019-08-27 01:33:13 +03:00
bang-macro.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
call-site.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
count_compound_ops.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
crate-var.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
custom-attr-only-one-derive.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +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-attr-cfg.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
derive-b.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +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-configured.rs resolve: Block expansion of a derive container until all its derives are resolved 2019-08-27 00:31:55 +03:00
derive-helper-shadowed.rs Migrate compile-pass annotations to build-pass 2019-07-03 06:30:28 +09:00
derive-helper-shadowing.rs resolve: Block expansion of a derive container until all its derives are resolved 2019-08-27 00:31:55 +03:00
derive-helper-shadowing.stderr resolve: Block expansion of a derive container until all its derives are resolved 2019-08-27 00:31:55 +03:00
derive-in-mod.rs Migrate compile-pass annotations to build-pass 2019-07-03 06:30:28 +09:00
derive-same-struct.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
derive-same-struct.stdout tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
derive-still-gated.rs resolve: Tweak "cannot find" wording for attributes 2019-09-15 13:10:12 +03:00
derive-still-gated.stderr resolve: Tweak "cannot find" wording for attributes 2019-09-15 13:10:12 +03:00
derive-test.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
derive-two-attrs.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
derive-union.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
disappearing-resolution.rs resolve: Remove an incorrect assert 2019-10-05 23:46:29 +03:00
disappearing-resolution.stderr resolve: Remove an incorrect assert 2019-10-05 23:46:29 +03:00
dollar-crate-issue-57089.rs Migrate compile-pass annotations to build-pass 2019-07-03 06:30:28 +09:00
dollar-crate-issue-57089.stdout Add with_{def_site,call_site,legacy}_ctxt, methods to Span 2019-09-05 15:07:17 +01:00
dollar-crate-issue-62325.rs Stabilize proc macros in type positions 2019-09-30 21:59:35 +03:00
dollar-crate-issue-62325.stdout proc_macro: Add Span::mixed_site exposing macro_rules hygiene 2019-10-03 11:28:06 +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 proc_macro: Add Span::mixed_site exposing macro_rules hygiene 2019-10-03 11:28:06 +03:00
edition-imports-2018.rs Migrate compile-pass annotations to build-pass 2019-07-03 06:30:28 +09:00
empty-crate.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
expand-to-unstable-2.rs resolve: Use feature(custom_attribute) fallback only if the feature is enabled 2019-07-18 13:42:45 +03:00
expand-to-unstable-2.stderr resolve: Use feature(custom_attribute) fallback only if the feature is enabled 2019-07-18 13:42:45 +03:00
expand-to-unstable.rs Remove licenses 2018-12-25 21:08:33 -07:00
expand-to-unstable.stderr normalize use of backticks in compiler messages for libsyntax/feature_gate 2019-07-09 14:13:28 +02:00
expand-with-a-macro.rs Upgrade Emscripten targets to use upstream LLVM backend 2019-10-16 17:06:48 -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 Migrate compile-pass annotations to build-pass 2019-07-03 06:30:28 +09:00
gen-lifetime-token.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
gen-macro-rules-hygiene.rs Test basic hygiene for macro_rules produced by transparent macros 2019-10-15 10:03:51 +03:00
gen-macro-rules-hygiene.stderr Test basic hygiene for macro_rules produced by transparent macros 2019-10-15 10:03:51 +03:00
gen-macro-rules.rs resolve: Properly integrate derives and macro_rules scopes 2019-08-17 20:15:06 +03:00
generate-mod.rs Remove licenses 2018-12-25 21:08:33 -07:00
generate-mod.stderr Serialize additional data for procedural macros 2019-08-17 13:14:05 -04: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 Migrate compile-pass annotations to build-pass 2019-07-03 06:30:28 +09:00
hygiene_example.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +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 Set RUST_BACKTRACE=0 in tests that include a backtrace in stderr 2019-10-02 15:23:22 -04:00
invalid-punct-ident-1.stderr Set RUST_BACKTRACE=0 in tests that include a backtrace in stderr 2019-10-02 15:23:22 -04:00
invalid-punct-ident-2.rs Set RUST_BACKTRACE=0 in tests that include a backtrace in stderr 2019-10-02 15:23:22 -04:00
invalid-punct-ident-2.stderr Set RUST_BACKTRACE=0 in tests that include a backtrace in stderr 2019-10-02 15:23:22 -04:00
invalid-punct-ident-3.rs Set RUST_BACKTRACE=0 in tests that include a backtrace in stderr 2019-10-02 15:23:22 -04:00
invalid-punct-ident-3.stderr Set RUST_BACKTRACE=0 in tests that include a backtrace in stderr 2019-10-02 15:23:22 -04:00
invalid-punct-ident-4.rs Remove licenses 2018-12-25 21:08:33 -07:00
invalid-punct-ident-4.stderr Serialize additional data for procedural macros 2019-08-17 13:14:05 -04: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-39889.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
issue-41211.rs resolve: Use feature(custom_attribute) fallback only if the feature is enabled 2019-07-18 13:42:45 +03:00
issue-41211.stderr resolve: Use feature(custom_attribute) fallback only if the feature is enabled 2019-07-18 13:42:45 +03:00
issue-42708.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
issue-50061.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +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 Migrate compile-pass annotations to build-pass 2019-07-03 06:30:28 +09: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-rpass.rs tests: Move run-pass tests with naming conflicts to ui 2019-07-27 18:56:17 +03:00
lifetimes.rs Stabilize proc macros in type positions 2019-09-30 21:59:35 +03:00
lifetimes.stderr Stabilize proc macros in type positions 2019-09-30 21:59:35 +03:00
lints_in_proc_macros.rs clarify resolve typo suggestion 2019-01-09 14:11:00 -05:00
lints_in_proc_macros.stderr Serialize additional data for procedural macros 2019-08-17 13:14:05 -04: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
load-two.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +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 resolve: Remove ! from "cannot find" diagnostics for macros 2019-09-15 13:22:07 +03:00
macro-namespace-reserved-2.stderr resolve: Remove ! from "cannot find" diagnostics for macros 2019-09-15 13:22:07 +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 Migrate compile-pass annotations to build-pass 2019-07-03 06:30:28 +09:00
macro-use-bang.rs Migrate compile-pass annotations to build-pass 2019-07-03 06:30:28 +09:00
macros-in-extern-derive.rs Stabilize macros in extern blocks 2019-09-30 21:59:35 +03:00
macros-in-extern-derive.stderr Stabilize macros in extern blocks 2019-09-30 21:59:35 +03:00
macros-in-extern.rs Stabilize macros in extern blocks 2019-09-30 21:59:35 +03:00
macros-in-type.rs Stabilize proc macros in type positions 2019-09-30 21:59:35 +03:00
mixed-site-span.rs proc_macro: Add Span::mixed_site exposing macro_rules hygiene 2019-10-03 11:28:06 +03:00
mixed-site-span.stderr proc_macro: Add Span::mixed_site exposing macro_rules hygiene 2019-10-03 11:28:06 +03:00
modify-ast.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
multispan.rs Remove licenses 2018-12-25 21:08:33 -07:00
multispan.stderr proc_macro: Update Span::def_site to use the proc macro definition location 2019-08-27 01:34:10 +03:00
negative-token.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +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 Migrate compile-pass annotations to build-pass 2019-07-03 06:30:28 +09: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
not-joint.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03: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 resolve: Tweak "cannot find" wording for attributes 2019-09-15 13:10:12 +03:00
proc-macro-attributes.stderr resolve: Tweak "cannot find" wording for attributes 2019-09-15 13:10:12 +03:00
proc-macro-gates.rs Stabilize proc macros in type positions 2019-09-30 21:59:35 +03:00
proc-macro-gates.stderr Stabilize proc macros in type positions 2019-09-30 21:59:35 +03:00
proc-macro-gates2.rs Resolve attributes in several places 2019-09-09 09:27:15 -03:00
proc-macro-gates2.stderr Resolve attributes in several places 2019-09-09 09:27:15 -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 resolve: Reserve cfg/cfg_attr/derive only in attribute sub-namespace 2019-07-06 18:36:35 +03:00
reserved-macro-names.stderr resolve: Reserve cfg/cfg_attr/derive only in attribute sub-namespace 2019-07-06 18:36:35 +03:00
resolve-error.rs resolve: Tweak "cannot find" wording for attributes 2019-09-15 13:10:12 +03:00
resolve-error.stderr resolve: Remove ! from "cannot find" diagnostics for macros 2019-09-15 13:22:07 +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
smoke.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
span-api-tests.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
span-preservation.rs Update tests for excess semicolon lint 2019-08-12 10:14:07 -04:00
span-preservation.stderr Update tests for excess semicolon lint 2019-08-12 10:14:07 -04:00
struct-field-macro.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
subspan.rs Remove licenses 2018-12-25 21:08:33 -07:00
subspan.stderr Serialize additional data for procedural macros 2019-08-17 13:14:05 -04:00
three-equals.rs Remove licenses 2018-12-25 21:08:33 -07:00
three-equals.stderr proc_macro: Update Span::def_site to use the proc macro definition location 2019-08-27 01:34:10 +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