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
command-line-lint-group-allow.rs
command-line-lint-group-deny.rs
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
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
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
inclusive-range-pattern-syntax.rs
inclusive-range-pattern-syntax.stderr
issue-47390-unused-variable-in-struct-pattern.rs
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
issue-47775-nested-macro-unnecessary-parens-arg.stderr
issue-54099-camel-case-underscore-types.rs
issue-54538-unused-parens-lint.rs
issue-54538-unused-parens-lint.stderr
lint-attr-non-item-node.rs
lint-attr-non-item-node.stderr
lint-change-warnings.rs
lint-change-warnings.stderr
lint-ctypes-enum.rs
lint-ctypes-enum.stderr
lint-ctypes.rs
lint-ctypes.stderr
lint-dead-code-1.rs
lint-dead-code-1.stderr
lint-dead-code-2.rs
lint-dead-code-2.stderr
lint-dead-code-3.rs
lint-dead-code-3.stderr
lint-dead-code-4.rs
lint-dead-code-4.stderr
lint-dead-code-5.rs
lint-dead-code-5.stderr
lint-dead-code-type-alias.rs
lint-dead-code-type-alias.stderr
lint-dead-code-variant.rs
lint-dead-code-variant.stderr
lint-directives-on-use-items-issue-10534.rs
lint-directives-on-use-items-issue-10534.stderr
lint-exceeding-bitshifts2.rs
lint-exceeding-bitshifts2.stderr
lint-exceeding-bitshifts.rs
lint-exceeding-bitshifts.stderr
lint-forbid-attr.rs
lint-forbid-attr.stderr
lint-forbid-cmdline.rs
lint-forbid-cmdline.stderr
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
lint-impl-fn.stderr
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
lint-misplaced-attr.stderr
lint-missing-copy-implementations.rs
lint-missing-copy-implementations.stderr
lint-missing-doc.rs
lint-missing-doc.stderr
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
lint-obsolete-attr.stderr
lint-output-format-2.rs
lint-output-format-2.stderr
lint-output-format.rs
lint-output-format.stderr
lint-owned-heap-memory.rs
lint-owned-heap-memory.stderr
lint-qualification.rs
lint-qualification.stderr
lint-removed-allow.rs
lint-removed-allow.stderr Unused variable suggestions on all patterns. 2019-01-28 10:46:31 +01:00
lint-removed-cmdline.rs
lint-removed-cmdline.stderr Unused variable suggestions on all patterns. 2019-01-28 10:46:31 +01:00
lint-removed.rs
lint-removed.stderr Unused variable suggestions on all patterns. 2019-01-28 10:46:31 +01:00
lint-renamed-allow.rs
lint-renamed-allow.stderr Unused variable suggestions on all patterns. 2019-01-28 10:46:31 +01:00
lint-renamed-cmdline.rs
lint-renamed-cmdline.stderr Unused variable suggestions on all patterns. 2019-01-28 10:46:31 +01:00
lint-renamed.rs
lint-renamed.stderr Unused variable suggestions on all patterns. 2019-01-28 10:46:31 +01:00
lint-shorthand-field.rs
lint-shorthand-field.stderr
lint-stability2.rs
lint-stability2.stderr
lint-stability3.rs
lint-stability3.stderr
lint-stability-2.rs
lint-stability-2.stderr
lint-stability-deprecated.rs
lint-stability-deprecated.stderr
lint-stability-fields-deprecated.rs
lint-stability-fields-deprecated.stderr
lint-stability-fields.rs
lint-stability-fields.stderr
lint-stability.rs
lint-stability.stderr
lint-type-limits2.rs
lint-type-limits2.stderr
lint-type-limits3.rs
lint-type-limits3.stderr
lint-type-limits.rs
lint-type-limits.stderr
lint-type-overflow2.rs
lint-type-overflow2.stderr
lint-type-overflow.rs
lint-type-overflow.stderr
lint-unconditional-recursion.rs
lint-unconditional-recursion.stderr
lint-unexported-no-mangle.rs
lint-unexported-no-mangle.stderr
lint-unknown-attr.rs
lint-unknown-attr.stderr
lint-unknown-feature-default.rs
lint-unknown-feature.rs
lint-unknown-lint-cmdline.rs
lint-unknown-lint-cmdline.stderr
lint-unknown-lint.rs
lint-unknown-lint.stderr
lint-unnecessary-import-braces.rs
lint-unnecessary-import-braces.stderr
lint-unnecessary-parens.rs
lint-unnecessary-parens.stderr
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
lint-unused-extern-crate.stderr
lint-unused-imports.rs
lint-unused-imports.stderr
lint-unused-mut-self.rs
lint-unused-mut-self.stderr
lint-unused-mut-variables.rs
lint-unused-mut-variables.stderr
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
lints-in-foreign-macros.stderr
must_use-trait.rs
must_use-trait.stderr
must_use-unit.rs
must_use-unit.stderr
must-use-ops.rs
must-use-ops.stderr
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
outer-forbid.stderr
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
suggestions.stderr
test-inner-fn.rs
test-inner-fn.stderr
trivial-casts-featuring-type-ascription.rs
trivial-casts-featuring-type-ascription.stderr
trivial-casts.rs
trivial-casts.stderr
type-overflow.rs
type-overflow.stderr
unreachable_pub-pub_crate.rs
unreachable_pub-pub_crate.stderr
unreachable_pub.rs
unreachable_pub.stderr
unused_labels.rs
unused_labels.stderr
unused_parens_json_suggestion.rs
unused_parens_json_suggestion.stderr
use_suggestion_json.rs
use_suggestion_json.stderr