rust/src/test/ui/lint
David Wood 5f021e0023
Unused variable suggestions on all patterns.
This commit extends existing suggestions to prefix unused variable
bindings in match arms with an underscore so that it applies to all
patterns in a match arm.
2019-01-28 10:46:31 +01:00
..
auxiliary Remove licenses 2018-12-25 21:08:33 -07:00
command-line-lint-group-allow.rs Remove licenses 2018-12-25 21:08:33 -07:00
command-line-lint-group-deny.rs Remove licenses 2018-12-25 21:08:33 -07:00
command-line-lint-group-deny.stderr improve non_snake_case diagnostics 2019-01-08 13:24:38 -05:00
command-line-lint-group-forbid.rs Remove licenses 2018-12-25 21:08:33 -07:00
command-line-lint-group-forbid.stderr improve non_snake_case diagnostics 2019-01-08 13:24:38 -05:00
command-line-lint-group-warn.rs Remove licenses 2018-12-25 21:08:33 -07:00
command-line-lint-group-warn.stderr improve non_snake_case diagnostics 2019-01-08 13:24:38 -05:00
empty-lint-attributes.rs
inclusive-range-pattern-syntax.fixed Remove licenses 2018-12-25 21:08:33 -07:00
inclusive-range-pattern-syntax.rs Remove licenses 2018-12-25 21:08:33 -07:00
inclusive-range-pattern-syntax.stderr Remove licenses 2018-12-25 21:08:33 -07:00
issue-47390-unused-variable-in-struct-pattern.rs Remove licenses 2018-12-25 21:08:33 -07:00
issue-47390-unused-variable-in-struct-pattern.stderr Unused variable suggestions on all patterns. 2019-01-28 10:46:31 +01:00
issue-47775-nested-macro-unnecessary-parens-arg.rs Remove licenses 2018-12-25 21:08:33 -07:00
issue-47775-nested-macro-unnecessary-parens-arg.stderr Remove licenses 2018-12-25 21:08:33 -07:00
issue-54099-camel-case-underscore-types.rs
issue-54538-unused-parens-lint.rs Remove licenses 2018-12-25 21:08:33 -07:00
issue-54538-unused-parens-lint.stderr Remove licenses 2018-12-25 21:08:33 -07:00
lint-attr-non-item-node.rs Remove licenses 2018-12-25 21:08:33 -07:00
lint-attr-non-item-node.stderr Remove licenses 2018-12-25 21:08:33 -07:00
lint-change-warnings.rs Remove licenses 2018-12-25 21:08:33 -07:00
lint-change-warnings.stderr Remove licenses 2018-12-25 21:08:33 -07:00
lint-ctypes-enum.rs Remove licenses 2018-12-25 21:08:33 -07:00
lint-ctypes-enum.stderr Remove licenses 2018-12-25 21:08:33 -07:00
lint-ctypes.rs Remove licenses 2018-12-25 21:08:33 -07:00
lint-ctypes.stderr Remove licenses 2018-12-25 21:08:33 -07:00
lint-dead-code-1.rs Remove licenses 2018-12-25 21:08:33 -07:00
lint-dead-code-1.stderr Remove licenses 2018-12-25 21:08:33 -07:00
lint-dead-code-2.rs Remove licenses 2018-12-25 21:08:33 -07:00
lint-dead-code-2.stderr Remove licenses 2018-12-25 21:08:33 -07:00
lint-dead-code-3.rs Remove licenses 2018-12-25 21:08:33 -07:00
lint-dead-code-3.stderr Remove licenses 2018-12-25 21:08:33 -07:00
lint-dead-code-4.rs Remove licenses 2018-12-25 21:08:33 -07:00
lint-dead-code-4.stderr Remove licenses 2018-12-25 21:08:33 -07:00
lint-dead-code-5.rs Remove licenses 2018-12-25 21:08:33 -07:00
lint-dead-code-5.stderr Remove licenses 2018-12-25 21:08:33 -07:00
lint-dead-code-type-alias.rs Remove licenses 2018-12-25 21:08:33 -07:00
lint-dead-code-type-alias.stderr Remove licenses 2018-12-25 21:08:33 -07:00
lint-dead-code-variant.rs Remove licenses 2018-12-25 21:08:33 -07:00
lint-dead-code-variant.stderr Remove licenses 2018-12-25 21:08:33 -07:00
lint-directives-on-use-items-issue-10534.rs Remove licenses 2018-12-25 21:08:33 -07:00
lint-directives-on-use-items-issue-10534.stderr Remove licenses 2018-12-25 21:08:33 -07:00
lint-exceeding-bitshifts2.rs Remove licenses 2018-12-25 21:08:33 -07:00
lint-exceeding-bitshifts2.stderr Remove licenses 2018-12-25 21:08:33 -07:00
lint-exceeding-bitshifts.rs Remove licenses 2018-12-25 21:08:33 -07:00
lint-exceeding-bitshifts.stderr Remove licenses 2018-12-25 21:08:33 -07:00
lint-forbid-attr.rs Remove licenses 2018-12-25 21:08:33 -07:00
lint-forbid-attr.stderr Remove licenses 2018-12-25 21:08:33 -07:00
lint-forbid-cmdline.rs Remove licenses 2018-12-25 21:08:33 -07:00
lint-forbid-cmdline.stderr Remove licenses 2018-12-25 21:08:33 -07:00
lint-forbid-internal-unsafe.rs Fix tests 2019-01-15 18:02:46 +09:00
lint-forbid-internal-unsafe.stderr Fix tests 2019-01-15 18:02:46 +09:00
lint-group-nonstandard-style.rs remove remaining copyright headers 2018-12-28 21:50:33 +01:00
lint-group-nonstandard-style.stderr improve non_camel_case_types diagnostics 2019-01-08 13:24:38 -05:00
lint-impl-fn.rs Remove licenses 2018-12-25 21:08:33 -07:00
lint-impl-fn.stderr Remove licenses 2018-12-25 21:08:33 -07:00
lint-incoherent-auto-trait-objects.rs new trait alias tests 2019-01-10 17:04:26 -05:00
lint-incoherent-auto-trait-objects.stderr new trait alias tests 2019-01-10 17:04:26 -05:00
lint-lowercase-static-const-pattern-rename.rs improve non_upper_case_globals diagnostics 2019-01-08 13:24:38 -05:00
lint-lowercase-static-const-pattern.rs improve non_upper_case_globals diagnostics 2019-01-08 13:24:38 -05:00
lint-lowercase-static-const-pattern.stderr improve non_upper_case_globals diagnostics 2019-01-08 13:24:38 -05:00
lint-malformed.rs Implement basic input validation for built-in attributes 2019-01-13 14:17:19 +03:00
lint-malformed.stderr Implement basic input validation for built-in attributes 2019-01-13 14:17:19 +03:00
lint-misplaced-attr.rs Remove licenses 2018-12-25 21:08:33 -07:00
lint-misplaced-attr.stderr Remove licenses 2018-12-25 21:08:33 -07:00
lint-missing-copy-implementations.rs Remove licenses 2018-12-25 21:08:33 -07:00
lint-missing-copy-implementations.stderr Remove licenses 2018-12-25 21:08:33 -07:00
lint-missing-doc.rs Remove licenses 2018-12-25 21:08:33 -07:00
lint-missing-doc.stderr Remove licenses 2018-12-25 21:08:33 -07:00
lint-non-camel-case-types.rs improve non_camel_case_types diagnostics 2019-01-08 13:24:38 -05:00
lint-non-camel-case-types.stderr improve non_camel_case_types diagnostics 2019-01-08 13:24:38 -05:00
lint-non-camel-case-variant.rs improve non_camel_case_types diagnostics 2019-01-08 13:24:38 -05:00
lint-non-camel-case-with-trailing-underscores.rs improve non_camel_case_types diagnostics 2019-01-08 13:24:38 -05:00
lint-non-snake-case-crate-2.rs improve non_snake_case diagnostics 2019-01-08 13:24:38 -05:00
lint-non-snake-case-crate-2.stderr improve non_snake_case diagnostics 2019-01-08 13:24:38 -05:00
lint-non-snake-case-crate.rs improve non_snake_case diagnostics 2019-01-08 13:24:38 -05:00
lint-non-snake-case-crate.stderr improve non_snake_case diagnostics 2019-01-08 13:24:38 -05:00
lint-non-snake-case-functions.rs improve non_snake_case diagnostics 2019-01-08 13:24:38 -05:00
lint-non-snake-case-functions.stderr improve non_snake_case diagnostics 2019-01-08 13:24:38 -05:00
lint-non-snake-case-lifetimes.rs improve non_snake_case diagnostics 2019-01-08 13:24:38 -05:00
lint-non-snake-case-lifetimes.stderr improve non_snake_case diagnostics 2019-01-08 13:24:38 -05:00
lint-non-snake-case-modules.rs improve non_snake_case diagnostics 2019-01-08 13:24:38 -05:00
lint-non-snake-case-modules.stderr improve non_snake_case diagnostics 2019-01-08 13:24:38 -05:00
lint-non-snake-case-no-lowercase-equivalent.rs improve non_snake_case diagnostics 2019-01-08 13:24:38 -05:00
lint-non-uppercase-associated-const.rs improve non_upper_case_globals diagnostics 2019-01-08 13:24:38 -05:00
lint-non-uppercase-associated-const.stderr improve non_upper_case_globals diagnostics 2019-01-08 13:24:38 -05:00
lint-non-uppercase-statics.rs improve non_upper_case_globals diagnostics 2019-01-08 13:24:38 -05:00
lint-non-uppercase-statics.stderr improve non_upper_case_globals diagnostics 2019-01-08 13:24:38 -05:00
lint-nonstandard-style-unicode.rs improve non_camel_case_types diagnostics 2019-01-08 13:24:38 -05:00
lint-obsolete-attr.rs Remove licenses 2018-12-25 21:08:33 -07:00
lint-obsolete-attr.stderr Remove licenses 2018-12-25 21:08:33 -07:00
lint-output-format-2.rs Remove licenses 2018-12-25 21:08:33 -07:00
lint-output-format-2.stderr Remove licenses 2018-12-25 21:08:33 -07:00
lint-output-format.rs Remove licenses 2018-12-25 21:08:33 -07:00
lint-output-format.stderr Remove licenses 2018-12-25 21:08:33 -07:00
lint-owned-heap-memory.rs Remove licenses 2018-12-25 21:08:33 -07:00
lint-owned-heap-memory.stderr Remove licenses 2018-12-25 21:08:33 -07:00
lint-qualification.rs Remove licenses 2018-12-25 21:08:33 -07:00
lint-qualification.stderr Remove licenses 2018-12-25 21:08:33 -07:00
lint-removed-allow.rs Remove licenses 2018-12-25 21:08:33 -07:00
lint-removed-allow.stderr Unused variable suggestions on all patterns. 2019-01-28 10:46:31 +01:00
lint-removed-cmdline.rs Remove licenses 2018-12-25 21:08:33 -07:00
lint-removed-cmdline.stderr Unused variable suggestions on all patterns. 2019-01-28 10:46:31 +01:00
lint-removed.rs Remove licenses 2018-12-25 21:08:33 -07:00
lint-removed.stderr Unused variable suggestions on all patterns. 2019-01-28 10:46:31 +01:00
lint-renamed-allow.rs Remove licenses 2018-12-25 21:08:33 -07:00
lint-renamed-allow.stderr Unused variable suggestions on all patterns. 2019-01-28 10:46:31 +01:00
lint-renamed-cmdline.rs Remove licenses 2018-12-25 21:08:33 -07:00
lint-renamed-cmdline.stderr Unused variable suggestions on all patterns. 2019-01-28 10:46:31 +01:00
lint-renamed.rs Remove licenses 2018-12-25 21:08:33 -07:00
lint-renamed.stderr Unused variable suggestions on all patterns. 2019-01-28 10:46:31 +01:00
lint-shorthand-field.rs Remove licenses 2018-12-25 21:08:33 -07:00
lint-shorthand-field.stderr Remove licenses 2018-12-25 21:08:33 -07:00
lint-stability2.rs Remove licenses 2018-12-25 21:08:33 -07:00
lint-stability2.stderr Remove licenses 2018-12-25 21:08:33 -07:00
lint-stability3.rs Remove licenses 2018-12-25 21:08:33 -07:00
lint-stability3.stderr Remove licenses 2018-12-25 21:08:33 -07:00
lint-stability-2.rs Remove licenses 2018-12-25 21:08:33 -07:00
lint-stability-2.stderr Remove licenses 2018-12-25 21:08:33 -07:00
lint-stability-deprecated.rs Remove licenses 2018-12-25 21:08:33 -07:00
lint-stability-deprecated.stderr Remove licenses 2018-12-25 21:08:33 -07:00
lint-stability-fields-deprecated.rs Remove licenses 2018-12-25 21:08:33 -07:00
lint-stability-fields-deprecated.stderr Remove licenses 2018-12-25 21:08:33 -07:00
lint-stability-fields.rs Remove licenses 2018-12-25 21:08:33 -07:00
lint-stability-fields.stderr Remove licenses 2018-12-25 21:08:33 -07:00
lint-stability.rs Remove licenses 2018-12-25 21:08:33 -07:00
lint-stability.stderr Remove licenses 2018-12-25 21:08:33 -07:00
lint-type-limits2.rs Remove licenses 2018-12-25 21:08:33 -07:00
lint-type-limits2.stderr Remove licenses 2018-12-25 21:08:33 -07:00
lint-type-limits3.rs Remove licenses 2018-12-25 21:08:33 -07:00
lint-type-limits3.stderr Remove licenses 2018-12-25 21:08:33 -07:00
lint-type-limits.rs Remove licenses 2018-12-25 21:08:33 -07:00
lint-type-limits.stderr Remove licenses 2018-12-25 21:08:33 -07:00
lint-type-overflow2.rs Remove licenses 2018-12-25 21:08:33 -07:00
lint-type-overflow2.stderr Remove licenses 2018-12-25 21:08:33 -07:00
lint-type-overflow.rs Remove licenses 2018-12-25 21:08:33 -07:00
lint-type-overflow.stderr Remove licenses 2018-12-25 21:08:33 -07:00
lint-unconditional-recursion.rs Remove licenses 2018-12-25 21:08:33 -07:00
lint-unconditional-recursion.stderr Remove licenses 2018-12-25 21:08:33 -07:00
lint-unexported-no-mangle.rs Remove licenses 2018-12-25 21:08:33 -07:00
lint-unexported-no-mangle.stderr Remove licenses 2018-12-25 21:08:33 -07:00
lint-unknown-attr.rs Remove licenses 2018-12-25 21:08:33 -07:00
lint-unknown-attr.stderr Remove licenses 2018-12-25 21:08:33 -07:00
lint-unknown-feature-default.rs Remove licenses 2018-12-25 21:08:33 -07:00
lint-unknown-feature.rs Remove licenses 2018-12-25 21:08:33 -07:00
lint-unknown-lint-cmdline.rs Remove licenses 2018-12-25 21:08:33 -07:00
lint-unknown-lint-cmdline.stderr
lint-unknown-lint.rs Remove licenses 2018-12-25 21:08:33 -07:00
lint-unknown-lint.stderr Remove licenses 2018-12-25 21:08:33 -07:00
lint-unnecessary-import-braces.rs Remove licenses 2018-12-25 21:08:33 -07:00
lint-unnecessary-import-braces.stderr Remove licenses 2018-12-25 21:08:33 -07:00
lint-unnecessary-parens.rs Remove licenses 2018-12-25 21:08:33 -07:00
lint-unnecessary-parens.stderr Remove licenses 2018-12-25 21:08:33 -07:00
lint-unsafe-code.rs Fix tests 2019-01-15 18:02:46 +09:00
lint-unsafe-code.stderr Fix tests 2019-01-15 18:02:46 +09:00
lint-unused-extern-crate.rs Remove licenses 2018-12-25 21:08:33 -07:00
lint-unused-extern-crate.stderr Remove licenses 2018-12-25 21:08:33 -07:00
lint-unused-imports.rs Remove licenses 2018-12-25 21:08:33 -07:00
lint-unused-imports.stderr Remove licenses 2018-12-25 21:08:33 -07:00
lint-unused-mut-self.rs Remove licenses 2018-12-25 21:08:33 -07:00
lint-unused-mut-self.stderr Remove licenses 2018-12-25 21:08:33 -07:00
lint-unused-mut-variables.rs Remove licenses 2018-12-25 21:08:33 -07:00
lint-unused-mut-variables.stderr Remove licenses 2018-12-25 21:08:33 -07:00
lint-uppercase-variables.rs improve non_snake_case diagnostics 2019-01-08 13:24:38 -05:00
lint-uppercase-variables.stderr Unused variable suggestions on all patterns. 2019-01-28 10:46:31 +01:00
lints-in-foreign-macros.rs Remove licenses 2018-12-25 21:08:33 -07:00
lints-in-foreign-macros.stderr Remove licenses 2018-12-25 21:08:33 -07:00
must_use-trait.rs
must_use-trait.stderr
must_use-unit.rs
must_use-unit.stderr
must-use-ops.rs Remove licenses 2018-12-25 21:08:33 -07:00
must-use-ops.stderr Remove licenses 2018-12-25 21:08:33 -07:00
no-unused-parens-return-block.rs
not_found.rs remove remaining copyright headers 2018-12-28 21:50:33 +01:00
not_found.stderr update tests line numbers 2018-12-29 08:52:25 +01:00
outer-forbid.rs Remove licenses 2018-12-25 21:08:33 -07:00
outer-forbid.stderr Remove licenses 2018-12-25 21:08:33 -07:00
reasons-erroneous.rs
reasons-erroneous.stderr
reasons-forbidden.rs
reasons-forbidden.stderr
reasons.rs
reasons.stderr improve non_snake_case diagnostics 2019-01-08 13:24:38 -05:00
suggestions.rs Remove licenses 2018-12-25 21:08:33 -07:00
suggestions.stderr Remove licenses 2018-12-25 21:08:33 -07:00
test-inner-fn.rs Remove licenses 2018-12-25 21:08:33 -07:00
test-inner-fn.stderr Remove licenses 2018-12-25 21:08:33 -07:00
trivial-casts-featuring-type-ascription.rs Remove licenses 2018-12-25 21:08:33 -07:00
trivial-casts-featuring-type-ascription.stderr Remove licenses 2018-12-25 21:08:33 -07:00
trivial-casts.rs Remove licenses 2018-12-25 21:08:33 -07:00
trivial-casts.stderr Remove licenses 2018-12-25 21:08:33 -07:00
type-overflow.rs Remove licenses 2018-12-25 21:08:33 -07:00
type-overflow.stderr Remove licenses 2018-12-25 21:08:33 -07:00
unreachable_pub-pub_crate.rs Remove licenses 2018-12-25 21:08:33 -07:00
unreachable_pub-pub_crate.stderr Remove licenses 2018-12-25 21:08:33 -07:00
unreachable_pub.rs Remove licenses 2018-12-25 21:08:33 -07:00
unreachable_pub.stderr Remove licenses 2018-12-25 21:08:33 -07:00
unused_labels.rs Remove licenses 2018-12-25 21:08:33 -07:00
unused_labels.stderr Remove licenses 2018-12-25 21:08:33 -07:00
unused_parens_json_suggestion.rs Remove licenses 2018-12-25 21:08:33 -07:00
unused_parens_json_suggestion.stderr Remove licenses 2018-12-25 21:08:33 -07:00
use_suggestion_json.rs Remove licenses 2018-12-25 21:08:33 -07:00
use_suggestion_json.stderr Remove licenses 2018-12-25 21:08:33 -07:00