rust/src/test/ui/span
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
..
borrowck-borrow-overloaded-auto-deref-mut.nll.stderr Remove licenses 2018-12-25 21:08:33 -07:00
borrowck-borrow-overloaded-auto-deref-mut.rs Remove licenses 2018-12-25 21:08:33 -07:00
borrowck-borrow-overloaded-auto-deref-mut.stderr Remove licenses 2018-12-25 21:08:33 -07:00
borrowck-borrow-overloaded-deref-mut.nll.stderr Remove licenses 2018-12-25 21:08:33 -07:00
borrowck-borrow-overloaded-deref-mut.rs Remove licenses 2018-12-25 21:08:33 -07:00
borrowck-borrow-overloaded-deref-mut.stderr Remove licenses 2018-12-25 21:08:33 -07:00
borrowck-call-is-borrow-issue-12224.nll.stderr Remove licenses 2018-12-25 21:08:33 -07:00
borrowck-call-is-borrow-issue-12224.rs Remove licenses 2018-12-25 21:08:33 -07:00
borrowck-call-is-borrow-issue-12224.stderr Remove licenses 2018-12-25 21:08:33 -07:00
borrowck-call-method-from-mut-aliasable.nll.stderr Remove licenses 2018-12-25 21:08:33 -07:00
borrowck-call-method-from-mut-aliasable.rs Remove licenses 2018-12-25 21:08:33 -07:00
borrowck-call-method-from-mut-aliasable.stderr Remove licenses 2018-12-25 21:08:33 -07:00
borrowck-fn-in-const-b.nll.stderr Remove licenses 2018-12-25 21:08:33 -07:00
borrowck-fn-in-const-b.rs Remove licenses 2018-12-25 21:08:33 -07:00
borrowck-fn-in-const-b.stderr Remove licenses 2018-12-25 21:08:33 -07:00
borrowck-let-suggestion-suffixes.nll.stderr Remove licenses 2018-12-25 21:08:33 -07:00
borrowck-let-suggestion-suffixes.rs Remove licenses 2018-12-25 21:08:33 -07:00
borrowck-let-suggestion-suffixes.stderr Remove licenses 2018-12-25 21:08:33 -07:00
borrowck-object-mutability.nll.stderr Remove licenses 2018-12-25 21:08:33 -07:00
borrowck-object-mutability.rs Remove licenses 2018-12-25 21:08:33 -07:00
borrowck-object-mutability.stderr Remove licenses 2018-12-25 21:08:33 -07:00
borrowck-ref-into-rvalue.nll.stderr Remove licenses 2018-12-25 21:08:33 -07:00
borrowck-ref-into-rvalue.rs Remove licenses 2018-12-25 21:08:33 -07:00
borrowck-ref-into-rvalue.stderr Remove licenses 2018-12-25 21:08:33 -07:00
coerce-suggestions.rs Remove licenses 2018-12-25 21:08:33 -07:00
coerce-suggestions.stderr Remove licenses 2018-12-25 21:08:33 -07:00
destructor-restrictions.nll.stderr Remove licenses 2018-12-25 21:08:33 -07:00
destructor-restrictions.rs Remove licenses 2018-12-25 21:08:33 -07:00
destructor-restrictions.stderr Remove licenses 2018-12-25 21:08:33 -07:00
dropck_arr_cycle_checked.nll.stderr Remove licenses 2018-12-25 21:08:33 -07:00
dropck_arr_cycle_checked.rs Remove licenses 2018-12-25 21:08:33 -07:00
dropck_arr_cycle_checked.stderr Remove licenses 2018-12-25 21:08:33 -07:00
dropck_direct_cycle_with_drop.nll.stderr Remove licenses 2018-12-25 21:08:33 -07:00
dropck_direct_cycle_with_drop.rs Remove licenses 2018-12-25 21:08:33 -07:00
dropck_direct_cycle_with_drop.stderr Remove licenses 2018-12-25 21:08:33 -07:00
dropck_misc_variants.nll.stderr Remove licenses 2018-12-25 21:08:33 -07:00
dropck_misc_variants.rs Remove licenses 2018-12-25 21:08:33 -07:00
dropck_misc_variants.stderr Remove licenses 2018-12-25 21:08:33 -07:00
dropck_vec_cycle_checked.nll.stderr Remove unused nll debug flags 2018-12-30 20:44:44 +00:00
dropck_vec_cycle_checked.rs Remove unused nll debug flags 2018-12-30 20:44:44 +00:00
dropck_vec_cycle_checked.stderr Remove unused nll debug flags 2018-12-30 20:44:44 +00:00
dropck-object-cycle.nll.stderr Remove licenses 2018-12-25 21:08:33 -07:00
dropck-object-cycle.rs Remove licenses 2018-12-25 21:08:33 -07:00
dropck-object-cycle.stderr Remove licenses 2018-12-25 21:08:33 -07:00
E0046.rs Remove licenses 2018-12-25 21:08:33 -07:00
E0046.stderr Remove licenses 2018-12-25 21:08:33 -07:00
E0057.rs Remove licenses 2018-12-25 21:08:33 -07:00
E0057.stderr Remove licenses 2018-12-25 21:08:33 -07:00
E0072.rs Remove licenses 2018-12-25 21:08:33 -07:00
E0072.stderr Remove licenses 2018-12-25 21:08:33 -07:00
E0204.rs Remove licenses 2018-12-25 21:08:33 -07:00
E0204.stderr Remove licenses 2018-12-25 21:08:33 -07:00
E0493.rs Remove licenses 2018-12-25 21:08:33 -07:00
E0493.stderr Remove licenses 2018-12-25 21:08:33 -07:00
E0535.rs Remove licenses 2018-12-25 21:08:33 -07:00
E0535.stderr Remove licenses 2018-12-25 21:08:33 -07:00
E0536.rs Remove licenses 2018-12-25 21:08:33 -07:00
E0536.stderr Remove licenses 2018-12-25 21:08:33 -07:00
E0537.rs Remove licenses 2018-12-25 21:08:33 -07:00
E0537.stderr Remove licenses 2018-12-25 21:08:33 -07:00
gated-features-attr-spans.rs Make sure feature gate errors are recoverable (take 2) 2019-01-06 14:58:17 +03:00
gated-features-attr-spans.stderr Remove licenses 2018-12-25 21:08:33 -07:00
impl-wrong-item-for-trait.rs Remove licenses 2018-12-25 21:08:33 -07:00
impl-wrong-item-for-trait.stderr Remove licenses 2018-12-25 21:08:33 -07:00
import-ty-params.rs Remove licenses 2018-12-25 21:08:33 -07:00
import-ty-params.stderr Remove licenses 2018-12-25 21:08:33 -07:00
issue28498-reject-ex1.nll.stderr Remove licenses 2018-12-25 21:08:33 -07:00
issue28498-reject-ex1.rs Remove licenses 2018-12-25 21:08:33 -07:00
issue28498-reject-ex1.stderr Remove licenses 2018-12-25 21:08:33 -07:00
issue28498-reject-lifetime-param.nll.stderr Remove licenses 2018-12-25 21:08:33 -07:00
issue28498-reject-lifetime-param.rs Remove licenses 2018-12-25 21:08:33 -07:00
issue28498-reject-lifetime-param.stderr Remove licenses 2018-12-25 21:08:33 -07:00
issue28498-reject-passed-to-fn.nll.stderr Remove licenses 2018-12-25 21:08:33 -07:00
issue28498-reject-passed-to-fn.rs Remove licenses 2018-12-25 21:08:33 -07:00
issue28498-reject-passed-to-fn.stderr Remove licenses 2018-12-25 21:08:33 -07:00
issue28498-reject-trait-bound.nll.stderr Remove licenses 2018-12-25 21:08:33 -07:00
issue28498-reject-trait-bound.rs Remove licenses 2018-12-25 21:08:33 -07:00
issue28498-reject-trait-bound.stderr Remove licenses 2018-12-25 21:08:33 -07:00
issue-7575.rs Remove licenses 2018-12-25 21:08:33 -07:00
issue-7575.stderr Remove licenses 2018-12-25 21:08:33 -07:00
issue-11925.nll.stderr Remove licenses 2018-12-25 21:08:33 -07:00
issue-11925.rs Remove licenses 2018-12-25 21:08:33 -07:00
issue-11925.stderr Remove licenses 2018-12-25 21:08:33 -07:00
issue-15480.nll.stderr Remove licenses 2018-12-25 21:08:33 -07:00
issue-15480.rs Remove licenses 2018-12-25 21:08:33 -07:00
issue-15480.stderr Remove licenses 2018-12-25 21:08:33 -07:00
issue-23338-locals-die-before-temps-of-body.nll.stderr Remove licenses 2018-12-25 21:08:33 -07:00
issue-23338-locals-die-before-temps-of-body.rs Remove licenses 2018-12-25 21:08:33 -07:00
issue-23338-locals-die-before-temps-of-body.stderr Remove licenses 2018-12-25 21:08:33 -07:00
issue-23729.rs Remove licenses 2018-12-25 21:08:33 -07:00
issue-23729.stderr Remove licenses 2018-12-25 21:08:33 -07:00
issue-23827.rs Remove licenses 2018-12-25 21:08:33 -07:00
issue-23827.stderr Remove licenses 2018-12-25 21:08:33 -07:00
issue-24356.rs Remove licenses 2018-12-25 21:08:33 -07:00
issue-24356.stderr Remove licenses 2018-12-25 21:08:33 -07:00
issue-24690.rs Remove licenses 2018-12-25 21:08:33 -07:00
issue-24690.stderr Unused variable suggestions on all patterns. 2019-01-28 10:46:31 +01:00
issue-24805-dropck-child-has-items-via-parent.nll.stderr Remove licenses 2018-12-25 21:08:33 -07:00
issue-24805-dropck-child-has-items-via-parent.rs Remove licenses 2018-12-25 21:08:33 -07:00
issue-24805-dropck-child-has-items-via-parent.stderr Remove licenses 2018-12-25 21:08:33 -07:00
issue-24805-dropck-trait-has-items.nll.stderr Remove licenses 2018-12-25 21:08:33 -07:00
issue-24805-dropck-trait-has-items.rs Remove licenses 2018-12-25 21:08:33 -07:00
issue-24805-dropck-trait-has-items.stderr Remove licenses 2018-12-25 21:08:33 -07:00
issue-24895-copy-clone-dropck.nll.stderr Remove licenses 2018-12-25 21:08:33 -07:00
issue-24895-copy-clone-dropck.rs Remove licenses 2018-12-25 21:08:33 -07:00
issue-24895-copy-clone-dropck.stderr Remove licenses 2018-12-25 21:08:33 -07:00
issue-25199.nll.stderr Remove licenses 2018-12-25 21:08:33 -07:00
issue-25199.rs Remove licenses 2018-12-25 21:08:33 -07:00
issue-25199.stderr Remove licenses 2018-12-25 21:08:33 -07:00
issue-26656.nll.stderr Remove licenses 2018-12-25 21:08:33 -07:00
issue-26656.rs Remove licenses 2018-12-25 21:08:33 -07:00
issue-26656.stderr Remove licenses 2018-12-25 21:08:33 -07:00
issue-27522.rs Remove licenses 2018-12-25 21:08:33 -07:00
issue-27522.stderr Remove licenses 2018-12-25 21:08:33 -07:00
issue-29106.nll.stderr Remove licenses 2018-12-25 21:08:33 -07:00
issue-29106.rs Remove licenses 2018-12-25 21:08:33 -07:00
issue-29106.stderr Remove licenses 2018-12-25 21:08:33 -07:00
issue-29595.rs Remove licenses 2018-12-25 21:08:33 -07:00
issue-29595.stderr Remove licenses 2018-12-25 21:08:33 -07:00
issue-33884.rs Remove licenses 2018-12-25 21:08:33 -07:00
issue-33884.stderr Remove licenses 2018-12-25 21:08:33 -07:00
issue-34264.rs Remove licenses 2018-12-25 21:08:33 -07:00
issue-34264.stderr Remove licenses 2018-12-25 21:08:33 -07:00
issue-35987.rs Remove licenses 2018-12-25 21:08:33 -07:00
issue-35987.stderr Remove licenses 2018-12-25 21:08:33 -07:00
issue-36530.rs Do not abort compilation if expansion produces errors 2018-12-27 15:51:36 +03:00
issue-36530.stderr Remove licenses 2018-12-25 21:08:33 -07:00
issue-36537.nll.stderr Remove licenses 2018-12-25 21:08:33 -07:00
issue-36537.rs Remove licenses 2018-12-25 21:08:33 -07:00
issue-36537.stderr Remove licenses 2018-12-25 21:08:33 -07:00
issue-37767.rs Remove licenses 2018-12-25 21:08:33 -07:00
issue-37767.stderr Remove licenses 2018-12-25 21:08:33 -07:00
issue-39018.rs Remove licenses 2018-12-25 21:08:33 -07:00
issue-39018.stderr Remove licenses 2018-12-25 21:08:33 -07:00
issue-39698.rs Remove licenses 2018-12-25 21:08:33 -07:00
issue-39698.stderr Remove licenses 2018-12-25 21:08:33 -07:00
issue-40157.nll.stderr Remove licenses 2018-12-25 21:08:33 -07:00
issue-40157.rs Remove licenses 2018-12-25 21:08:33 -07:00
issue-40157.stderr Remove licenses 2018-12-25 21:08:33 -07:00
issue-42234-unknown-receiver-type.rs Remove licenses 2018-12-25 21:08:33 -07:00
issue-42234-unknown-receiver-type.stderr Remove licenses 2018-12-25 21:08:33 -07:00
issue-43927-non-ADT-derive.rs Remove licenses 2018-12-25 21:08:33 -07:00
issue-43927-non-ADT-derive.stderr Remove licenses 2018-12-25 21:08:33 -07:00
lint-unused-unsafe.rs Remove licenses 2018-12-25 21:08:33 -07:00
lint-unused-unsafe.stderr Remove licenses 2018-12-25 21:08:33 -07:00
macro-span-replacement.rs Remove licenses 2018-12-25 21:08:33 -07:00
macro-span-replacement.stderr Remove licenses 2018-12-25 21:08:33 -07:00
macro-ty-params.rs Do not abort compilation if expansion produces errors 2018-12-27 15:51:36 +03:00
macro-ty-params.stderr Suggest usage of angle brackets 2019-01-19 19:39:58 -08:00
method-and-field-eager-resolution.rs Remove licenses 2018-12-25 21:08:33 -07:00
method-and-field-eager-resolution.stderr Remove licenses 2018-12-25 21:08:33 -07:00
missing-unit-argument.rs Remove licenses 2018-12-25 21:08:33 -07:00
missing-unit-argument.stderr Remove licenses 2018-12-25 21:08:33 -07:00
move-closure.rs Remove licenses 2018-12-25 21:08:33 -07:00
move-closure.stderr Remove licenses 2018-12-25 21:08:33 -07:00
multiline-span-E0072.rs Remove licenses 2018-12-25 21:08:33 -07:00
multiline-span-E0072.stderr Remove licenses 2018-12-25 21:08:33 -07:00
multiline-span-simple.rs Remove licenses 2018-12-25 21:08:33 -07:00
multiline-span-simple.stderr Remove licenses 2018-12-25 21:08:33 -07:00
multispan-import-lint.rs Remove licenses 2018-12-25 21:08:33 -07:00
multispan-import-lint.stderr Remove licenses 2018-12-25 21:08:33 -07:00
mut-arg-hint.nll.stderr Remove licenses 2018-12-25 21:08:33 -07:00
mut-arg-hint.rs Remove licenses 2018-12-25 21:08:33 -07:00
mut-arg-hint.stderr Remove licenses 2018-12-25 21:08:33 -07:00
mut-ptr-cant-outlive-ref.nll.stderr Remove licenses 2018-12-25 21:08:33 -07:00
mut-ptr-cant-outlive-ref.rs Remove licenses 2018-12-25 21:08:33 -07:00
mut-ptr-cant-outlive-ref.stderr Remove licenses 2018-12-25 21:08:33 -07:00
non-existing-module-import.rs Remove licenses 2018-12-25 21:08:33 -07:00
non-existing-module-import.stderr Remove licenses 2018-12-25 21:08:33 -07:00
pub-struct-field.rs Remove licenses 2018-12-25 21:08:33 -07:00
pub-struct-field.stderr Remove licenses 2018-12-25 21:08:33 -07:00
range-2.nll.stderr Remove licenses 2018-12-25 21:08:33 -07:00
range-2.rs Remove licenses 2018-12-25 21:08:33 -07:00
range-2.stderr Remove licenses 2018-12-25 21:08:33 -07:00
recursive-type-field.rs Remove licenses 2018-12-25 21:08:33 -07:00
recursive-type-field.stderr Remove licenses 2018-12-25 21:08:33 -07:00
regionck-unboxed-closure-lifetimes.nll.stderr Remove licenses 2018-12-25 21:08:33 -07:00
regionck-unboxed-closure-lifetimes.rs Remove licenses 2018-12-25 21:08:33 -07:00
regionck-unboxed-closure-lifetimes.stderr Remove licenses 2018-12-25 21:08:33 -07:00
regions-close-over-borrowed-ref-in-obj.nll.stderr Remove licenses 2018-12-25 21:08:33 -07:00
regions-close-over-borrowed-ref-in-obj.rs Remove licenses 2018-12-25 21:08:33 -07:00
regions-close-over-borrowed-ref-in-obj.stderr Remove licenses 2018-12-25 21:08:33 -07:00
regions-close-over-type-parameter-2.nll.stderr Remove licenses 2018-12-25 21:08:33 -07:00
regions-close-over-type-parameter-2.rs Remove licenses 2018-12-25 21:08:33 -07:00
regions-close-over-type-parameter-2.stderr Remove licenses 2018-12-25 21:08:33 -07:00
regions-escape-loop-via-variable.nll.stderr Remove licenses 2018-12-25 21:08:33 -07:00
regions-escape-loop-via-variable.rs Remove licenses 2018-12-25 21:08:33 -07:00
regions-escape-loop-via-variable.stderr Remove licenses 2018-12-25 21:08:33 -07:00
regions-escape-loop-via-vec.nll.stderr Remove licenses 2018-12-25 21:08:33 -07:00
regions-escape-loop-via-vec.rs Remove licenses 2018-12-25 21:08:33 -07:00
regions-escape-loop-via-vec.stderr Remove licenses 2018-12-25 21:08:33 -07:00
regions-infer-borrow-scope-within-loop.nll.stderr Remove licenses 2018-12-25 21:08:33 -07:00
regions-infer-borrow-scope-within-loop.rs Remove licenses 2018-12-25 21:08:33 -07:00
regions-infer-borrow-scope-within-loop.stderr Remove licenses 2018-12-25 21:08:33 -07:00
send-is-not-static-ensures-scoping.nll.stderr Remove licenses 2018-12-25 21:08:33 -07:00
send-is-not-static-ensures-scoping.rs Remove licenses 2018-12-25 21:08:33 -07:00
send-is-not-static-ensures-scoping.stderr Remove licenses 2018-12-25 21:08:33 -07:00
send-is-not-static-std-sync-2.nll.stderr Remove licenses 2018-12-25 21:08:33 -07:00
send-is-not-static-std-sync-2.rs Remove licenses 2018-12-25 21:08:33 -07:00
send-is-not-static-std-sync-2.stderr Remove licenses 2018-12-25 21:08:33 -07:00
send-is-not-static-std-sync.nll.stderr Remove licenses 2018-12-25 21:08:33 -07:00
send-is-not-static-std-sync.rs Remove licenses 2018-12-25 21:08:33 -07:00
send-is-not-static-std-sync.stderr Remove licenses 2018-12-25 21:08:33 -07:00
slice-borrow.nll.stderr Remove licenses 2018-12-25 21:08:33 -07:00
slice-borrow.rs Remove licenses 2018-12-25 21:08:33 -07:00
slice-borrow.stderr Remove licenses 2018-12-25 21:08:33 -07:00
suggestion-non-ascii.rs Remove licenses 2018-12-25 21:08:33 -07:00
suggestion-non-ascii.stderr Remove licenses 2018-12-25 21:08:33 -07:00
type-binding.rs Remove licenses 2018-12-25 21:08:33 -07:00
type-binding.stderr Remove licenses 2018-12-25 21:08:33 -07:00
typo-suggestion.rs Remove licenses 2018-12-25 21:08:33 -07:00
typo-suggestion.stderr clarify resolve typo suggestion 2019-01-09 14:11:00 -05:00
unused-warning-point-at-signature.rs Remove licenses 2018-12-25 21:08:33 -07:00
unused-warning-point-at-signature.stderr Remove licenses 2018-12-25 21:08:33 -07:00
vec_refs_data_with_early_death.nll.stderr Remove licenses 2018-12-25 21:08:33 -07:00
vec_refs_data_with_early_death.rs Remove licenses 2018-12-25 21:08:33 -07:00
vec_refs_data_with_early_death.stderr Remove licenses 2018-12-25 21:08:33 -07:00
vec-must-not-hide-type-from-dropck.nll.stderr Remove licenses 2018-12-25 21:08:33 -07:00
vec-must-not-hide-type-from-dropck.rs Remove licenses 2018-12-25 21:08:33 -07:00
vec-must-not-hide-type-from-dropck.stderr Remove licenses 2018-12-25 21:08:33 -07:00
visibility-ty-params.rs Do not abort compilation if expansion produces errors 2018-12-27 15:51:36 +03:00
visibility-ty-params.stderr clarify resolve typo suggestion 2019-01-09 14:11:00 -05:00
wf-method-late-bound-regions.nll.stderr Remove licenses 2018-12-25 21:08:33 -07:00
wf-method-late-bound-regions.rs Remove licenses 2018-12-25 21:08:33 -07:00
wf-method-late-bound-regions.stderr Remove licenses 2018-12-25 21:08:33 -07:00