rust/src/test/ui/span
Esteban Küber 4142d7bb89 Use callsite's span for macro calls on suggestion
When suggesting an appropriate mutability for a macro call, use the call
span instead of the expanded macro's span.
2017-05-31 23:48:19 -07:00
..
borrowck-borrow-overloaded-auto-deref-mut.rs
borrowck-borrow-overloaded-auto-deref-mut.stderr Add new error codes and update tests 2017-05-27 19:58:52 +02:00
borrowck-borrow-overloaded-deref-mut.rs
borrowck-borrow-overloaded-deref-mut.stderr Add new error codes and update tests 2017-05-27 19:58:52 +02: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 Add new error codes and update tests 2017-05-27 19:58:52 +02:00
borrowck-call-method-from-mut-aliasable.rs
borrowck-call-method-from-mut-aliasable.stderr Add new error codes and update tests 2017-05-27 19:58:52 +02:00
borrowck-fn-in-const-b.rs
borrowck-fn-in-const-b.stderr Add new error codes and update tests 2017-05-27 19:58:52 +02:00
borrowck-let-suggestion-suffixes.rs
borrowck-let-suggestion-suffixes.stderr Add new error codes and update tests 2017-05-27 19:58:52 +02:00
borrowck-object-mutability.rs
borrowck-object-mutability.stderr Add new error codes and update tests 2017-05-27 19:58:52 +02:00
borrowck-ref-into-rvalue.rs
borrowck-ref-into-rvalue.stderr Add new error codes and update tests 2017-05-27 19:58:52 +02:00
coerce-suggestions.rs Use callsite's span for macro calls on suggestion 2017-05-31 23:48:19 -07:00
coerce-suggestions.stderr Use callsite's span for macro calls on suggestion 2017-05-31 23:48:19 -07:00
destructor-restrictions.rs
destructor-restrictions.stderr Add new error codes and update tests 2017-05-27 19:58:52 +02:00
dropck_arr_cycle_checked.rs
dropck_arr_cycle_checked.stderr Add new error codes and update tests 2017-05-27 19:58:52 +02:00
dropck_direct_cycle_with_drop.rs
dropck_direct_cycle_with_drop.stderr Add new error codes and update tests 2017-05-27 19:58:52 +02:00
dropck_misc_variants.rs
dropck_misc_variants.stderr Add new error codes and update tests 2017-05-27 19:58:52 +02:00
dropck_vec_cycle_checked.rs
dropck_vec_cycle_checked.stderr Add new error codes and update tests 2017-05-27 19:58:52 +02:00
dropck-object-cycle.rs
dropck-object-cycle.stderr Add new error codes and update tests 2017-05-27 19:58:52 +02:00
E0046.rs
E0046.stderr Change error count messages 2017-05-24 16:14:38 +07:00
E0057.rs
E0057.stderr Change error count messages 2017-05-24 16:14:38 +07:00
E0072.rs Add a way to get shorter spans until char for pointing at defs 2017-04-12 01:10:48 -07:00
E0072.stderr Change error count messages 2017-05-24 16:14:38 +07:00
E0204.rs
E0204.stderr Change error count messages 2017-05-24 16:14:38 +07:00
E0493.rs
E0493.stderr Change error count messages 2017-05-24 16:14:38 +07:00
E0535.rs
E0535.stderr Change error count messages 2017-05-24 16:14:38 +07:00
E0536.rs
E0536.stderr Change error count messages 2017-05-24 16:14:38 +07:00
E0537.rs
E0537.stderr Change error count messages 2017-05-24 16:14:38 +07:00
impl-wrong-item-for-trait.rs
impl-wrong-item-for-trait.stderr Change error count messages 2017-05-24 16:14:38 +07:00
issue28498-reject-ex1.rs
issue28498-reject-ex1.stderr Add new error codes and update tests 2017-05-27 19:58:52 +02:00
issue28498-reject-lifetime-param.rs
issue28498-reject-lifetime-param.stderr Add new error codes and update tests 2017-05-27 19:58:52 +02:00
issue28498-reject-passed-to-fn.rs
issue28498-reject-passed-to-fn.stderr Add new error codes and update tests 2017-05-27 19:58:52 +02:00
issue28498-reject-trait-bound.rs
issue28498-reject-trait-bound.stderr Add new error codes and update tests 2017-05-27 19:58:52 +02:00
issue-7575.rs
issue-7575.stderr Add new error codes and update tests 2017-05-27 19:58:52 +02:00
issue-11925.rs
issue-11925.stderr Add new error codes and update tests 2017-05-27 19:58:52 +02:00
issue-15480.rs
issue-15480.stderr Add new error codes and update tests 2017-05-27 19:58:52 +02:00
issue-23338-locals-die-before-temps-of-body.rs
issue-23338-locals-die-before-temps-of-body.stderr Add new error codes and update tests 2017-05-27 19:58:52 +02:00
issue-23729.rs
issue-23729.stderr Change error count messages 2017-05-24 16:14:38 +07:00
issue-23827.rs
issue-23827.stderr Change error count messages 2017-05-24 16:14:38 +07:00
issue-24356.rs
issue-24356.stderr Change error count messages 2017-05-24 16:14:38 +07:00
issue-24690.rs
issue-24690.stderr Change error count messages 2017-05-24 16:14:38 +07:00
issue-24805-dropck-child-has-items-via-parent.rs
issue-24805-dropck-child-has-items-via-parent.stderr Add new error codes and update tests 2017-05-27 19:58:52 +02:00
issue-24805-dropck-trait-has-items.rs
issue-24805-dropck-trait-has-items.stderr Add new error codes and update tests 2017-05-27 19:58:52 +02:00
issue-24895-copy-clone-dropck.rs
issue-24895-copy-clone-dropck.stderr Add new error codes and update tests 2017-05-27 19:58:52 +02:00
issue-25199.rs
issue-25199.stderr Add new error codes and update tests 2017-05-27 19:58:52 +02:00
issue-26656.rs
issue-26656.stderr Add new error codes and update tests 2017-05-27 19:58:52 +02:00
issue-27522.rs
issue-27522.stderr Change error count messages 2017-05-24 16:14:38 +07:00
issue-29106.rs
issue-29106.stderr Add new error codes and update tests 2017-05-27 19:58:52 +02:00
issue-29595.rs Add test for issue #29595 2017-03-13 17:58:09 -05:00
issue-29595.stderr Change error count messages 2017-05-24 16:14:38 +07:00
issue-33884.rs Add test for issue 33884 2017-04-20 17:06:39 -07:00
issue-33884.stderr Change error count messages 2017-05-24 16:14:38 +07:00
issue-34264.rs Introduce TyErr independent from TyInfer 2017-04-02 09:45:57 -07:00
issue-34264.stderr Change error count messages 2017-05-24 16:14:38 +07:00
issue-35987.rs
issue-35987.stderr Add new error code 2017-05-30 19:19:34 +02:00
issue-36530.rs
issue-36530.stderr Change error count messages 2017-05-24 16:14:38 +07:00
issue-36537.rs
issue-36537.stderr Add new error codes and update tests 2017-05-27 19:58:52 +02:00
issue-37767.rs
issue-37767.stderr Change error count messages 2017-05-24 16:14:38 +07:00
issue-39018.rs
issue-39018.stderr Change error count messages 2017-05-24 16:14:38 +07:00
issue-39698.rs Clean up "pattern doesn't bind x" messages 2017-03-06 00:20:26 -03:00
issue-39698.stderr Change error count messages 2017-05-24 16:14:38 +07:00
issue-40157.rs Fix incorrect span label formatting 2017-03-10 08:14:31 -08:00
issue-40157.stderr Add new error codes and update tests 2017-05-27 19:58:52 +02:00
lint-unused-unsafe.rs Point to enclosing block/fn on nested unsafe 2017-03-10 07:53:08 -08:00
lint-unused-unsafe.stderr Change error count messages 2017-05-24 16:14:38 +07:00
loan-extend.rs
loan-extend.stderr Add new error codes and update tests 2017-05-27 19:58:52 +02:00
move-closure.rs
move-closure.stderr Change error count messages 2017-05-24 16:14:38 +07:00
multiline-span-E0072.rs Add a way to get shorter spans until char for pointing at defs 2017-04-12 01:10:48 -07:00
multiline-span-E0072.stderr Change error count messages 2017-05-24 16:14:38 +07:00
multiline-span-simple.rs
multiline-span-simple.stderr tests: fix fallout from changing the span of binop errors. 2017-06-01 08:59:47 +03:00
multispan-import-lint.rs
multispan-import-lint.stderr
mut-arg-hint.rs
mut-arg-hint.stderr Add new error codes and update tests 2017-05-27 19:58:52 +02:00
mut-ptr-cant-outlive-ref.rs
mut-ptr-cant-outlive-ref.stderr Add new error codes and update tests 2017-05-27 19:58:52 +02:00
pub-struct-field.rs Stabilize pub(restricted) 2017-03-15 22:39:04 -07:00
pub-struct-field.stderr Change error count messages 2017-05-24 16:14:38 +07:00
range-2.rs
range-2.stderr Add new error codes and update tests 2017-05-27 19:58:52 +02: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 Change error count messages 2017-05-24 16:14:38 +07:00
regionck-unboxed-closure-lifetimes.rs
regionck-unboxed-closure-lifetimes.stderr Add new error codes and update tests 2017-05-27 19:58:52 +02:00
regions-close-over-borrowed-ref-in-obj.rs
regions-close-over-borrowed-ref-in-obj.stderr Add new error codes and update tests 2017-05-27 19:58:52 +02:00
regions-close-over-type-parameter-2.rs
regions-close-over-type-parameter-2.stderr Add new error codes and update tests 2017-05-27 19:58:52 +02:00
regions-escape-loop-via-variable.rs
regions-escape-loop-via-variable.stderr Add new error codes and update tests 2017-05-27 19:58:52 +02:00
regions-escape-loop-via-vec.rs
regions-escape-loop-via-vec.stderr Add new error codes and update tests 2017-05-27 19:58:52 +02:00
regions-infer-borrow-scope-within-loop.rs
regions-infer-borrow-scope-within-loop.stderr Add new error codes and update tests 2017-05-27 19:58:52 +02:00
send-is-not-static-ensures-scoping.rs
send-is-not-static-ensures-scoping.stderr Add new error codes and update tests 2017-05-27 19:58:52 +02:00
send-is-not-static-std-sync-2.rs
send-is-not-static-std-sync-2.stderr Add new error codes and update tests 2017-05-27 19:58:52 +02:00
send-is-not-static-std-sync.rs
send-is-not-static-std-sync.stderr Add new error codes and update tests 2017-05-27 19:58:52 +02:00
slice-borrow.rs
slice-borrow.stderr Add new error codes and update tests 2017-05-27 19:58:52 +02:00
suggestion-non-ascii.rs
suggestion-non-ascii.stderr Change error count messages 2017-05-24 16:14:38 +07:00
type-binding.rs
type-binding.stderr Change error count messages 2017-05-24 16:14:38 +07:00
typo-suggestion.rs
typo-suggestion.stderr Change error count messages 2017-05-24 16:14:38 +07:00
vec_refs_data_with_early_death.rs
vec_refs_data_with_early_death.stderr Add new error codes and update tests 2017-05-27 19:58:52 +02:00
vec-must-not-hide-type-from-dropck.rs
vec-must-not-hide-type-from-dropck.stderr Add new error codes and update tests 2017-05-27 19:58:52 +02:00
wf-method-late-bound-regions.rs
wf-method-late-bound-regions.stderr Add new error codes and update tests 2017-05-27 19:58:52 +02:00