rust/src/test/ui/macros
Felix S. Klock II a2e090624e Removed #[rustc_error] from tests that are all // compile-pass.
I also added `// skip-codegen` to each one, to address potential concerns
that this change would otherwise slow down our test suite spending time
generating code for files that are really just meant to be checks of
compiler diagnostics.

(However, I will say: My preference is to not use `// skip-codegen` if
one can avoid it. We can use all the testing of how we drive LLVM that
we can get...)

(Updated post rebase.)
2018-11-07 13:09:52 +01:00
..
auxiliary resolve: Relax shadowing restriction on macro-expanded macros 2018-09-08 14:15:11 +03:00
macro-expanded-include Removed #[rustc_error] from tests that are all // compile-pass. 2018-11-07 13:09:52 +01: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-concat.rs review comments: modify note wording and change println 2018-07-19 23:18:07 -07:00
bad-concat.stderr review comments: modify note wording and change println 2018-07-19 23:18:07 -07:00
bad_hello.rs Improve suggestion for missing fmt str in println 2018-07-19 23:18:07 -07:00
bad_hello.stderr Suggest space separated format str literal 2018-07-21 12:16:06 -07:00
format-foreign.rs Use suggestions for shell format arguments 2018-07-31 14:16:36 -07:00
format-foreign.stderr Use suggestions for shell format arguments 2018-07-31 14:16:36 -07:00
format-unused-lables.rs Point at unused arguments for format string 2018-01-15 21:38:12 -08:00
format-unused-lables.stderr Use suggestions for shell format arguments 2018-07-31 14:16:36 -07:00
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-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 Implement 2015 vs 2018 ? kleene op + test 2018-07-23 21:54:43 -05:00
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 Implement 2015 vs 2018 ? kleene op + test 2018-07-23 21:54:43 -05:00
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 Allow by default, fix tests 2018-07-23 21:55:51 -05:00
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 Remove the unstable Float trait 2018-05-22 19:19:09 +02:00
macro-backtrace-invalid-internals.stderr Remove the unstable Float trait 2018-05-22 19:19:09 +02:00
macro-backtrace-nested.rs Merge cfail and ui tests into ui tests 2017-11-24 11:32:35 +01:00
macro-backtrace-nested.stderr update tests 2018-03-14 00:53:24 +01:00
macro-backtrace-println.rs Merge cfail and ui tests into ui tests 2017-11-24 11:32:35 +01:00
macro-backtrace-println.stderr Only point at inside of string literals if they're actually string literals 2018-07-23 15:41:32 -07:00
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 resolve: More precise spans for privacy errors 2018-10-28 02:56:12 +03: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 Merge cfail and ui tests into ui tests 2017-11-24 11:32:35 +01:00
macro-name-typo.stderr Update UI tests 2018-02-26 20:24:02 +03:00
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 Removed #[rustc_error] from tests that are all // compile-pass. 2018-11-07 13:09:52 +01:00
macro-tt-matchers.rs Removed #[rustc_error] from tests that are all // compile-pass. 2018-11-07 13:09:52 +01: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 Removed #[rustc_error] from tests that are all // compile-pass. 2018-11-07 13:09:52 +01: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
macro_path_as_generic_bound.rs Merge cfail and ui tests into ui tests 2017-11-24 11:32:35 +01:00
macro_path_as_generic_bound.stderr Update tests 2018-03-16 11:52:46 +01:00
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
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
must-use-in-macro-55516.rs enforce unused-must-use lint in macros 2018-11-01 03:32:45 +00:00
must-use-in-macro-55516.stderr enforce unused-must-use lint in macros 2018-11-01 03:32:45 +00:00
nonterminal-matching.rs stabilize :lifetime 2018-05-13 19:51:32 +00:00
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 Update tests for new NLL mutability errors 2018-07-20 20:01:15 +01:00
span-covering-argument-1.rs Minimize weird spans involving macro context 2018-02-01 11:51:49 -08:00
span-covering-argument-1.stderr use structured suggestion for "missing mut" label 2018-09-12 17:16:18 -04:00
trace-macro.rs Rename must-compile-successfully into compile-pass 2018-04-13 23:28:03 +02:00
trace-macro.stderr Switch to bootstrapping from 1.29 beta 2018-08-01 11:59:08 -06:00
trace_faulty_macros.rs Merge cfail and ui tests into ui tests 2017-11-24 11:32:35 +01:00
trace_faulty_macros.stderr Point to macro def span instead of whole body 2018-10-24 11:34:23 -07:00