rust/src/test/ui/span
kennytm 297a6e580d
Rollup merge of #49299 - SimonSapin:ubiquity, r=nikomatsakis
Stabilize the copy_closures and clone_closures features

In addition to the `Fn*` family of traits, closures now implement `Copy` (and similarly `Clone`) if all of the captures do.

Tracking issue: https://github.com/rust-lang/rust/issues/44490
2018-03-25 01:30:12 +08:00
..
borrowck-borrow-overloaded-auto-deref-mut.rs add hint to fix error for immutable ref in arg 2016-11-29 00:32:34 +03:00
borrowck-borrow-overloaded-auto-deref-mut.stderr update tests 2018-03-14 00:53:24 +01:00
borrowck-borrow-overloaded-deref-mut.rs add hint to fix error for immutable ref in arg 2016-11-29 00:32:34 +03:00
borrowck-borrow-overloaded-deref-mut.stderr update tests 2018-03-14 00:53:24 +01:00
borrowck-call-is-borrow-issue-12224.rs Stabilize the copy_closures and clone_closures features 2018-03-23 11:37:07 +01:00
borrowck-call-is-borrow-issue-12224.stderr Stabilize the copy_closures and clone_closures features 2018-03-23 11:37:07 +01:00
borrowck-call-method-from-mut-aliasable.rs add hint to fix error for immutable ref in arg 2016-11-29 00:32:34 +03:00
borrowck-call-method-from-mut-aliasable.stderr update tests 2018-03-14 00:53:24 +01:00
borrowck-fn-in-const-b.rs add hint to fix error for immutable ref in arg 2016-11-29 00:32:34 +03:00
borrowck-fn-in-const-b.stderr update tests 2018-03-14 00:53:24 +01:00
borrowck-let-suggestion-suffixes.rs Same change to point at borrow for mir errors 2017-12-15 13:52:05 -08:00
borrowck-let-suggestion-suffixes.stderr update tests 2018-03-14 00:53:24 +01:00
borrowck-object-mutability.rs add hint to fix error for immutable ref in arg 2016-11-29 00:32:34 +03:00
borrowck-object-mutability.stderr update tests 2018-03-14 00:53:24 +01:00
borrowck-ref-into-rvalue.rs Point at var in short lived borrows 2017-12-14 22:45:45 -08:00
borrowck-ref-into-rvalue.stderr update tests 2018-03-14 00:53:24 +01:00
coerce-suggestions.rs Remove NOTE/HELP annotations from UI tests 2017-12-14 23:26:39 +03:00
coerce-suggestions.stderr update tests 2018-03-14 00:53:24 +01:00
destructor-restrictions.rs Point at var in short lived borrows 2017-12-14 22:45:45 -08:00
destructor-restrictions.stderr update tests 2018-03-14 00:53:24 +01:00
dropck-object-cycle.rs Same change to point at borrow for mir errors 2017-12-15 13:52:05 -08:00
dropck-object-cycle.stderr update tests 2018-03-14 00:53:24 +01:00
dropck_arr_cycle_checked.rs Point at var in short lived borrows 2017-12-14 22:45:45 -08:00
dropck_arr_cycle_checked.stderr update tests 2018-03-14 00:53:24 +01:00
dropck_direct_cycle_with_drop.rs Point at var in short lived borrows 2017-12-14 22:45:45 -08:00
dropck_direct_cycle_with_drop.stderr update tests 2018-03-14 00:53:24 +01:00
dropck_misc_variants.rs Point at var in short lived borrows 2017-12-14 22:45:45 -08:00
dropck_misc_variants.stderr update tests 2018-03-14 00:53:24 +01:00
dropck_vec_cycle_checked.rs Point at var in short lived borrows 2017-12-14 22:45:45 -08:00
dropck_vec_cycle_checked.stderr update tests 2018-03-14 00:53:24 +01:00
E0046.rs Remove NOTE/HELP annotations from UI tests 2017-12-14 23:26:39 +03:00
E0046.stderr update tests 2018-03-14 00:53:24 +01:00
E0057.rs Better underline for E0057,E0060,E0061 2016-10-06 22:02:46 +02:00
E0057.stderr update tests 2018-03-14 00:53:24 +01:00
E0072.rs Merge cfail and ui tests into ui tests 2017-11-24 11:32:35 +01:00
E0072.stderr update tests 2018-03-14 00:53:24 +01:00
E0204.rs Merge cfail and ui tests into ui tests 2017-11-24 11:32:35 +01:00
E0204.stderr update tests 2018-03-14 00:53:24 +01:00
E0493.rs Merge cfail and ui tests into ui tests 2017-11-24 11:32:35 +01:00
E0493.stderr update tests 2018-03-14 00:53:24 +01:00
E0535.rs Update invalid inline arg test. 2017-11-07 08:54:38 +01:00
E0535.stderr update tests 2018-03-14 00:53:24 +01:00
E0536.rs fix span for errors E0537, E0535 & E0536 2016-09-10 10:21:13 +03:00
E0536.stderr update tests 2018-03-14 00:53:24 +01:00
E0537.rs fix span for errors E0537, E0535 & E0536 2016-09-10 10:21:13 +03:00
E0537.stderr update tests 2018-03-14 00:53:24 +01:00
gated-features-attr-spans.rs Stabilized #[repr(align(x))] attribute (RFC 1358) 2018-01-23 08:36:13 +11:00
gated-features-attr-spans.stderr update tests 2018-03-14 00:53:24 +01:00
impl-parsing.rs syntax: Rewrite parsing of impls 2018-01-14 18:10:05 +03:00
impl-parsing.stderr Update UI tests 2018-02-26 20:24:02 +03:00
impl-wrong-item-for-trait.rs Remove NOTE/HELP annotations from UI tests 2017-12-14 23:26:39 +03:00
impl-wrong-item-for-trait.stderr update tests 2018-03-14 00:53:24 +01:00
import-ty-params.rs Fix fallout in tests. 2017-08-22 15:50:21 -07:00
import-ty-params.stderr Update UI tests 2018-02-26 20:24:02 +03:00
issue-7575.rs Remove NOTE/HELP annotations from UI tests 2017-12-14 23:26:39 +03:00
issue-7575.stderr update tests 2018-03-14 00:53:24 +01:00
issue-11925.rs Merge cfail and ui tests into ui tests 2017-11-24 11:32:35 +01:00
issue-11925.stderr update tests 2018-03-14 00:53:24 +01:00
issue-15480.rs Point at var in short lived borrows 2017-12-14 22:45:45 -08:00
issue-15480.stderr update tests 2018-03-14 00:53:24 +01:00
issue-23338-locals-die-before-temps-of-body.rs Point at var in short lived borrows 2017-12-14 22:45:45 -08:00
issue-23338-locals-die-before-temps-of-body.stderr update tests 2018-03-14 00:53:24 +01:00
issue-23729.rs Remove NOTE/HELP annotations from UI tests 2017-12-14 23:26:39 +03:00
issue-23729.stderr update tests 2018-03-14 00:53:24 +01:00
issue-23827.rs Remove NOTE/HELP annotations from UI tests 2017-12-14 23:26:39 +03:00
issue-23827.stderr update tests 2018-03-14 00:53:24 +01:00
issue-24356.rs Remove NOTE/HELP annotations from UI tests 2017-12-14 23:26:39 +03:00
issue-24356.stderr update tests 2018-03-14 00:53:24 +01:00
issue-24690.rs Merge cfail and ui tests into ui tests 2017-11-24 11:32:35 +01:00
issue-24690.stderr Update tests 2018-03-16 11:52:46 +01:00
issue-24805-dropck-child-has-items-via-parent.rs Point at var in short lived borrows 2017-12-14 22:45:45 -08:00
issue-24805-dropck-child-has-items-via-parent.stderr update tests 2018-03-14 00:53:24 +01:00
issue-24805-dropck-trait-has-items.rs Point at var in short lived borrows 2017-12-14 22:45:45 -08:00
issue-24805-dropck-trait-has-items.stderr update tests 2018-03-14 00:53:24 +01:00
issue-24895-copy-clone-dropck.rs Point at var in short lived borrows 2017-12-14 22:45:45 -08:00
issue-24895-copy-clone-dropck.stderr update tests 2018-03-14 00:53:24 +01:00
issue-25199.rs Point at var in short lived borrows 2017-12-14 22:45:45 -08:00
issue-25199.stderr update tests 2018-03-14 00:53:24 +01:00
issue-26656.rs Point at var in short lived borrows 2017-12-14 22:45:45 -08:00
issue-26656.stderr update tests 2018-03-14 00:53:24 +01:00
issue-27522.rs Merge cfail and ui tests into ui tests 2017-11-24 11:32:35 +01:00
issue-27522.stderr Remove unnecessary "`" in error message E0307 (invalid self type). 2018-03-15 17:59:17 +08:00
issue-29106.rs Point at var in short lived borrows 2017-12-14 22:45:45 -08:00
issue-29106.stderr update tests 2018-03-14 00:53:24 +01:00
issue-29595.rs remove associated_consts feature gate 2017-07-06 11:52:25 -07:00
issue-29595.stderr update tests 2018-03-14 00:53:24 +01:00
issue-33884.rs Add 'ignore-cloudabi' to tests that don't and won't build on CloudABI. 2018-01-02 14:11:41 +01:00
issue-33884.stderr update tests 2018-03-14 00:53:24 +01:00
issue-34264.rs Merge cfail and ui tests into ui tests 2017-11-24 11:32:35 +01:00
issue-34264.stderr update tests 2018-03-14 00:53:24 +01:00
issue-35987.rs Add empty main() to tests where it is missing. 2018-03-14 12:23:28 -07:00
issue-35987.stderr Update tests 2018-03-16 11:52:46 +01:00
issue-36530.rs Merge cfail and ui tests into ui tests 2017-11-24 11:32:35 +01:00
issue-36530.stderr update tests 2018-03-14 00:53:24 +01:00
issue-36537.rs Same change to point at borrow for mir errors 2017-12-15 13:52:05 -08:00
issue-36537.stderr update tests 2018-03-14 00:53:24 +01:00
issue-37767.rs Merge cfail and ui tests into ui tests 2017-11-24 11:32:35 +01:00
issue-37767.stderr update tests 2018-03-14 00:53:24 +01:00
issue-39018.rs Handle custom diagnostic for &str + String 2018-02-20 22:46:51 -08:00
issue-39018.stderr update tests 2018-03-14 00:53:24 +01:00
issue-39698.rs Merge cfail and ui tests into ui tests 2017-11-24 11:32:35 +01:00
issue-39698.stderr update tests 2018-03-14 00:53:24 +01:00
issue-40157.rs Merge cfail and ui tests into ui tests 2017-11-24 11:32:35 +01:00
issue-40157.stderr update tests 2018-03-14 00:53:24 +01:00
issue-42234-unknown-receiver-type.rs inform type annotations 2018-02-14 11:06:08 +08:00
issue-42234-unknown-receiver-type.stderr update tests 2018-03-14 00:53:24 +01:00
issue-43927-non-ADT-derive.rs Merge cfail and ui tests into ui tests 2017-11-24 11:32:35 +01:00
issue-43927-non-ADT-derive.stderr Update UI tests 2018-02-26 20:24:02 +03:00
issue28498-reject-ex1.rs Point at var in short lived borrows 2017-12-14 22:45:45 -08:00
issue28498-reject-ex1.stderr update tests 2018-03-14 00:53:24 +01:00
issue28498-reject-lifetime-param.rs Point at var in short lived borrows 2017-12-14 22:45:45 -08:00
issue28498-reject-lifetime-param.stderr update tests 2018-03-14 00:53:24 +01:00
issue28498-reject-passed-to-fn.rs Point at var in short lived borrows 2017-12-14 22:45:45 -08:00
issue28498-reject-passed-to-fn.stderr update tests 2018-03-14 00:53:24 +01:00
issue28498-reject-trait-bound.rs Point at var in short lived borrows 2017-12-14 22:45:45 -08:00
issue28498-reject-trait-bound.stderr update tests 2018-03-14 00:53:24 +01: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 Update UI tests 2018-02-26 20:24:42 +03:00
macro-span-replacement.rs Add must-compile-successfully comment to appropriate ui tests. 2017-12-10 21:14:57 +00:00
macro-span-replacement.stderr Update UI tests 2018-02-26 20:24:02 +03:00
macro-ty-params.rs Merge cfail and ui tests into ui tests 2017-11-24 11:32:35 +01:00
macro-ty-params.stderr Update UI tests 2018-02-26 20:24:02 +03:00
missing-unit-argument.rs Merge cfail and ui tests into ui tests 2017-11-24 11:32:35 +01:00
missing-unit-argument.stderr update tests 2018-03-14 00:53:24 +01:00
move-closure.rs Merge cfail and ui tests into ui tests 2017-11-24 11:32:35 +01:00
move-closure.stderr update tests 2018-03-14 00:53:24 +01:00
multiline-span-E0072.rs Merge cfail and ui tests into ui tests 2017-11-24 11:32:35 +01:00
multiline-span-E0072.stderr update tests 2018-03-14 00:53:24 +01:00
multiline-span-simple.rs Add filter to detect local crates for rustc_on_unimplemented 2018-02-01 15:06:21 -08:00
multiline-span-simple.stderr update tests 2018-03-14 00:53:24 +01:00
multispan-import-lint.rs Add must-compile-successfully comment to appropriate ui tests. 2017-12-10 21:14:57 +00:00
multispan-import-lint.stderr Update UI tests 2018-02-26 20:24:02 +03:00
mut-arg-hint.rs Merge cfail and ui tests into ui tests 2017-11-24 11:32:35 +01:00
mut-arg-hint.stderr update tests 2018-03-14 00:53:24 +01:00
mut-ptr-cant-outlive-ref.rs Point at var in short lived borrows 2017-12-14 22:45:45 -08:00
mut-ptr-cant-outlive-ref.stderr update tests 2018-03-14 00:53:24 +01:00
non-existing-module-import.rs Merge cfail and ui tests into ui tests 2017-11-24 11:32:35 +01:00
non-existing-module-import.stderr update tests 2018-03-14 00:53:24 +01:00
pub-struct-field.rs Merge cfail and ui tests into ui tests 2017-11-24 11:32:35 +01:00
pub-struct-field.stderr update tests 2018-03-14 00:53:24 +01:00
range-2.rs Point at var in short lived borrows 2017-12-14 22:45:45 -08:00
range-2.stderr update tests 2018-03-14 00:53:24 +01:00
recursive-type-field.rs Merge cfail and ui tests into ui tests 2017-11-24 11:32:35 +01:00
recursive-type-field.stderr update tests 2018-03-14 00:53:24 +01:00
regionck-unboxed-closure-lifetimes.rs Point at var in short lived borrows 2017-12-14 22:45:45 -08:00
regionck-unboxed-closure-lifetimes.stderr update tests 2018-03-14 00:53:24 +01:00
regions-close-over-borrowed-ref-in-obj.rs Point at var in short lived borrows 2017-12-14 22:45:45 -08:00
regions-close-over-borrowed-ref-in-obj.stderr update tests 2018-03-14 00:53:24 +01:00
regions-close-over-type-parameter-2.rs Point at var in short lived borrows 2017-12-14 22:45:45 -08:00
regions-close-over-type-parameter-2.stderr update tests 2018-03-14 00:53:24 +01:00
regions-escape-loop-via-variable.rs Point at var in short lived borrows 2017-12-14 22:45:45 -08:00
regions-escape-loop-via-variable.stderr update tests 2018-03-14 00:53:24 +01:00
regions-escape-loop-via-vec.rs Same change to point at borrow for mir errors 2017-12-15 13:52:05 -08:00
regions-escape-loop-via-vec.stderr update tests 2018-03-14 00:53:24 +01:00
regions-infer-borrow-scope-within-loop.rs Point at var in short lived borrows 2017-12-14 22:45:45 -08:00
regions-infer-borrow-scope-within-loop.stderr update tests 2018-03-14 00:53:24 +01:00
send-is-not-static-ensures-scoping.rs Point at var in short lived borrows 2017-12-14 22:45:45 -08:00
send-is-not-static-ensures-scoping.stderr update tests 2018-03-14 00:53:24 +01:00
send-is-not-static-std-sync-2.rs Point at var in short lived borrows 2017-12-14 22:45:45 -08:00
send-is-not-static-std-sync-2.stderr update tests 2018-03-14 00:53:24 +01:00
send-is-not-static-std-sync.rs Point at var in short lived borrows 2017-12-14 22:45:45 -08:00
send-is-not-static-std-sync.stderr update tests 2018-03-14 00:53:24 +01:00
slice-borrow.rs Point at var in short lived borrows 2017-12-14 22:45:45 -08:00
slice-borrow.stderr update tests 2018-03-14 00:53:24 +01:00
suggestion-non-ascii.rs Merge cfail and ui tests into ui tests 2017-11-24 11:32:35 +01:00
suggestion-non-ascii.stderr update tests 2018-03-14 00:53:24 +01:00
type-binding.rs Merge cfail and ui tests into ui tests 2017-11-24 11:32:35 +01:00
type-binding.stderr update tests 2018-03-14 00:53:24 +01:00
typo-suggestion.rs Merge cfail and ui tests into ui tests 2017-11-24 11:32:35 +01:00
typo-suggestion.stderr update tests 2018-03-14 00:53:24 +01:00
unused-warning-point-at-signature.rs Merge cfail and ui tests into ui tests 2017-11-24 11:32:35 +01:00
unused-warning-point-at-signature.stderr Update UI tests 2018-02-26 20:24:42 +03:00
vec-must-not-hide-type-from-dropck.rs Point at var in short lived borrows 2017-12-14 22:45:45 -08:00
vec-must-not-hide-type-from-dropck.stderr update tests 2018-03-14 00:53:24 +01:00
vec_refs_data_with_early_death.rs Point at var in short lived borrows 2017-12-14 22:45:45 -08:00
vec_refs_data_with_early_death.stderr update tests 2018-03-14 00:53:24 +01:00
visibility-ty-params.rs Merge cfail and ui tests into ui tests 2017-11-24 11:32:35 +01:00
visibility-ty-params.stderr Update UI tests 2018-02-26 20:24:02 +03:00
wf-method-late-bound-regions.rs Point at var in short lived borrows 2017-12-14 22:45:45 -08:00
wf-method-late-bound-regions.stderr update tests 2018-03-14 00:53:24 +01:00