rust/src/test/ui
Esteban Küber c82e9e8e1e Do not attemt to continue parsing after pub ident
Try to identify the following code in order to provide better
diagnostics, but return the error to bail out early during the parse.
2017-11-24 07:34:32 -08:00
..
block-result move the signature into the closure type 2017-11-18 07:47:37 -05:00
borrowck Fix comments 2017-11-13 12:25:13 +09:00
check_match rustc: Rearchitect lints to be emitted more eagerly 2017-08-09 09:13:51 -07:00
closure_context report the total number of errors on compilation failure 2017-07-02 16:16:44 +03:00
codemap_tests address review comments 2017-11-20 18:03:20 +00:00
compare-method fix error messages relating to removing lint for E0276 2017-11-16 05:57:44 -05:00
const-eval Add several lints into unused lint group 2017-10-29 22:14:23 +03:00
cross-crate-macro-backtrace address review comments 2017-11-20 18:03:20 +00:00
did_you_mean output compiler message updated 2017-10-10 23:52:45 -03:00
dropck Revert "Change error count messages" 2017-07-02 13:49:30 +03:00
e0119 Print the conflicting impl on E0119 with external crate. 2017-10-23 04:23:40 +08:00
fmt Auto merge of #45198 - oli-obk:fmt_args, r=sfackler 2017-11-22 12:34:56 +00:00
generator add proofs and fix postorder traversal 2017-09-20 16:36:24 +03:00
hello_world add UI testing framework 2016-05-13 15:22:45 -07:00
impl-trait Add structured suggestions for trait imports 2017-11-20 09:17:27 +01:00
interior-mutability report the total number of errors on compilation failure 2017-07-02 16:16:44 +03:00
invalid-module-declaration Revert "Change error count messages" 2017-07-02 13:49:30 +03:00
issue-37311-type-length-limit Revert "Change error count messages" 2017-07-02 13:49:30 +03:00
issue-38875 rustc: evaluate fixed-length array length expressions lazily. 2017-09-11 08:41:16 +03:00
issue-40402-ref-hints reorder span labels 2017-07-18 00:07:37 +05:30
issue-41652 Add help for static method invalid use 2017-08-14 20:56:54 +02:00
lifetime-errors Improve SubSupConflict case with one named, one anonymous lifetime parameter #42701 2017-11-12 18:56:45 +03:00
lifetimes address review comments 2017-11-20 18:03:20 +00:00
lint Update ui test to rustc master 2017-11-20 12:42:38 +01:00
lub-glb issue better error message when LUB/GLB diverge under new behavior 2017-11-17 10:32:15 -05:00
macro_backtrace address review comments 2017-11-20 18:03:20 +00:00
macros address review comments 2017-11-20 18:03:20 +00:00
mismatched_types fallback to provided signature in the event of a type error 2017-11-02 18:38:24 -04:00
missing-items remove associated_consts feature gate 2017-07-06 11:52:25 -07:00
nll mir-borrowck: Remove parens in the lvalue description of a deref 2017-11-19 20:19:10 +01:00
on-unimplemented implement improved on_unimplemented directives 2017-09-03 13:10:54 +03:00
print-fuel UI test for -Z print-fuel=foo 2017-04-11 14:36:08 +03:00
print_type_sizes rustc: extend the niche-filling enum optimization past 2 variants. 2017-11-19 02:43:56 +02:00
pub Do not attemt to continue parsing after pub ident 2017-11-24 07:34:32 -08:00
reachable address review comments 2017-11-20 18:03:20 +00:00
resolve Remove left over dead code from suggestion diagnostic refactoring 2017-11-16 16:36:49 +01:00
rfc-2005-default-binding-mode typeck: suggest use of match_default_bindings feature 2017-10-30 19:09:23 -04:00
rfc_1940-must_use_on_functions update fn_must_use UI test to exercise nonprimitive comparisons 2017-09-23 10:11:39 -07:00
span Auto merge of #45879 - nikomatsakis:nll-kill-cyclic-closures, r=arielb1 2017-11-21 22:52:19 +00:00
suggestions Do not attemt to continue parsing after pub ident 2017-11-24 07:34:32 -08:00
token Merge remote-tracking branch 'origin/master' into proc_macro_api 2017-07-05 08:42:13 -07:00
transmute compiletest: Support custom normalization rules. 2017-07-11 16:57:52 +08:00
type-check address review comments 2017-11-20 18:03:20 +00:00
anonymous-higher-ranked-lifetime.rs Name higher-ranked lifetimes properly while displaying 2017-10-08 20:53:14 +09:00
anonymous-higher-ranked-lifetime.stderr Name higher-ranked lifetimes properly while displaying 2017-10-08 20:53:14 +09:00
cast-to-unsized-trait-object-suggestion.rs Move some tests from compile-fail to ui 2017-07-17 08:38:54 +02:00
cast-to-unsized-trait-object-suggestion.stderr Change some helps to suggestions 2017-07-17 10:03:37 +02:00
coercion-missing-tail-expected-type.rs Add test for #24889 2017-06-18 14:30:33 +02:00
coercion-missing-tail-expected-type.stderr report the total number of errors on compilation failure 2017-07-02 16:16:44 +03:00
const-expr-addr-operator.rs implement pattern-binding-modes RFC 2017-10-06 16:30:23 -04:00
const-expr-addr-operator.stderr implement pattern-binding-modes RFC 2017-10-06 16:30:23 -04:00
const-pattern-irrefutable.rs Move some tests to UI 2017-11-04 03:09:47 +03:00
const-pattern-irrefutable.stderr Give better help for identifier patterns failing exhaustiveness check 2017-11-04 03:09:47 +03:00
deprecated-macro_escape-inner.rs Introduce 'run-pass' header to 'ui' tests in compiletest. Fix issue #36516. 2017-06-02 23:28:22 +08:00
deprecated-macro_escape-inner.stderr Introduce 'run-pass' header to 'ui' tests in compiletest. Fix issue #36516. 2017-06-02 23:28:22 +08:00
deprecated-macro_escape.rs Introduce 'run-pass' header to 'ui' tests in compiletest. Fix issue #36516. 2017-06-02 23:28:22 +08:00
deprecated-macro_escape.stderr Introduce 'run-pass' header to 'ui' tests in compiletest. Fix issue #36516. 2017-06-02 23:28:22 +08:00
deref-suggestion.rs Add deref suggestion 2017-09-21 23:30:00 +02:00
deref-suggestion.stderr Remove unused AsciiExt imports and fix tests related to ascii methods 2017-11-03 21:27:40 +01:00
deriving-meta-empty-trait-list.rs Introduce 'run-pass' header to 'ui' tests in compiletest. Fix issue #36516. 2017-06-02 23:28:22 +08:00
deriving-meta-empty-trait-list.stderr Introduce 'run-pass' header to 'ui' tests in compiletest. Fix issue #36516. 2017-06-02 23:28:22 +08:00
enum-size-variance.rs compiletest: Support custom normalization rules. 2017-07-11 16:57:52 +08:00
enum-size-variance.stderr compiletest: Support custom normalization rules. 2017-07-11 16:57:52 +08:00
explain.rs Modify --explain to handle hidden code (# ...) and indented code blocks. 2017-06-23 15:31:53 +08:00
explain.stdout Modify --explain to handle hidden code (# ...) and indented code blocks. 2017-06-23 15:31:53 +08:00
extern-const.rs Better diagnostics and recovery for const in extern blocks 2017-08-10 00:52:50 +01:00
extern-const.stderr Reword error hint 2017-08-10 12:31:02 +01:00
issue-13483.rs Verify that an if condition block returns a value 2017-08-17 20:25:46 -07:00
issue-13483.stderr Verify that an if condition block returns a value 2017-08-17 20:25:46 -07:00
issue-19100.rs Introduce 'run-pass' header to 'ui' tests in compiletest. Fix issue #36516. 2017-06-02 23:28:22 +08:00
issue-19100.stderr Introduce 'run-pass' header to 'ui' tests in compiletest. Fix issue #36516. 2017-06-02 23:28:22 +08:00
issue-22644.rs Fix a bug in diagnostics for x as usize < y 2017-10-09 20:02:37 +03:00
issue-22644.stderr Remove left over dead code from suggestion diagnostic refactoring 2017-11-16 16:36:49 +01:00
issue-33525.rs report the total number of errors on compilation failure 2017-07-02 16:16:44 +03:00
issue-33525.stderr report the total number of errors on compilation failure 2017-07-02 16:16:44 +03:00
issue-33941.rs deduplicate projection error (E0271) messages 2017-11-12 19:34:27 -08:00
issue-33941.stderr deduplicate projection error (E0271) messages 2017-11-12 19:34:27 -08:00
issue-35241.rs Improve display of error E0308 for structs 2017-11-01 10:21:26 +11:00
issue-35241.stderr Improve display of error E0308 for structs 2017-11-01 10:21:26 +11:00
issue-35675.rs resolve: Fix instability in import suggestions 2017-07-30 12:27:57 +03:00
issue-35675.stderr Remove left over dead code from suggestion diagnostic refactoring 2017-11-16 16:36:49 +01:00
issue-35976.rs Tweak error message 2017-08-03 14:40:40 +02:00
issue-35976.stderr Add structured suggestions for proc macro use imports 2017-11-20 09:36:49 +01:00
issue-36400.rs Fix some E-needstest issues. 2017-10-04 15:12:01 +02:00
issue-36400.stderr Fix some E-needstest issues. 2017-10-04 15:12:01 +02:00
issue-40782.rs Add a nicer error message for missing in for loop, fixes #40782. 2017-10-30 22:33:57 +00:00
issue-40782.stderr Remove the redundant span_label. 2017-11-01 23:43:32 +00:00
issue-42106.rs Move issue-42106 test from compile-fail to ui 2017-10-30 11:28:44 +11:00
issue-42106.stderr Move issue-42106 test from compile-fail to ui 2017-10-30 11:28:44 +11:00
issue-42954.rs syntax: Apply recovery for casts to type ascription 2017-07-07 11:53:12 +03:00
issue-42954.stderr Adjust new suggestions to the suggestion guidelines 2017-07-21 13:59:17 +02:00
issue-43806.rs Don't trigger unused_result on functions returning empty enums 2017-08-11 22:07:28 -07:00
issue-44023.rs Fix a byte/char confusion issue in the error emitter 2017-08-25 21:46:54 +02:00
issue-44023.stderr Fix a byte/char confusion issue in the error emitter 2017-08-25 21:46:54 +02:00
issue-44078.rs Fix a byte/char confusion issue in the error emitter 2017-08-25 21:46:54 +02:00
issue-44078.stderr Display spans correctly when there are non-half-width characters 2017-11-03 03:15:39 +09:00
issue-44406.rs Fix a bug in diagnostics for x as usize < y 2017-10-09 20:02:37 +03:00
issue-44406.stderr Detect = -> : typo in let bindings 2017-11-03 17:39:16 -07:00
issue-45107-unnecessary-unsafe-in-closure.rs collect unused unsafe code 2017-11-06 23:41:18 +02:00
issue-45107-unnecessary-unsafe-in-closure.stderr check_unsafety: fix unused unsafe block duplication 2017-11-14 16:38:34 +02:00
issue-45296.rs don't issue "expected statement after outer attr." after inner attr. 2017-10-15 19:41:12 -07:00
issue-45296.stderr edit and fix bad spacing of inner-attribute-not-allowed note 2017-10-30 17:11:33 -07:00
issue-45730.rs Forbid casting to/from a pointer of unknown kind 2017-11-07 01:45:57 +09:00
issue-45730.stderr Forbid casting to/from a pointer of unknown kind 2017-11-07 01:45:57 +09:00
loop-break-value-no-repeat.rs Stabilize the loop_break_value feature 2017-05-17 21:34:37 +02:00
loop-break-value-no-repeat.stderr Revert "Change error count messages" 2017-07-02 13:49:30 +03:00
method-call-err-msg.rs Pass the full span for method calls 2017-10-13 20:20:22 -07:00
method-call-err-msg.stderr Pass the full span for method calls 2017-10-13 20:20:22 -07:00
method-call-lifetime-args-lint.rs Add an extra note to late_bound_lifetime_arguments error/lint 2017-07-19 23:12:58 +03:00
method-call-lifetime-args-lint.stderr Add an extra note to late_bound_lifetime_arguments error/lint 2017-07-19 23:12:58 +03:00
method-call-lifetime-args.rs Add an extra note to late_bound_lifetime_arguments error/lint 2017-07-19 23:12:58 +03:00
method-call-lifetime-args.stderr Add an extra note to late_bound_lifetime_arguments error/lint 2017-07-19 23:12:58 +03:00
mut-ref.rs Better diagnostics and recovery for mut ref in patterns 2017-07-26 18:59:07 +03:00
mut-ref.stderr Better diagnostics and recovery for mut ref in patterns 2017-07-26 18:59:07 +03:00
path-lookahead.rs rustc: Rearchitect lints to be emitted more eagerly 2017-08-09 09:13:51 -07:00
path-lookahead.stderr Add several lints into unused lint group 2017-10-29 22:14:23 +03:00
regions-fn-subtyping-return-static.rs make lifetimes that only appear in return type early-bound 2017-02-05 16:30:03 -05:00
regions-fn-subtyping-return-static.stderr Fix tests 2017-10-08 23:52:15 +09:00
resolve-error.stderr Change some helps to suggestions 2017-07-17 10:03:37 +02:00
shadowed-type-parameter.rs Move type parameter shadowing test to ui 2017-06-28 15:11:05 -07:00
shadowed-type-parameter.stderr report the total number of errors on compilation failure 2017-07-02 16:16:44 +03:00
short-error-format.rs Set short-message feature unstable 2017-11-15 18:13:33 +01:00
short-error-format.stderr Add short message-format 2017-10-20 16:04:32 +02:00
similar-tokens.rs Update tests for less noisy error messages 2017-10-25 07:39:15 +11:00
similar-tokens.stderr Update tests for less noisy error messages 2017-10-25 07:39:15 +11:00
static-lifetime.rs Improve E0477 error message 2017-05-09 20:51:18 +02:00
static-lifetime.stderr update test/ui/static-lifetime.stderr with new error message 2017-11-09 09:21:54 -05:00
str-lit-type-mismatch.rs Suggest changing literals instead of calling methods (fixes #44307) 2017-09-06 10:09:25 +02:00
str-lit-type-mismatch.stderr Suggest changing literals instead of calling methods (fixes #44307) 2017-09-06 10:09:25 +02:00
struct-field-init-syntax.rs Add error for comma after base struct field 2017-10-11 03:13:25 +02:00
struct-field-init-syntax.stderr Add error for comma after base struct field 2017-10-11 03:13:25 +02:00
test-should-panic-attr.rs Introduce 'run-pass' header to 'ui' tests in compiletest. Fix issue #36516. 2017-06-02 23:28:22 +08:00
test-should-panic-attr.stderr Introduce 'run-pass' header to 'ui' tests in compiletest. Fix issue #36516. 2017-06-02 23:28:22 +08:00
trait-method-private.rs Improve error message when duplicate names for type and trait method 2017-08-08 21:17:33 +02:00
trait-method-private.stderr Add structured suggestions for trait imports 2017-11-20 09:17:27 +01:00
unboxed-closure-no-cyclic-sig.rs give better error messages when a cycle arises 2017-11-18 07:49:52 -05:00
unboxed-closure-no-cyclic-sig.stderr give better error messages when a cycle arises 2017-11-18 07:49:52 -05:00
unboxed-closures-infer-fn-once-move-from-projection.rs look for the note on the guarantor, not the root cmt 2017-11-08 05:29:03 -05:00
unboxed-closures-infer-fn-once-move-from-projection.stderr look for the note on the guarantor, not the root cmt 2017-11-08 05:29:03 -05:00
union-fields.rs Handle type aliases as well 2017-08-06 20:46:32 +02:00
union-fields.stderr Handle type aliases as well 2017-08-06 20:46:32 +02:00
union-sized-field.rs Handle structs, unions and enums unsized field/variant separately 2017-08-18 10:24:53 +02:00
union-sized-field.stderr Handle structs, unions and enums unsized field/variant separately 2017-08-18 10:24:53 +02:00
update-all-references.sh pacify the mercilous tidy 2016-05-16 16:48:48 -04:00
update-references.sh cleanup error reporting and add ui tests 2016-11-01 14:04:14 -04:00