rust/src/test/ui/pattern
James Addison 0174dd6f92 Compiler error messages: reduce assertiveness of message E0384
This message is emitted as guidance by the compiler when a developer attempts to reassign a value to an immutable variable.  Following the message will always currently work, but it may not always be the best course of action; following the 'consider ...' messaging pattern provides a hint to the developer that it could be wise to explore other alternatives.
2021-04-12 23:29:09 +01:00
..
bindings-after-at update tests 2021-03-19 19:45:42 -05:00
move-ref-patterns Compiler error messages: reduce assertiveness of message E0384 2021-04-12 23:29:09 +01:00
usefulness Remove redundant ignore-tidy-linelength annotations 2021-04-03 22:30:20 +02:00
integer-range-binding.rs Improve integer range tests 2020-11-21 01:38:42 +00:00
issue-6449.rs Move some tests to more reasonable directories - 2 2021-01-16 19:46:54 -03:00
issue-10392.rs Move some tests to more reasonable directories - 5 2021-03-20 11:41:24 -03:00
issue-12582.rs Move some tests to more reasonable directories - 2 2021-01-16 19:46:54 -03:00
issue-14221.rs Move some tests to more reasonable directories - 2 2021-01-16 19:46:54 -03:00
issue-14221.stderr Move some tests to more reasonable directories - 2 2021-01-16 19:46:54 -03:00
issue-22546.rs Move some tests to more reasonable directories - 2 2021-01-16 19:46:54 -03:00
issue-66270-pat-struct-parser-recovery.rs
issue-66270-pat-struct-parser-recovery.stderr
issue-67037-pat-tup-scrut-ty-diff-less-fields.rs Move some tests to more reasonable directories - 2 2021-01-16 19:46:54 -03:00
issue-67037-pat-tup-scrut-ty-diff-less-fields.stderr Move some tests to more reasonable directories - 2 2021-01-16 19:46:54 -03:00
issue-67776-match-same-name-enum-variant-refs.rs
issue-67776-match-same-name-enum-variant-refs.stderr rustc: Add a warning count upon completion 2020-04-11 16:15:24 +02:00
issue-68393-let-pat-assoc-constant.rs
issue-68393-let-pat-assoc-constant.stderr
issue-68394-let-pat-runtime-value.rs
issue-68394-let-pat-runtime-value.stderr
issue-68396-let-float-bug.rs
issue-68396-let-float-bug.stderr
issue-71042-opaquely-typed-constant-used-in-pattern.rs Revert a test change to make sure it's still testing the original issue 2020-09-24 17:11:47 +02:00
issue-71042-opaquely-typed-constant-used-in-pattern.stderr Revert a test change to make sure it's still testing the original issue 2020-09-24 17:11:47 +02:00
issue-72565.rs Add a regression test for issue-72565 2020-10-01 14:10:33 +09:00
issue-72565.stderr Add a regression test for issue-72565 2020-10-01 14:10:33 +09:00
issue-74539.rs Fix ICEs with @ .. binding 2020-07-31 07:50:29 +09:00
issue-74539.stderr Always show suggestions in their own subwindows 2021-01-12 19:25:51 -08:00
issue-74702.rs Fix ICEs with @ .. binding 2020-07-31 07:50:29 +09:00
issue-74702.stderr Fix ICEs with @ .. binding 2020-07-31 07:50:29 +09:00
issue-74954.rs Fix ICEs with @ .. binding 2020-07-31 07:50:29 +09:00
issue-80186-mut-binding-help-suggestion.rs Fix pretty printing an AST representing &(mut ident) 2020-12-20 13:11:07 +01:00
issue-80186-mut-binding-help-suggestion.stderr Fix pretty printing an AST representing &(mut ident) 2020-12-20 13:11:07 +01:00
issue-82290.rs Lower condition of if expression before it's "then" block 2021-02-19 17:00:31 -08:00
issue-82290.stderr Account for if (let pat = expr) {} 2021-03-07 13:49:36 -08:00
pat-shadow-in-nested-binding.rs
pat-shadow-in-nested-binding.stderr
pat-struct-field-expr-has-type.rs
pat-struct-field-expr-has-type.stderr path trimming: ignore type aliases 2021-02-06 12:03:48 +02:00
pat-tuple-bad-type.rs
pat-tuple-bad-type.stderr check_pat_tuple: use pattern_cause 2020-02-25 05:46:58 +01:00
pat-tuple-overfield.rs
pat-tuple-overfield.stderr check_pat_tuple: use pattern_cause 2020-02-25 05:46:58 +01:00
pat-tuple-underfield.rs Include .. suggestion if fields are all wildcards 2021-01-12 21:20:26 -08:00
pat-tuple-underfield.stderr Account for existing _ field pattern when suggesting .. 2021-01-26 16:53:56 -08:00
pat-type-err-formal-param.rs
pat-type-err-formal-param.stderr pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03:00
pat-type-err-let-stmt.rs
pat-type-err-let-stmt.stderr path trimming: ignore type aliases 2021-02-06 12:03:48 +02:00
patkind-litrange-no-expr.rs char not char 2020-09-26 13:34:49 +01:00
patkind-litrange-no-expr.stderr char not char 2020-09-26 13:34:49 +01:00
pattern-binding-disambiguation.rs
pattern-binding-disambiguation.stderr
pattern-error-continue.rs Clarify message about unresolved use 2020-09-01 18:38:14 +01:00
pattern-error-continue.stderr Clarify message about unresolved use 2020-09-01 18:38:14 +01:00
pattern-ident-path-generics.rs
pattern-ident-path-generics.stderr pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03:00
pattern-tyvar-2.rs Improve wording of "cannot multiply" type error 2020-10-17 22:19:25 -07:00
pattern-tyvar-2.stderr Improve wording of "cannot multiply" type error 2020-10-17 22:19:25 -07:00
pattern-tyvar.rs
pattern-tyvar.stderr pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03:00
rest-pat-semantic-disallowed.rs
rest-pat-semantic-disallowed.stderr
rest-pat-syntactic.rs
size-and-align.rs Move some tests to more reasonable directories - 2 2021-01-16 19:46:54 -03:00