rust/src/test/ui/span
bors 0253d98382 Auto merge of #44847 - estebank:unused-signature, r=nikomatsakis
Point at signature on unused lint

```
warning: struct is never used: `Struct`
  --> $DIR/unused-warning-point-at-signature.rs:22:1
   |
22 | struct Struct {
   | ^^^^^^^^^^^^^
```

Fix #33961.
2017-09-29 07:05:10 +00:00
..
borrowck-borrow-overloaded-auto-deref-mut.rs
borrowck-borrow-overloaded-auto-deref-mut.stderr Revert "Change error count messages" 2017-07-02 13:49:30 +03:00
borrowck-borrow-overloaded-deref-mut.rs
borrowck-borrow-overloaded-deref-mut.stderr Revert "Change error count messages" 2017-07-02 13:49:30 +03:00
borrowck-call-is-borrow-issue-12224.rs Point at variable moved by closure 2017-04-25 22:03:05 -07:00
borrowck-call-is-borrow-issue-12224.stderr Revert "Change error count messages" 2017-07-02 13:49:30 +03:00
borrowck-call-method-from-mut-aliasable.rs
borrowck-call-method-from-mut-aliasable.stderr Revert "Change error count messages" 2017-07-02 13:49:30 +03:00
borrowck-fn-in-const-b.rs
borrowck-fn-in-const-b.stderr Revert "Change error count messages" 2017-07-02 13:49:30 +03:00
borrowck-let-suggestion-suffixes.rs Stabilize rvalue promotion to 'static. 2017-08-16 20:30:56 +03:00
borrowck-let-suggestion-suffixes.stderr Stabilize rvalue promotion to 'static. 2017-08-16 20:30:56 +03:00
borrowck-object-mutability.rs
borrowck-object-mutability.stderr Revert "Change error count messages" 2017-07-02 13:49:30 +03:00
borrowck-ref-into-rvalue.rs
borrowck-ref-into-rvalue.stderr Revert "Change error count messages" 2017-07-02 13:49:30 +03:00
coerce-suggestions.rs Use callsite's span for macro calls on suggestion 2017-05-31 23:48:19 -07:00
coerce-suggestions.stderr Revert "Change error count messages" 2017-07-02 13:49:30 +03:00
destructor-restrictions.rs
destructor-restrictions.stderr Revert "Change error count messages" 2017-07-02 13:49:30 +03:00
dropck_arr_cycle_checked.rs change #![feature(const_fn)] to specific gates 2017-09-16 15:53:02 +00:00
dropck_arr_cycle_checked.stderr Revert "Change error count messages" 2017-07-02 13:49:30 +03:00
dropck_direct_cycle_with_drop.rs
dropck_direct_cycle_with_drop.stderr Revert "Change error count messages" 2017-07-02 13:49:30 +03:00
dropck_misc_variants.rs
dropck_misc_variants.stderr Revert "Change error count messages" 2017-07-02 13:49:30 +03:00
dropck_vec_cycle_checked.rs change #![feature(const_fn)] to specific gates 2017-09-16 15:53:02 +00:00
dropck_vec_cycle_checked.stderr Revert "Change error count messages" 2017-07-02 13:49:30 +03:00
dropck-object-cycle.rs
dropck-object-cycle.stderr Revert "Change error count messages" 2017-07-02 13:49:30 +03:00
E0046.rs
E0046.stderr Revert "Change error count messages" 2017-07-02 13:49:30 +03:00
E0057.rs
E0057.stderr Revert "Change error count messages" 2017-07-02 13:49:30 +03:00
E0072.rs
E0072.stderr Revert "Change error count messages" 2017-07-02 13:49:30 +03:00
E0204.rs
E0204.stderr Revert "Change error count messages" 2017-07-02 13:49:30 +03:00
E0493.rs Stabilize drop_types_in_const. 2017-09-09 17:39:30 +03:00
E0493.stderr Stabilize drop_types_in_const. 2017-09-09 17:39:30 +03:00
E0535.rs
E0535.stderr Revert "Change error count messages" 2017-07-02 13:49:30 +03:00
E0536.rs
E0536.stderr Update ui tests 2017-08-17 21:59:19 +09:00
E0537.rs
E0537.stderr Update ui tests 2017-08-17 21:59:19 +09:00
gated-features-attr-spans.rs feature error span on attr. for fn_must_use, SIMD/align, macro reëxport 2017-08-28 00:58:41 -07:00
gated-features-attr-spans.stderr feature error span on attr. for fn_must_use, SIMD/align, macro reëxport 2017-08-28 00:58:41 -07:00
impl-wrong-item-for-trait.rs remove associated_consts feature gate 2017-07-06 11:52:25 -07:00
impl-wrong-item-for-trait.stderr remove associated_consts feature gate 2017-07-06 11:52:25 -07:00
import-ty-params.rs Fix fallout in tests. 2017-08-22 15:50:21 -07:00
import-ty-params.stderr Fix fallout in tests. 2017-08-22 15:50:21 -07:00
issue28498-reject-ex1.rs
issue28498-reject-ex1.stderr Revert "Change error count messages" 2017-07-02 13:49:30 +03:00
issue28498-reject-lifetime-param.rs
issue28498-reject-lifetime-param.stderr Revert "Change error count messages" 2017-07-02 13:49:30 +03:00
issue28498-reject-passed-to-fn.rs
issue28498-reject-passed-to-fn.stderr Revert "Change error count messages" 2017-07-02 13:49:30 +03:00
issue28498-reject-trait-bound.rs
issue28498-reject-trait-bound.stderr Revert "Change error count messages" 2017-07-02 13:49:30 +03:00
issue-7575.rs Remove more anonymous trait method parameters 2017-07-08 01:56:27 +03:00
issue-7575.stderr Add help for static method invalid use 2017-08-14 20:56:54 +02:00
issue-11925.rs
issue-11925.stderr Revert "Change error count messages" 2017-07-02 13:49:30 +03:00
issue-15480.rs Stabilize rvalue promotion to 'static. 2017-08-16 20:30:56 +03:00
issue-15480.stderr Stabilize rvalue promotion to 'static. 2017-08-16 20:30:56 +03:00
issue-23338-locals-die-before-temps-of-body.rs
issue-23338-locals-die-before-temps-of-body.stderr Revert "Change error count messages" 2017-07-02 13:49:30 +03:00
issue-23729.rs
issue-23729.stderr Revert "Change error count messages" 2017-07-02 13:49:30 +03:00
issue-23827.rs
issue-23827.stderr Revert "Change error count messages" 2017-07-02 13:49:30 +03:00
issue-24356.rs
issue-24356.stderr Revert "Change error count messages" 2017-07-02 13:49:30 +03:00
issue-24690.rs rustc: Rearchitect lints to be emitted more eagerly 2017-08-09 09:13:51 -07:00
issue-24690.stderr "avoid" is a better word here than "disable" 2017-09-14 17:23:47 +02:00
issue-24805-dropck-child-has-items-via-parent.rs
issue-24805-dropck-child-has-items-via-parent.stderr Revert "Change error count messages" 2017-07-02 13:49:30 +03:00
issue-24805-dropck-trait-has-items.rs
issue-24805-dropck-trait-has-items.stderr Revert "Change error count messages" 2017-07-02 13:49:30 +03:00
issue-24895-copy-clone-dropck.rs
issue-24895-copy-clone-dropck.stderr Revert "Change error count messages" 2017-07-02 13:49:30 +03:00
issue-25199.rs
issue-25199.stderr Revert "Change error count messages" 2017-07-02 13:49:30 +03:00
issue-26656.rs
issue-26656.stderr Revert "Change error count messages" 2017-07-02 13:49:30 +03:00
issue-27522.rs
issue-27522.stderr Revert "Change error count messages" 2017-07-02 13:49:30 +03:00
issue-29106.rs
issue-29106.stderr Revert "Change error count messages" 2017-07-02 13:49:30 +03:00
issue-29595.rs remove associated_consts feature gate 2017-07-06 11:52:25 -07:00
issue-29595.stderr remove associated_consts feature gate 2017-07-06 11:52:25 -07:00
issue-33884.rs
issue-33884.stderr Revert "Change error count messages" 2017-07-02 13:49:30 +03:00
issue-34264.rs
issue-34264.stderr report the total number of errors on compilation failure 2017-07-02 16:16:44 +03:00
issue-35987.rs
issue-35987.stderr WIP: don't suggest placing use statements into expanded code 2017-08-31 15:45:16 +02:00
issue-36530.rs
issue-36530.stderr Revert "Change error count messages" 2017-07-02 13:49:30 +03:00
issue-36537.rs
issue-36537.stderr Revert "Change error count messages" 2017-07-02 13:49:30 +03:00
issue-37767.rs
issue-37767.stderr Revert "Change error count messages" 2017-07-02 13:49:30 +03:00
issue-39018.rs
issue-39018.stderr Change some helps to suggestions 2017-07-17 10:03:37 +02:00
issue-39698.rs
issue-39698.stderr Revert "Change error count messages" 2017-07-02 13:49:30 +03:00
issue-40157.rs
issue-40157.stderr Revert "Change error count messages" 2017-07-02 13:49:30 +03:00
issue-43927-non-ADT-derive.rs only set non-ADT derive error once per attribute, not per trait 2017-09-21 21:20:23 -07:00
issue-43927-non-ADT-derive.stderr suggest an outer attribute when #![derive(...)] (predictably) fails 2017-09-21 21:20:31 -07:00
lint-unused-unsafe.rs
lint-unused-unsafe.stderr rustc: Remove the used_unsafe field on TyCtxt 2017-08-30 16:09:02 -07:00
loan-extend.rs
loan-extend.stderr Revert "Change error count messages" 2017-07-02 13:49:30 +03:00
macro-span-replacement.rs rustc: Rearchitect lints to be emitted more eagerly 2017-08-09 09:13:51 -07:00
macro-span-replacement.stderr rustc: Rearchitect lints to be emitted more eagerly 2017-08-09 09:13:51 -07:00
macro-ty-params.rs Fix fallout in tests. 2017-08-22 15:50:21 -07:00
macro-ty-params.stderr Fix fallout in tests. 2017-08-22 15:50:21 -07:00
missing-unit-argument.rs Suggest Ok(()) when encountering Ok() 2017-08-28 14:13:14 +02:00
missing-unit-argument.stderr Suggest Ok(()) when encountering Ok() 2017-08-28 14:13:14 +02:00
move-closure.rs
move-closure.stderr Revert "Change error count messages" 2017-07-02 13:49:30 +03:00
multiline-span-E0072.rs
multiline-span-E0072.stderr Revert "Change error count messages" 2017-07-02 13:49:30 +03:00
multiline-span-simple.rs
multiline-span-simple.stderr Revert "Change error count messages" 2017-07-02 13:49:30 +03:00
multispan-import-lint.rs rustc: Rearchitect lints to be emitted more eagerly 2017-08-09 09:13:51 -07:00
multispan-import-lint.stderr rustc: Rearchitect lints to be emitted more eagerly 2017-08-09 09:13:51 -07:00
mut-arg-hint.rs
mut-arg-hint.stderr Revert "Change error count messages" 2017-07-02 13:49:30 +03:00
mut-ptr-cant-outlive-ref.rs
mut-ptr-cant-outlive-ref.stderr Revert "Change error count messages" 2017-07-02 13:49:30 +03:00
non-existing-module-import.rs Point at path segment on module not found 2017-07-25 21:25:43 -07:00
non-existing-module-import.stderr Point at path segment on module not found 2017-07-25 21:25:43 -07:00
pub-struct-field.rs
pub-struct-field.stderr Revert "Change error count messages" 2017-07-02 13:49:30 +03:00
range-2.rs
range-2.stderr Revert "Change error count messages" 2017-07-02 13:49:30 +03:00
recursive-type-field.rs Point at fields that make the type recursive 2017-05-04 19:11:58 -07:00
recursive-type-field.stderr Revert "Change error count messages" 2017-07-02 13:49:30 +03:00
regionck-unboxed-closure-lifetimes.rs
regionck-unboxed-closure-lifetimes.stderr Revert "Change error count messages" 2017-07-02 13:49:30 +03:00
regions-close-over-borrowed-ref-in-obj.rs Stabilize rvalue promotion to 'static. 2017-08-16 20:30:56 +03:00
regions-close-over-borrowed-ref-in-obj.stderr Stabilize rvalue promotion to 'static. 2017-08-16 20:30:56 +03:00
regions-close-over-type-parameter-2.rs
regions-close-over-type-parameter-2.stderr Revert "Change error count messages" 2017-07-02 13:49:30 +03:00
regions-escape-loop-via-variable.rs
regions-escape-loop-via-variable.stderr Revert "Change error count messages" 2017-07-02 13:49:30 +03:00
regions-escape-loop-via-vec.rs
regions-escape-loop-via-vec.stderr Revert "Change error count messages" 2017-07-02 13:49:30 +03:00
regions-infer-borrow-scope-within-loop.rs
regions-infer-borrow-scope-within-loop.stderr Revert "Change error count messages" 2017-07-02 13:49:30 +03:00
send-is-not-static-ensures-scoping.rs
send-is-not-static-ensures-scoping.stderr Revert "Change error count messages" 2017-07-02 13:49:30 +03:00
send-is-not-static-std-sync-2.rs
send-is-not-static-std-sync-2.stderr Revert "Change error count messages" 2017-07-02 13:49:30 +03:00
send-is-not-static-std-sync.rs
send-is-not-static-std-sync.stderr Revert "Change error count messages" 2017-07-02 13:49:30 +03:00
slice-borrow.rs Stabilize rvalue promotion to 'static. 2017-08-16 20:30:56 +03:00
slice-borrow.stderr Stabilize rvalue promotion to 'static. 2017-08-16 20:30:56 +03:00
suggestion-non-ascii.rs
suggestion-non-ascii.stderr Change some helps to suggestions 2017-07-17 10:03:37 +02:00
type-binding.rs
type-binding.stderr Revert "Change error count messages" 2017-07-02 13:49:30 +03:00
typo-suggestion.rs
typo-suggestion.stderr Revert "Change error count messages" 2017-07-02 13:49:30 +03:00
unused-warning-point-at-signature.rs Point at signature on unused lint 2017-09-25 13:25:54 -07:00
unused-warning-point-at-signature.stderr Point at signature on unused lint 2017-09-25 13:25:54 -07:00
vec_refs_data_with_early_death.rs
vec_refs_data_with_early_death.stderr Revert "Change error count messages" 2017-07-02 13:49:30 +03:00
vec-must-not-hide-type-from-dropck.rs change #![feature(const_fn)] to specific gates 2017-09-16 15:53:02 +00:00
vec-must-not-hide-type-from-dropck.stderr Revert "Change error count messages" 2017-07-02 13:49:30 +03:00
visibility-ty-params.rs Fix fallout in tests. 2017-08-22 15:50:21 -07:00
visibility-ty-params.stderr Fix fallout in tests. 2017-08-22 15:50:21 -07:00
wf-method-late-bound-regions.rs
wf-method-late-bound-regions.stderr Revert "Change error count messages" 2017-07-02 13:49:30 +03:00