rust/src/test/ui/match
bors 1d029c67e2 Auto merge of #57387 - euclio:nonstandard-style-suggestions, r=oli-obk
Use structured suggestions for nonstandard style lints

This PR modifies the lints in the nonstandard_style group to use structured suggestions. Note that there's a bit of tricky span calculation going on for the `crate_name` attribute. It also simplifies the code a bit: I don't think the "fallback" suggestions for these lints can actually be triggered.

Fixes #48103.
Fixes #52414.
2019-01-14 06:35:51 +00:00
..
match-argm-statics-2.rs
match-argm-statics-2.stderr
match-arm-statics.rs
match-arm-statics.stderr
match-byte-array-patterns-2.rs
match-byte-array-patterns-2.stderr
match-byte-array-patterns.rs
match-byte-array-patterns.stderr
match-fn-call.rs
match-fn-call.stderr
match-ill-type2.rs
match-ill-type2.stderr
match-join.rs
match-join.stderr
match-no-arms-unreachable-after.rs
match-no-arms-unreachable-after.stderr
match-non-exhaustive.rs
match-non-exhaustive.stderr
match-pattern-field-mismatch-2.rs
match-pattern-field-mismatch-2.stderr
match-pattern-field-mismatch.rs
match-pattern-field-mismatch.stderr
match-privately-empty.rs
match-privately-empty.stderr
match-range-fail-2.rs
match-range-fail-2.stderr
match-range-fail-dominate.rs
match-range-fail-dominate.stderr
match-range-fail.rs
match-range-fail.stderr Don't add label to the match expr when the type is not fully realized 2019-01-12 19:36:28 -08:00
match-ref-ice.rs
match-ref-ice.stderr
match-ref-mut-invariance.rs
match-ref-mut-invariance.stderr
match-ref-mut-let-invariance.rs
match-ref-mut-let-invariance.stderr
match-slice-patterns.rs
match-slice-patterns.stderr
match-struct.rs
match-struct.stderr Reword label as per review comment 2019-01-12 19:36:28 -08:00
match-tag-nullary.rs
match-tag-nullary.stderr
match-tag-unary.rs
match-tag-unary.stderr Reword label as per review comment 2019-01-12 19:36:28 -08:00
match-unresolved-one-arm.rs
match-unresolved-one-arm.stderr
match-vec-fixed.rs
match-vec-fixed.stderr
match-vec-mismatch-2.rs
match-vec-mismatch-2.stderr
match-vec-mismatch.rs
match-vec-mismatch.stderr
match-vec-unreachable.rs
match-vec-unreachable.stderr