rust/src/test/ui/macros
Andy Russell 0a6fb84738
make panictry! private to libsyntax
This commit completely removes usage of the `panictry!` macro from
outside libsyntax. The macro causes parse errors to be fatal, so using
it in libsyntax_ext caused parse failures *within* a syntax extension to
be fatal, which is probably not intended.

Furthermore, this commit adds spans to diagnostics emitted by empty
extensions if they were missing, à la #56491.
2019-01-02 11:02:30 -05:00
..
auxiliary Remove licenses 2018-12-25 21:08:33 -07:00
macro-expanded-include Remove licenses 2018-12-25 21:08:33 -07: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: Improve diagnostics for resolution ambiguities 2018-11-18 13:51:40 +03:00
assert.rs make panictry! private to libsyntax 2019-01-02 11:02:30 -05:00
assert.stderr make panictry! private to libsyntax 2019-01-02 11:02:30 -05:00
bad_hello.rs Remove licenses 2018-12-25 21:08:33 -07:00
bad_hello.stderr Remove licenses 2018-12-25 21:08:33 -07:00
bad-concat.rs Remove licenses 2018-12-25 21:08:33 -07:00
bad-concat.stderr Remove licenses 2018-12-25 21:08:33 -07:00
cfg.rs make panictry! private to libsyntax 2019-01-02 11:02:30 -05:00
cfg.stderr make panictry! private to libsyntax 2019-01-02 11:02:30 -05:00
format-foreign.rs Remove licenses 2018-12-25 21:08:33 -07:00
format-foreign.stderr Add span label to unused string formatting argument 2018-12-26 20:36:02 -08:00
format-parse-errors.rs make panictry! private to libsyntax 2019-01-02 11:02:30 -05:00
format-parse-errors.stderr make panictry! private to libsyntax 2019-01-02 11:02:30 -05:00
format-unused-lables.rs Remove licenses 2018-12-25 21:08:33 -07:00
format-unused-lables.stderr Add span label to unused string formatting argument 2018-12-26 20:36:02 -08:00
global-asm.rs make panictry! private to libsyntax 2019-01-02 11:02:30 -05:00
global-asm.stderr make panictry! private to libsyntax 2019-01-02 11:02:30 -05:00
issue-30143.rs Remove licenses 2018-12-25 21:08:33 -07:00
issue-30143.stderr Remove licenses 2018-12-25 21:08:33 -07: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 Remove licenses 2018-12-25 21:08:33 -07:00
macro_path_as_generic_bound.stderr Remove licenses 2018-12-25 21:08:33 -07:00
macro_undefined.rs Remove licenses 2018-12-25 21:08:33 -07:00
macro_undefined.stderr Remove licenses 2018-12-25 21:08:33 -07:00
macro-at-most-once-rep-2015-ques-rep.rs Remove licenses 2018-12-25 21:08:33 -07:00
macro-at-most-once-rep-2015-ques-rep.stderr Remove licenses 2018-12-25 21:08:33 -07:00
macro-at-most-once-rep-2015-ques-sep.rs Remove licenses 2018-12-25 21:08:33 -07:00
macro-at-most-once-rep-2015-ques-sep.stderr Remove licenses 2018-12-25 21:08:33 -07:00
macro-at-most-once-rep-2018.rs Remove licenses 2018-12-25 21:08:33 -07:00
macro-at-most-once-rep-2018.stderr Remove licenses 2018-12-25 21:08:33 -07:00
macro-attribute.rs Remove licenses 2018-12-25 21:08:33 -07:00
macro-attribute.stderr Remove licenses 2018-12-25 21:08:33 -07:00
macro-backtrace-invalid-internals.rs Remove licenses 2018-12-25 21:08:33 -07:00
macro-backtrace-invalid-internals.stderr Remove licenses 2018-12-25 21:08:33 -07:00
macro-backtrace-nested.rs Remove licenses 2018-12-25 21:08:33 -07:00
macro-backtrace-nested.stderr Remove licenses 2018-12-25 21:08:33 -07:00
macro-backtrace-println.rs Remove licenses 2018-12-25 21:08:33 -07:00
macro-backtrace-println.stderr Remove licenses 2018-12-25 21:08:33 -07:00
macro-comma-behavior.core.stderr Fix rebase and more CI failures 2018-12-27 15:51:37 +03:00
macro-comma-behavior.rs Fix rebase and more CI failures 2018-12-27 15:51:37 +03:00
macro-comma-behavior.std.stderr Fix rebase and more CI failures 2018-12-27 15:51:37 +03:00
macro-comma-support.rs Remove licenses 2018-12-25 21:08:33 -07:00
macro-comma-support.stderr Remove licenses 2018-12-25 21:08:33 -07:00
macro-context.rs Remove licenses 2018-12-25 21:08:33 -07:00
macro-context.stderr Remove licenses 2018-12-25 21:08:33 -07:00
macro-crate-nonterminal-non-root.rs Remove licenses 2018-12-25 21:08:33 -07:00
macro-crate-nonterminal-non-root.stderr Remove licenses 2018-12-25 21:08:33 -07:00
macro-error.rs Remove licenses 2018-12-25 21:08:33 -07:00
macro-error.stderr Remove licenses 2018-12-25 21:08:33 -07:00
macro-expansion-tests.rs Remove licenses 2018-12-25 21:08:33 -07:00
macro-expansion-tests.stderr Remove licenses 2018-12-25 21:08:33 -07:00
macro-follow.rs Remove licenses 2018-12-25 21:08:33 -07:00
macro-follow.stderr Remove licenses 2018-12-25 21:08:33 -07:00
macro-followed-by-seq-bad.rs Remove licenses 2018-12-25 21:08:33 -07:00
macro-followed-by-seq-bad.stderr Remove licenses 2018-12-25 21:08:33 -07:00
macro-in-expression-context-2.rs Update ui tests 2018-12-04 10:06:05 +01:00
macro-in-expression-context-2.stderr Reword EOF in macro arm message 2018-11-23 15:49:31 -08: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 Remove licenses 2018-12-25 21:08:33 -07:00
macro-inner-attributes.stderr Remove licenses 2018-12-25 21:08:33 -07:00
macro-input-future-proofing.rs Remove licenses 2018-12-25 21:08:33 -07:00
macro-input-future-proofing.stderr Remove licenses 2018-12-25 21:08:33 -07:00
macro-invalid-fragment-spec.rs Remove licenses 2018-12-25 21:08:33 -07:00
macro-invalid-fragment-spec.stderr Remove licenses 2018-12-25 21:08:33 -07:00
macro-local-data-key-priv.rs Remove licenses 2018-12-25 21:08:33 -07:00
macro-local-data-key-priv.stderr Remove licenses 2018-12-25 21:08:33 -07:00
macro-match-nonterminal.rs Remove licenses 2018-12-25 21:08:33 -07:00
macro-match-nonterminal.stderr Remove licenses 2018-12-25 21:08:33 -07:00
macro-missing-delimiters.rs Remove licenses 2018-12-25 21:08:33 -07:00
macro-missing-delimiters.stderr Remove licenses 2018-12-25 21:08:33 -07:00
macro-missing-fragment.rs Remove licenses 2018-12-25 21:08:33 -07:00
macro-missing-fragment.stderr Remove licenses 2018-12-25 21:08:33 -07:00
macro-name-typo.rs Remove licenses 2018-12-25 21:08:33 -07:00
macro-name-typo.stderr Remove licenses 2018-12-25 21:08:33 -07:00
macro-non-lifetime.rs Remove licenses 2018-12-25 21:08:33 -07:00
macro-non-lifetime.stderr Remove licenses 2018-12-25 21:08:33 -07:00
macro-outer-attributes.rs Remove licenses 2018-12-25 21:08:33 -07:00
macro-outer-attributes.stderr Remove licenses 2018-12-25 21:08:33 -07:00
macro-parameter-span.rs Remove licenses 2018-12-25 21:08:33 -07:00
macro-parameter-span.stderr Remove licenses 2018-12-25 21:08:33 -07:00
macro-path-prelude-fail-1.rs Remove licenses 2018-12-25 21:08:33 -07:00
macro-path-prelude-fail-1.stderr Remove licenses 2018-12-25 21:08:33 -07:00
macro-path-prelude-fail-2.rs Remove licenses 2018-12-25 21:08:33 -07:00
macro-path-prelude-fail-2.stderr Remove licenses 2018-12-25 21:08:33 -07: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 Remove licenses 2018-12-25 21:08:33 -07:00
macro-path-prelude-pass.stderr Remove licenses 2018-12-25 21:08:33 -07:00
macro-path-prelude-shadowing.rs Remove licenses 2018-12-25 21:08:33 -07:00
macro-path-prelude-shadowing.stderr Remove licenses 2018-12-25 21:08:33 -07:00
macro-reexport-removed.rs Remove licenses 2018-12-25 21:08:33 -07:00
macro-reexport-removed.stderr Remove licenses 2018-12-25 21:08:33 -07:00
macro-shadowing-relaxed.rs Remove licenses 2018-12-25 21:08:33 -07:00
macro-shadowing.rs Remove licenses 2018-12-25 21:08:33 -07:00
macro-shadowing.stderr Remove licenses 2018-12-25 21:08:33 -07:00
macro-stability.rs Remove licenses 2018-12-25 21:08:33 -07:00
macro-stability.stderr Remove licenses 2018-12-25 21:08:33 -07:00
macro-stmt-matchers.rs Remove licenses 2018-12-25 21:08:33 -07:00
macro-tt-matchers.rs Remove licenses 2018-12-25 21:08:33 -07:00
macro-use-bad-args-1.rs Remove licenses 2018-12-25 21:08:33 -07:00
macro-use-bad-args-1.stderr Remove licenses 2018-12-25 21:08:33 -07:00
macro-use-bad-args-2.rs Remove licenses 2018-12-25 21:08:33 -07:00
macro-use-bad-args-2.stderr Remove licenses 2018-12-25 21:08:33 -07:00
macro-use-scope.rs Remove licenses 2018-12-25 21:08:33 -07:00
macro-use-undef.rs Remove licenses 2018-12-25 21:08:33 -07:00
macro-use-undef.stderr Remove licenses 2018-12-25 21:08:33 -07:00
macro-use-wrong-name.rs Remove licenses 2018-12-25 21:08:33 -07:00
macro-use-wrong-name.stderr Remove licenses 2018-12-25 21:08:33 -07:00
macros-in-extern.rs Remove licenses 2018-12-25 21:08:33 -07:00
macros-in-extern.stderr Remove licenses 2018-12-25 21:08:33 -07: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 Remove licenses 2018-12-25 21:08:33 -07:00
missing-comma.stderr Remove licenses 2018-12-25 21:08:33 -07:00
must-use-in-macro-55516.rs Remove licenses 2018-12-25 21:08:33 -07:00
must-use-in-macro-55516.stderr Remove licenses 2018-12-25 21:08:33 -07:00
nonterminal-matching.rs Remove licenses 2018-12-25 21:08:33 -07:00
nonterminal-matching.stderr Remove licenses 2018-12-25 21:08:33 -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: Suggest crate:: for resolving ambiguities when appropriate 2018-11-27 00:34:25 +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: Suggest crate:: for resolving ambiguities when appropriate 2018-11-27 00:34:25 +03:00
span-covering-argument-1.nll.stderr Remove licenses 2018-12-25 21:08:33 -07:00
span-covering-argument-1.rs Remove licenses 2018-12-25 21:08:33 -07:00
span-covering-argument-1.stderr Remove licenses 2018-12-25 21:08:33 -07:00
trace_faulty_macros.rs Remove licenses 2018-12-25 21:08:33 -07:00
trace_faulty_macros.stderr Remove licenses 2018-12-25 21:08:33 -07:00
trace-macro.rs Remove licenses 2018-12-25 21:08:33 -07:00
trace-macro.stderr Remove licenses 2018-12-25 21:08:33 -07:00