rust/src/test/ui
kennytm 8c9d500b19 Rollup merge of #45952 - zackmdavis:singular_projection, r=estebank
deduplicate projection error (E0271) messages

The `ErrorId` variant takes a u16 so that `DiagnosticMessageId` can retain
its `Copy` status (the present author's first choice having been the "EXXX"
code as a string).

The duplicated "type mismatch resolving `{}`" literal is unfortunate, but
the `struct_span_err!` macro (which we want to mark that error code as
used) is fussy about taking a literal, and the one-time-diagnostics set
needs an owned string.

This is concerning #33941 and probably #45805!

r? @estebank
2017-11-13 17:09:47 +08:00
..
block-result Add suggestions for misspelled method names 2017-09-21 12:05:56 +02: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 Display spans correctly when there are non-half-width characters 2017-11-03 03:15:39 +09:00
compare-method rustc: Rearchitect lints to be emitted more eagerly 2017-08-09 09:13:51 -07:00
const-eval Add several lints into unused lint group 2017-10-29 22:14:23 +03:00
cross-crate-macro-backtrace Update tests for new format! error message 2017-11-06 16:28:30 +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 Revert "Change error count messages" 2017-07-02 13:49:30 +03:00
generator add proofs and fix postorder traversal 2017-09-20 16:36:24 +03:00
hello_world
impl-trait remove the hacky selection impl in method::probe 2017-08-29 14:34:43 +03: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 fix handling of Self 2017-10-02 10:43:36 +02:00
lint Auto merge of #45737 - oli-obk:json, r=petrochenkov 2017-11-06 12:18:12 +00:00
macros Auto merge of #45807 - tommyip:format_err, r=estebank 2017-11-11 07:33:31 +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 emit less info when we warn 2017-11-02 10:34:25 -04:00
on-unimplemented implement improved on_unimplemented directives 2017-09-03 13:10:54 +03:00
print_type_sizes Remove unnecessary unsafe in test/ui/print_type_sizes/nullable.rs 2017-07-22 20:38:40 +02:00
print-fuel
pub Revert "Change error count messages" 2017-07-02 13:49:30 +03:00
reachable rustc: Rearchitect lints to be emitted more eagerly 2017-08-09 09:13:51 -07:00
resolve Auto merge of #45050 - petrochenkov:ambind, r=nikomatsakis 2017-11-10 19:10:12 +00: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
rfc-2005-default-binding-mode typeck: suggest use of match_default_bindings feature 2017-10-30 19:09:23 -04:00
span Auto merge of #45870 - mikeyhew:arbitrary_self_types, r=arielb1 2017-11-12 07:31:08 +00:00
suggestions Rollup merge of #45856 - estebank:issue-45829, r=nikomatsakis 2017-11-10 17:07:05 +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 UI unit test for note when matching tuple enum with struct pattern 2017-09-23 20:49:28 +10: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
deprecated-macro_escape-inner.stderr
deprecated-macro_escape.rs
deprecated-macro_escape.stderr
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
deriving-meta-empty-trait-list.stderr
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
issue-19100.stderr
issue-22644.rs Fix a bug in diagnostics for x as usize < y 2017-10-09 20:02:37 +03:00
issue-22644.stderr Fix a bug in diagnostics for x as usize < y 2017-10-09 20:02:37 +03:00
issue-26548.rs
issue-26548.stderr report the total number of errors on compilation failure 2017-07-02 16:16:44 +03: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 resolve: Fix instability in import suggestions 2017-07-30 12:27:57 +03:00
issue-35976.rs Tweak error message 2017-08-03 14:40:40 +02:00
issue-35976.stderr Tweak error message 2017-08-03 14:40:40 +02: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 collect unused unsafe code 2017-11-06 23:41:18 +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
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
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 Add short message-format 2017-10-20 16:04:32 +02: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
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
test-should-panic-attr.stderr
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 Improve error message when duplicate names for type and trait method 2017-08-08 21:17:33 +02: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
update-references.sh