rust/src/test/ui/nll
bors 5371ddf8c6 Auto merge of #68080 - varkor:declared-here, r=petrochenkov
Address inconsistency in using "is" with "declared here"

"is" was generally used for NLL diagnostics, but not other diagnostics. Using "is" makes the diagnostics sound more natural and readable, so it seems sensible to commit to them throughout.

r? @Centril
2020-01-31 15:13:51 +00:00
..
closure-requirements Auto merge of #68080 - varkor:declared-here, r=petrochenkov 2020-01-31 15:13:51 +00:00
polonius add subset relations test using polonius 2019-12-06 11:50:02 +01:00
relate_tys Use check-pass mode for nll tests 2020-01-23 00:00:00 +00:00
ty-outlives Use better bound names in -Zverbose mode 2020-01-25 13:25:19 -08:00
user-annotations Use check-pass mode for nll tests 2020-01-23 00:00:00 +00:00
assign-while-to-immutable.rs
borrow-use-issue-46875.rs
borrowck-thread-local-static-mut-borrow-outlives-fn.rs
borrowed-local-error.rs
borrowed-local-error.stderr
borrowed-match-issue-45045.rs
borrowed-match-issue-45045.stderr
borrowed-referent-issue-38899.rs
borrowed-referent-issue-38899.stderr
borrowed-temporary-error.rs
borrowed-temporary-error.stderr
borrowed-universal-error-2.rs
borrowed-universal-error-2.stderr
borrowed-universal-error.rs
borrowed-universal-error.stderr
cannot-move-block-spans.rs
cannot-move-block-spans.stderr
capture-mut-ref.rs
capture-mut-ref.stderr Normalise notes with the/is 2020-01-24 16:24:50 +00:00
capture-ref-in-struct.rs
capture-ref-in-struct.stderr
closure-access-spans.rs
closure-access-spans.stderr
closure-borrow-spans.rs
closure-borrow-spans.stderr
closure-captures.rs
closure-captures.stderr Update ui tests 2019-11-18 19:00:10 +01:00
closure-move-spans.rs
closure-move-spans.stderr
closure-use-spans.rs
closure-use-spans.stderr
closures-in-loops.rs
closures-in-loops.stderr
constant-thread-locals-issue-47053.rs
constant-thread-locals-issue-47053.stderr Update ui tests 2019-11-18 19:00:10 +01:00
constant.rs Use check-pass mode for nll tests 2020-01-23 00:00:00 +00:00
decl-macro-illegal-copy.rs
decl-macro-illegal-copy.stderr
do-not-ignore-lifetime-bounds-in-copy.rs
do-not-ignore-lifetime-bounds-in-copy.stderr
dont-print-desugared.rs
dont-print-desugared.stderr
drop-may-dangle.rs Use check-pass mode for nll tests 2020-01-23 00:00:00 +00:00
drop-no-may-dangle.rs
drop-no-may-dangle.stderr
empty-type-predicate-2.rs
empty-type-predicate.rs
enum-drop-access.rs
enum-drop-access.stderr
extra-unused-mut.rs Use check-pass mode for nll tests 2020-01-23 00:00:00 +00:00
generator-distinct-lifetime.rs Use check-pass mode for nll tests 2020-01-23 00:00:00 +00:00
generator-upvar-mutability.rs
generator-upvar-mutability.stderr Update ui tests 2019-11-18 19:00:10 +01:00
get_default.nll.stderr
get_default.polonius.stderr
get_default.rs
get_default.stderr
guarantor-issue-46974.rs
guarantor-issue-46974.stderr
issue-16223.rs Use check-pass in ui tests where appropriate 2019-11-04 16:03:46 +01:00
issue-21114-ebfull.rs Use check-pass in ui tests where appropriate 2019-11-04 16:03:46 +01:00
issue-21114-kixunil.rs Use check-pass in ui tests where appropriate 2019-11-04 16:03:46 +01:00
issue-21232-partial-init-and-erroneous-use.rs
issue-21232-partial-init-and-erroneous-use.stderr
issue-21232-partial-init-and-use.rs
issue-21232-partial-init-and-use.stderr
issue-22323-temp-destruction.rs Use check-pass in ui tests where appropriate 2019-11-04 16:03:46 +01:00
issue-27868.rs
issue-27868.stderr
issue-30104.rs Use check-pass in ui tests where appropriate 2019-11-04 16:03:46 +01:00
issue-31567.rs
issue-31567.stderr
issue-32382-index-assoc-type-with-lifetime.rs Use check-pass in ui tests where appropriate 2019-11-04 16:03:46 +01:00
issue-42574-diagnostic-in-nested-closure.rs
issue-42574-diagnostic-in-nested-closure.stderr
issue-43058.rs Use check-pass in ui tests where appropriate 2019-11-04 16:03:46 +01:00
issue-46589.rs
issue-46589.stderr
issue-47022.rs Use check-pass in ui tests where appropriate 2019-11-04 16:03:46 +01:00
issue-47153-generic-const.rs
issue-47388.rs
issue-47388.stderr Update ui tests 2019-11-18 19:00:10 +01:00
issue-47470.rs
issue-47470.stderr
issue-47589.rs
issue-48070.rs
issue-48238.rs
issue-48238.stderr
issue-48623-closure.rs
issue-48623-generator.rs
issue-48697.rs
issue-48697.stderr
issue-50343.rs Use drop instead of the toilet closure |_| () 2020-01-02 08:56:12 +00:00
issue-50461-used-mut-from-moves.rs
issue-50716-1.rs Use check-pass in ui tests where appropriate 2019-11-04 16:03:46 +01:00
issue-50716.nll.stderr update tests 2019-10-27 09:39:14 -05:00
issue-50716.rs
issue-50716.stderr
issue-51191.rs
issue-51191.stderr
issue-51244.rs
issue-51244.stderr Update ui tests 2019-11-18 19:00:10 +01:00
issue-51268.rs
issue-51268.stderr
issue-51351.rs Use check-pass in ui tests where appropriate 2019-11-04 16:03:46 +01:00
issue-51512.rs
issue-51512.stderr
issue-52059-report-when-borrow-and-drop-conflict.rs
issue-52059-report-when-borrow-and-drop-conflict.stderr
issue-52078.rs Use check-pass in ui tests where appropriate 2019-11-04 16:03:46 +01:00
issue-52086.rs
issue-52086.stderr
issue-52113.rs
issue-52113.stderr update tests 2019-10-27 09:39:14 -05:00
issue-52534-1.rs
issue-52534-1.stderr
issue-52534-2.rs
issue-52534-2.stderr Evaluate borrow and struct expressions in into 2019-11-11 22:06:54 +00:00
issue-52534.rs
issue-52534.stderr
issue-52663-span-decl-captured-variable.rs
issue-52663-span-decl-captured-variable.stderr
issue-52663-trait-object.rs
issue-52663-trait-object.stderr
issue-52669.rs
issue-52669.stderr
issue-52742.nll.stderr
issue-52742.rs
issue-52742.stderr
issue-53040.rs
issue-53040.stderr
issue-53119.rs Use check-pass in ui tests where appropriate 2019-11-04 16:03:46 +01:00
issue-53123-raw-pointer-cast.rs
issue-53570.rs Use check-pass in ui tests where appropriate 2019-11-04 16:03:46 +01:00
issue-53773.rs
issue-53773.stderr
issue-53807.rs
issue-53807.stderr
issue-54382-use-span-of-tail-of-block.rs
issue-54382-use-span-of-tail-of-block.stderr
issue-54556-niconii.rs
issue-54556-niconii.stderr
issue-54556-stephaneyfx.rs
issue-54556-stephaneyfx.stderr
issue-54556-temps-in-tail-diagnostic.rs
issue-54556-temps-in-tail-diagnostic.stderr
issue-54556-used-vs-unused-tails.rs
issue-54556-used-vs-unused-tails.stderr
issue-54556-wrap-it-up.rs
issue-54556-wrap-it-up.stderr
issue-55288.rs
issue-55344.rs Use check-pass in ui tests where appropriate 2019-11-04 16:03:46 +01:00
issue-55394.nll.stderr
issue-55394.rs
issue-55394.stderr Include a span in more expected...found notes 2019-12-03 23:13:10 -05:00
issue-55401.nll.stderr update tests 2019-10-27 09:39:14 -05:00
issue-55401.rs
issue-55401.stderr
issue-55651.rs Use check-pass in ui tests where appropriate 2019-11-04 16:03:46 +01:00
issue-55850.rs
issue-55850.stderr
issue-57100.rs
issue-57100.stderr
issue-57265-return-type-wf-check.rs
issue-57265-return-type-wf-check.stderr
issue-57280-1.rs Use check-pass in ui tests where appropriate 2019-11-04 16:03:46 +01:00
issue-57280.rs Use check-pass in ui tests where appropriate 2019-11-04 16:03:46 +01:00
issue-57960.rs
issue-57989.rs
issue-57989.stderr Update ui tests 2019-11-18 19:00:10 +01:00
issue-58053.rs
issue-58053.stderr
issue-58299.rs
issue-58299.stderr update tests 2019-10-27 09:39:14 -05:00
issue-61311-normalize.rs Use check-pass in ui tests where appropriate 2019-11-04 16:03:46 +01:00
issue-61320-normalize.rs Use check-pass in ui tests where appropriate 2019-11-04 16:03:46 +01:00
issue-61424.rs
issue-61424.stderr Normalise notes with the/is 2020-01-24 16:24:50 +00:00
issue-62007-assign-const-index.rs
issue-62007-assign-const-index.stderr
issue-62007-assign-differing-fields.rs
issue-62007-assign-differing-fields.stderr
issue-63154-normalize.rs
loan_ends_mid_block_pair.rs
loan_ends_mid_block_pair.stderr
loan_ends_mid_block_vec.rs
loan_ends_mid_block_vec.stderr
local-outlives-static-via-hrtb.rs
local-outlives-static-via-hrtb.stderr
match-cfg-fake-edges2.rs
match-cfg-fake-edges2.stderr
match-cfg-fake-edges.rs
match-cfg-fake-edges.stderr
match-guards-always-borrow.rs
match-guards-always-borrow.stderr
match-guards-partially-borrow.rs
match-guards-partially-borrow.stderr
match-on-borrowed.rs
match-on-borrowed.stderr
maybe-initialized-drop-implicit-fragment-drop.rs
maybe-initialized-drop-implicit-fragment-drop.stderr
maybe-initialized-drop-uninitialized.rs Use check-pass mode for nll tests 2020-01-23 00:00:00 +00:00
maybe-initialized-drop-with-fragment.rs
maybe-initialized-drop-with-fragment.stderr
maybe-initialized-drop-with-uninitialized-fragments.rs
maybe-initialized-drop-with-uninitialized-fragments.stderr
maybe-initialized-drop.rs
maybe-initialized-drop.stderr
mir_check_cast_closure.rs
mir_check_cast_closure.stderr update tests 2019-10-27 09:39:14 -05:00
mir_check_cast_reify.rs
mir_check_cast_reify.stderr update tests 2019-10-27 09:39:14 -05:00
mir_check_cast_unsafe_fn.rs
mir_check_cast_unsafe_fn.stderr update tests 2019-10-27 09:39:14 -05:00
mir_check_cast_unsize.rs
mir_check_cast_unsize.stderr update tests 2019-10-27 09:39:14 -05:00
move-errors.rs
move-errors.stderr Tweak move error due to non-Copy 2019-11-25 13:30:52 -08:00
move-subpaths-moves-root.rs
move-subpaths-moves-root.stderr
mutating_references.rs
normalization-bounds-error.rs
normalization-bounds-error.stderr Include a span in more expected...found notes 2019-12-03 23:13:10 -05:00
normalization-bounds.rs
outlives-suggestion-more.rs add test for complex suggestions 2019-10-27 08:47:22 -05:00
outlives-suggestion-more.stderr add test for complex suggestions 2019-10-27 08:47:22 -05:00
outlives-suggestion-simple.polonius.stderr bless polonius output of test ui/nll/outlives-suggestion-simple.rs 2019-12-06 11:50:02 +01:00
outlives-suggestion-simple.rs implement outlive suggestions 2019-10-27 08:47:22 -05:00
outlives-suggestion-simple.stderr Normalise diagnostics with respect to "the X is declared/defined here" 2020-01-24 16:24:49 +00:00
process_or_insert_default.rs
projection-return.rs Use check-pass mode for nll tests 2020-01-23 00:00:00 +00:00
promotable-mutable-zst-doesnt-conflict.rs
promoted-bounds.rs
promoted-bounds.stderr
promoted-closure-pair.rs
promoted-closure-pair.stderr
promoted-liveness.rs
rc-loop.rs
reference-carried-through-struct-field.rs
reference-carried-through-struct-field.stderr
region-ends-after-if-condition.nll.stderr
region-ends-after-if-condition.rs
region-ends-after-if-condition.stderr
return_from_loop.rs
return_from_loop.stderr
return-ref-mut-issue-46557.rs
return-ref-mut-issue-46557.stderr
self-assign-ref-mut.rs
trait-associated-constant.rs
trait-associated-constant.stderr Specific labels when referring to "expected" and "found" types 2019-11-18 11:02:22 -08:00
type-alias-free-regions.nll.stderr
type-alias-free-regions.rs
type-alias-free-regions.stderr Include a span in more expected...found notes 2019-12-03 23:13:10 -05:00
type-check-pointer-coercions.rs
type-check-pointer-coercions.stderr update tests 2019-10-27 09:39:14 -05:00
type-check-pointer-comparisons.rs
type-check-pointer-comparisons.stderr update tests 2019-10-27 09:39:14 -05:00
unused-mut-issue-50343.rs
unused-mut-issue-50343.stderr Normalise notes with the/is 2020-01-24 16:24:50 +00:00
where_clauses_in_functions.rs
where_clauses_in_functions.stderr update tests 2019-10-27 09:39:14 -05:00
where_clauses_in_structs.rs
where_clauses_in_structs.stderr update tests 2019-10-27 09:39:14 -05:00