rust/src/test/ui/macros
kennytm e897fe711e
Rollup merge of #55301 - estebank:macro-allowed, r=petrochenkov
List allowed tokens after macro fragments

Fix #34069.
2018-10-26 23:06:33 +08:00
..
auxiliary resolve: Relax shadowing restriction on macro-expanded macros 2018-09-08 14:15:11 +03:00
macro-expanded-include Merged migrated compile-fail tests and ui tests. Fixes #46841. 2018-08-14 11:12:09 +02:00
ambiguity-legacy-vs-modern.rs resolve: Prefer macro_rules definitions to in-module macro definitions in some cases 2018-10-03 16:12:39 +04:00
ambiguity-legacy-vs-modern.stderr resolve: Prefer macro_rules definitions to in-module macro definitions in some cases 2018-10-03 16:12:39 +04:00
bad_hello.rs
bad_hello.stderr
bad-concat.rs
bad-concat.stderr
format-foreign.rs
format-foreign.stderr
format-unused-lables.rs
format-unused-lables.stderr
issue-30143.rs Don't accept none str literals for the format string in writeln 2018-08-10 19:01:54 +01:00
issue-30143.stderr Don't accept none str literals for the format string in writeln 2018-08-10 19:01:54 +01:00
issue-54441.rs make Parser::parse_foreign_item() return a foreign item or error 2018-10-05 02:47:57 -07:00
issue-54441.stderr Remove incorrect span for second label inner macro invocation 2018-10-10 19:39:16 +02:00
macro_path_as_generic_bound.rs
macro_path_as_generic_bound.stderr
macro_undefined.rs Stabilize use_extern_macros 2018-08-17 13:14:26 +03:00
macro_undefined.stderr Stabilize use_extern_macros 2018-08-17 13:14:26 +03:00
macro-at-most-once-rep-2015-ques-rep-feature-flag.rs tests: prefer edition: directives to compile-flags:--edition. 2018-08-16 10:36:11 +03:00
macro-at-most-once-rep-2015-ques-rep-feature-flag.stderr
macro-at-most-once-rep-2015-ques-rep.rs tests: prefer edition: directives to compile-flags:--edition. 2018-08-16 10:36:11 +03:00
macro-at-most-once-rep-2015-ques-rep.stderr
macro-at-most-once-rep-2015-ques-sep.rs tests: prefer edition: directives to compile-flags:--edition. 2018-08-16 10:36:11 +03:00
macro-at-most-once-rep-2015-ques-sep.stderr
macro-at-most-once-rep-2018-feature-gate.rs tests: prefer edition: directives to compile-flags:--edition. 2018-08-16 10:36:11 +03:00
macro-at-most-once-rep-2018-feature-gate.stderr Point to macro def span instead of whole body 2018-10-24 11:34:23 -07:00
macro-at-most-once-rep-2018.rs tests: prefer edition: directives to compile-flags:--edition. 2018-08-16 10:36:11 +03:00
macro-at-most-once-rep-2018.stderr Point to macro def span instead of whole body 2018-10-24 11:34:23 -07:00
macro-attribute.rs syntax: Enforce attribute grammar in the parser 2018-08-15 00:05:55 +03:00
macro-attribute.stderr syntax: Enforce attribute grammar in the parser 2018-08-15 00:05:55 +03: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-comma-behavior.core.stderr Merged migrated compile-fail tests and ui tests. Fixes #46841. 2018-08-14 11:12:09 +02:00
macro-comma-behavior.rs Merged migrated compile-fail tests and ui tests. Fixes #46841. 2018-08-14 11:12:09 +02:00
macro-comma-behavior.std.stderr Merged migrated compile-fail tests and ui tests. Fixes #46841. 2018-08-14 11:12:09 +02:00
macro-comma-support.rs Merged migrated compile-fail tests and ui tests. Fixes #46841. 2018-08-14 11:12:09 +02:00
macro-comma-support.stderr Merged migrated compile-fail tests and ui tests. Fixes #46841. 2018-08-14 11:12:09 +02:00
macro-context.rs Merged migrated compile-fail tests and ui tests. Fixes #46841. 2018-08-14 11:12:09 +02:00
macro-context.stderr Fix incorrect semicolon suggestion 2018-10-24 12:52:24 -07:00
macro-crate-nonterminal-non-root.rs Merged migrated compile-fail tests and ui tests. Fixes #46841. 2018-08-14 11:12:09 +02:00
macro-crate-nonterminal-non-root.stderr Merged migrated compile-fail tests and ui tests. Fixes #46841. 2018-08-14 11:12:09 +02:00
macro-error.rs Merged migrated compile-fail tests and ui tests. Fixes #46841. 2018-08-14 11:12:09 +02:00
macro-error.stderr Merged migrated compile-fail tests and ui tests. Fixes #46841. 2018-08-14 11:12:09 +02:00
macro-expansion-tests.rs Merged migrated compile-fail tests and ui tests. Fixes #46841. 2018-08-14 11:12:09 +02:00
macro-expansion-tests.stderr Merged migrated compile-fail tests and ui tests. Fixes #46841. 2018-08-14 11:12:09 +02:00
macro-follow.rs Merged migrated compile-fail tests and ui tests. Fixes #46841. 2018-08-14 11:12:09 +02:00
macro-follow.stderr List allowed tokens after macro fragments 2018-10-25 11:08:58 -07:00
macro-followed-by-seq-bad.rs Merged migrated compile-fail tests and ui tests. Fixes #46841. 2018-08-14 11:12:09 +02:00
macro-followed-by-seq-bad.stderr List allowed tokens after macro fragments 2018-10-25 11:08:58 -07:00
macro-in-expression-context-2.rs Add macro call span when lacking any other span in diagnostic 2018-10-23 10:07:11 -07:00
macro-in-expression-context-2.stderr Add macro call span when lacking any other span in diagnostic 2018-10-23 10:07:11 -07:00
macro-in-expression-context.fixed Modify invalid macro in expression context diagnostic 2018-10-23 10:07:34 -07:00
macro-in-expression-context.rs Modify invalid macro in expression context diagnostic 2018-10-23 10:07:34 -07:00
macro-in-expression-context.stderr Modify invalid macro in expression context diagnostic 2018-10-23 10:07:34 -07:00
macro-inner-attributes.rs Merged migrated compile-fail tests and ui tests. Fixes #46841. 2018-08-14 11:12:09 +02:00
macro-inner-attributes.stderr Merged migrated compile-fail tests and ui tests. Fixes #46841. 2018-08-14 11:12:09 +02:00
macro-input-future-proofing.rs Merged migrated compile-fail tests and ui tests. Fixes #46841. 2018-08-14 11:12:09 +02:00
macro-input-future-proofing.stderr List allowed tokens after macro fragments 2018-10-25 11:08:58 -07:00
macro-invalid-fragment-spec.rs Merged migrated compile-fail tests and ui tests. Fixes #46841. 2018-08-14 11:12:09 +02:00
macro-invalid-fragment-spec.stderr Add missing lifetime fragment specifier to error message. 2018-10-12 17:51:48 -07:00
macro-local-data-key-priv.rs Merged migrated compile-fail tests and ui tests. Fixes #46841. 2018-08-14 11:12:09 +02:00
macro-local-data-key-priv.stderr Merged migrated compile-fail tests and ui tests. Fixes #46841. 2018-08-14 11:12:09 +02:00
macro-match-nonterminal.rs Merged migrated compile-fail tests and ui tests. Fixes #46841. 2018-08-14 11:12:09 +02:00
macro-match-nonterminal.stderr Merged migrated compile-fail tests and ui tests. Fixes #46841. 2018-08-14 11:12:09 +02:00
macro-missing-delimiters.rs Merged migrated compile-fail tests and ui tests. Fixes #46841. 2018-08-14 11:12:09 +02:00
macro-missing-delimiters.stderr Merged migrated compile-fail tests and ui tests. Fixes #46841. 2018-08-14 11:12:09 +02:00
macro-missing-fragment.rs Merged migrated compile-fail tests and ui tests. Fixes #46841. 2018-08-14 11:12:09 +02:00
macro-missing-fragment.stderr Merged migrated compile-fail tests and ui tests. Fixes #46841. 2018-08-14 11:12:09 +02:00
macro-name-typo.rs
macro-name-typo.stderr
macro-non-lifetime.rs Merged migrated compile-fail tests and ui tests. Fixes #46841. 2018-08-14 11:12:09 +02:00
macro-non-lifetime.stderr Point to macro def span instead of whole body 2018-10-24 11:34:23 -07:00
macro-outer-attributes.rs Merged migrated compile-fail tests and ui tests. Fixes #46841. 2018-08-14 11:12:09 +02:00
macro-outer-attributes.stderr Merged migrated compile-fail tests and ui tests. Fixes #46841. 2018-08-14 11:12:09 +02:00
macro-parameter-span.rs Merged migrated compile-fail tests and ui tests. Fixes #46841. 2018-08-14 11:12:09 +02:00
macro-parameter-span.stderr Merged migrated compile-fail tests and ui tests. Fixes #46841. 2018-08-14 11:12:09 +02:00
macro-path-prelude-fail-1.rs Stabilize use_extern_macros 2018-08-17 13:14:26 +03:00
macro-path-prelude-fail-1.stderr Merged migrated compile-fail tests and ui tests. Fixes #46841. 2018-08-14 11:12:09 +02:00
macro-path-prelude-fail-2.rs Stabilize use_extern_macros 2018-08-17 13:14:26 +03:00
macro-path-prelude-fail-2.stderr Stabilize use_extern_macros 2018-08-17 13:14:26 +03:00
macro-path-prelude-fail-3.rs resolve: Introduce two sub-namespaces in macro namespace 2018-09-13 14:48:50 +03:00
macro-path-prelude-fail-3.stderr resolve: Introduce two sub-namespaces in macro namespace 2018-09-13 14:48:50 +03:00
macro-path-prelude-fail-4.rs resolve: Introduce two sub-namespaces in macro namespace 2018-09-13 14:48:50 +03:00
macro-path-prelude-fail-4.stderr resolve: Introduce two sub-namespaces in macro namespace 2018-09-13 14:48:50 +03:00
macro-path-prelude-pass.rs Stabilize use_extern_macros 2018-08-17 13:14:26 +03:00
macro-path-prelude-pass.stderr Stabilize crate_in_paths, extern_absolute_paths and extern_prelude on all editions. 2018-09-22 09:26:40 +03:00
macro-path-prelude-shadowing.rs Merged migrated compile-fail tests and ui tests. Fixes #46841. 2018-08-14 11:12:09 +02:00
macro-path-prelude-shadowing.stderr Add extern crate items to extern prelude 2018-10-24 00:14:50 +03:00
macro-reexport-removed.rs Merged migrated compile-fail tests and ui tests. Fixes #46841. 2018-08-14 11:12:09 +02:00
macro-reexport-removed.stderr resolve: Consolidate error reporting for resolved macros in fn resolve_macro_to_def 2018-08-20 23:12:36 +03:00
macro-shadowing-relaxed.rs resolve: Relax shadowing restriction on macro-expanded macros 2018-09-08 14:15:11 +03:00
macro-shadowing.rs resolve: Relax shadowing restriction on macro-expanded macros 2018-09-08 14:15:11 +03:00
macro-shadowing.stderr resolve: More precise spans for ambiguous resolution errors 2018-09-08 14:15:11 +03:00
macro-stability.rs Merged migrated compile-fail tests and ui tests. Fixes #46841. 2018-08-14 11:12:09 +02:00
macro-stability.stderr Merged migrated compile-fail tests and ui tests. Fixes #46841. 2018-08-14 11:12:09 +02:00
macro-stmt-matchers.rs Merged migrated compile-fail tests and ui tests. Fixes #46841. 2018-08-14 11:12:09 +02:00
macro-stmt-matchers.stderr Merged migrated compile-fail tests and ui tests. Fixes #46841. 2018-08-14 11:12:09 +02:00
macro-tt-matchers.rs Merged migrated compile-fail tests and ui tests. Fixes #46841. 2018-08-14 11:12:09 +02:00
macro-tt-matchers.stderr Merged migrated compile-fail tests and ui tests. Fixes #46841. 2018-08-14 11:12:09 +02:00
macro-use-bad-args-1.rs cleanup: Add main functions to some UI tests 2018-08-31 18:56:15 +03:00
macro-use-bad-args-1.stderr cleanup: Add main functions to some UI tests 2018-08-31 18:56:15 +03:00
macro-use-bad-args-2.rs cleanup: Add main functions to some UI tests 2018-08-31 18:56:15 +03:00
macro-use-bad-args-2.stderr cleanup: Add main functions to some UI tests 2018-08-31 18:56:15 +03:00
macro-use-scope.rs Merged migrated compile-fail tests and ui tests. Fixes #46841. 2018-08-14 11:12:09 +02:00
macro-use-scope.stderr Merged migrated compile-fail tests and ui tests. Fixes #46841. 2018-08-14 11:12:09 +02:00
macro-use-undef.rs Merged migrated compile-fail tests and ui tests. Fixes #46841. 2018-08-14 11:12:09 +02:00
macro-use-undef.stderr Merged migrated compile-fail tests and ui tests. Fixes #46841. 2018-08-14 11:12:09 +02:00
macro-use-wrong-name.rs Merged migrated compile-fail tests and ui tests. Fixes #46841. 2018-08-14 11:12:09 +02:00
macro-use-wrong-name.stderr Merged migrated compile-fail tests and ui tests. Fixes #46841. 2018-08-14 11:12:09 +02:00
macros-in-extern.rs Merged migrated compile-fail tests and ui tests. Fixes #46841. 2018-08-14 11:12:09 +02:00
macros-in-extern.stderr Merged migrated compile-fail tests and ui tests. Fixes #46841. 2018-08-14 11:12:09 +02:00
macros-nonfatal-errors.rs Fix two UI tests with locale-dependent output 2018-10-05 11:37:48 +04:00
macros-nonfatal-errors.stderr Fix two UI tests with locale-dependent output 2018-10-05 11:37:48 +04:00
missing-comma.rs Suggest comma when missing in macro call 2018-08-07 22:31:57 -07:00
missing-comma.stderr Point to macro def span instead of whole body 2018-10-24 11:34:23 -07:00
nonterminal-matching.rs
nonterminal-matching.stderr Point at macro definition when no rules expect token 2018-10-23 21:44:46 -07:00
restricted-shadowing-legacy.rs Add checks for expected macro output in restricted shadowing tests 2018-09-08 14:15:11 +03:00
restricted-shadowing-legacy.stderr resolve: More precise spans for ambiguous resolution errors 2018-09-08 14:15:11 +03:00
restricted-shadowing-modern.rs Add checks for expected macro output in restricted shadowing tests 2018-09-08 14:15:11 +03:00
restricted-shadowing-modern.stderr resolve: More precise spans for ambiguous resolution errors 2018-09-08 14:15:11 +03:00
span-covering-argument-1.nll.stderr
span-covering-argument-1.rs
span-covering-argument-1.stderr use structured suggestion for "missing mut" label 2018-09-12 17:16:18 -04:00
trace_faulty_macros.rs
trace_faulty_macros.stderr Point to macro def span instead of whole body 2018-10-24 11:34:23 -07:00
trace-macro.rs
trace-macro.stderr