rust/tests/ui/regions
2023-10-20 21:14:01 +00:00
..
auxiliary
closure-in-projection-issue-97405.rs s/generator/coroutine/ 2023-10-20 21:14:01 +00:00
closure-in-projection-issue-97405.stderr always show and explain sub region 2023-10-08 09:59:51 +00:00
do-not-suggest-adding-bound-to-opaque-type.rs
do-not-suggest-adding-bound-to-opaque-type.stderr
forall-wf-ref-reflexive.rs
forall-wf-ref-reflexive.stderr
forall-wf-reflexive.rs
higher-ranked-implied.rs
higher-ranked-implied.stderr Point out expectation even if we have RegionsInsufficientlyPolymorphic 2023-08-09 01:10:08 +00:00
init-res-into-things.rs
issue-5243.rs
issue-6157.rs
issue-11612.rs
issue-12470.rs
issue-12470.stderr
issue-21520.rs
issue-24085.rs
issue-26448-1.rs
issue-26448-2.rs
issue-26448-3.rs
issue-28848.rs
issue-28848.stderr
issue-56537-closure-uses-region-from-container.rs
issue-72051-member-region-hang.rs
issue-78262.base.stderr
issue-78262.polonius.stderr
issue-78262.rs
issue-101280.rs
issue-101280.stderr
issue-102374.rs write-long-types-to-disk: update tests 2023-07-25 12:08:44 +01:00
issue-102374.stderr write-long-types-to-disk: update tests 2023-07-25 12:08:44 +01:00
issue-102392.rs
issue-102392.stderr
outlives-with-missing.rs
outlives-with-missing.stderr
owned-implies-static.rs
rcvr-borrowed-to-region.rs
region-borrow-params-issue-29793-big.rs
region-borrow-params-issue-29793-big.stderr
region-borrow-params-issue-29793-small.rs
region-borrow-params-issue-29793-small.stderr
region-bound-extra-bound-in-inherent-impl.rs
region-bound-on-closure-outlives-call.rs
region-bound-on-closure-outlives-call.stderr
region-bound-same-bounds-in-trait-and-impl.rs
region-bounds-on-objects-and-type-parameters.rs
region-bounds-on-objects-and-type-parameters.stderr
region-invariant-static-error-reporting.rs
region-invariant-static-error-reporting.stderr
region-lifetime-bounds-on-fns-where-clause.rs
region-lifetime-bounds-on-fns-where-clause.stderr Test and note unsafe ctor to fn ptr coercion 2023-08-30 15:09:40 -07:00
region-multiple-lifetime-bounds-on-fns-where-clause.rs
region-multiple-lifetime-bounds-on-fns-where-clause.stderr Test and note unsafe ctor to fn ptr coercion 2023-08-30 15:09:40 -07:00
region-object-lifetime-1.rs
region-object-lifetime-2.rs
region-object-lifetime-2.stderr
region-object-lifetime-3.rs
region-object-lifetime-4.rs
region-object-lifetime-4.stderr
region-object-lifetime-5.rs Do not set up wrong span for adjustments 2023-07-10 20:09:26 +00:00
region-object-lifetime-5.stderr Do not set up wrong span for adjustments 2023-07-10 20:09:26 +00:00
region-object-lifetime-in-coercion.rs
region-object-lifetime-in-coercion.stderr
regions-addr-of-arg.rs
regions-addr-of-arg.stderr
regions-addr-of-interior-of-unique-box.rs
regions-addr-of-ret.rs
regions-addr-of-self.rs
regions-addr-of-self.stderr
regions-addr-of-upvar-self.rs
regions-addr-of-upvar-self.stderr
regions-adjusted-lvalue-op.rs
regions-adjusted-lvalue-op.stderr
regions-assoc-type-in-supertrait-outlives-container.rs
regions-assoc-type-in-supertrait-outlives-container.stderr
regions-assoc-type-region-bound-in-trait-not-met.rs
regions-assoc-type-region-bound-in-trait-not-met.stderr
regions-assoc-type-region-bound.rs
regions-assoc-type-static-bound-in-trait-not-met.rs
regions-assoc-type-static-bound-in-trait-not-met.stderr
regions-assoc-type-static-bound.rs
regions-borrow-at.rs
regions-borrow-evec-fixed.rs
regions-borrow-evec-uniq.rs
regions-borrow-uniq.rs
regions-bot.rs
regions-bound-lists-feature-gate-2.rs
regions-bound-lists-feature-gate.rs
regions-bounded-by-trait-requiring-static.rs
regions-bounded-by-trait-requiring-static.stderr
regions-bounded-method-type-parameters-cross-crate.rs
regions-bounded-method-type-parameters-cross-crate.stderr
regions-bounded-method-type-parameters-trait-bound.rs
regions-bounded-method-type-parameters-trait-bound.stderr
regions-bounded-method-type-parameters.rs
regions-bounded-method-type-parameters.stderr
regions-bounds.rs
regions-bounds.stderr
regions-close-associated-type-into-object.rs
regions-close-associated-type-into-object.stderr remove trailing dots 2023-10-08 10:06:17 +00:00
regions-close-object-into-object-1.rs
regions-close-object-into-object-1.stderr
regions-close-object-into-object-2.rs
regions-close-object-into-object-2.stderr
regions-close-object-into-object-3.rs
regions-close-object-into-object-3.stderr
regions-close-object-into-object-4.rs
regions-close-object-into-object-4.stderr remove trailing dots 2023-10-08 10:06:17 +00:00
regions-close-object-into-object-5.rs
regions-close-object-into-object-5.stderr remove trailing dots 2023-10-08 10:06:17 +00:00
regions-close-over-type-parameter-1.rs
regions-close-over-type-parameter-1.stderr remove trailing dots 2023-10-08 10:06:17 +00:00
regions-close-over-type-parameter-multiple.rs
regions-close-over-type-parameter-multiple.stderr
regions-close-over-type-parameter-successfully.rs
regions-close-param-into-object.rs
regions-close-param-into-object.stderr remove trailing dots 2023-10-08 10:06:17 +00:00
regions-copy-closure.rs
regions-creating-enums2.rs
regions-creating-enums3.rs
regions-creating-enums3.stderr
regions-creating-enums4.rs
regions-creating-enums4.stderr
regions-creating-enums5.rs
regions-creating-enums.rs
regions-creating-enums.stderr
regions-debruijn-of-object.rs
regions-dependent-addr-of.rs
regions-dependent-autofn.rs
regions-dependent-autoslice.rs
regions-dependent-let-ref.rs
regions-early-bound-error-method.rs
regions-early-bound-error-method.stderr diagnostics: update test cases to refer to assoc fn with self as method 2023-02-22 08:40:47 -07:00
regions-early-bound-error.rs
regions-early-bound-error.stderr
regions-early-bound-lifetime-in-assoc-fn.rs
regions-early-bound-trait-param.rs
regions-early-bound-used-in-bound-method.rs
regions-early-bound-used-in-bound.rs
regions-early-bound-used-in-type-param.rs
regions-escape-into-other-fn.rs
regions-escape-method.rs
regions-escape-method.stderr
regions-escape-via-trait-or-not.rs
regions-escape-via-trait-or-not.stderr
regions-expl-self.rs
regions-fn-subtyping-2.rs
regions-fn-subtyping-return-static-fail.rs
regions-fn-subtyping-return-static-fail.stderr Test and note unsafe ctor to fn ptr coercion 2023-08-30 15:09:40 -07:00
regions-fn-subtyping-return-static.rs
regions-fn-subtyping.rs
regions-free-region-ordering-callee-4.rs
regions-free-region-ordering-callee-4.stderr
regions-free-region-ordering-callee.rs
regions-free-region-ordering-callee.stderr
regions-free-region-ordering-caller1.rs
regions-free-region-ordering-caller1.stderr
regions-free-region-ordering-caller.rs
regions-free-region-ordering-caller.stderr
regions-free-region-ordering-incorrect.rs
regions-free-region-ordering-incorrect.stderr diagnostics: update test cases to refer to assoc fn with self as method 2023-02-22 08:40:47 -07:00
regions-free-region-outlives-static-outlives-free-region.rs Convert a hard-warning about named static lifetimes into lint "unused_lifetimes" 2023-02-22 09:44:26 +08:00
regions-free-region-outlives-static-outlives-free-region.stderr Convert a hard-warning about named static lifetimes into lint "unused_lifetimes" 2023-02-22 09:44:26 +08:00
regions-glb-free-free.rs
regions-glb-free-free.stderr
regions-implied-bounds-projection-gap-1.rs
regions-implied-bounds-projection-gap-1.stderr remove trailing dots 2023-10-08 10:06:17 +00:00
regions-implied-bounds-projection-gap-2.rs
regions-implied-bounds-projection-gap-3.rs
regions-implied-bounds-projection-gap-4.rs
regions-implied-bounds-projection-gap-hr-1.rs update tests 2023-07-03 09:12:15 +02:00
regions-implied-bounds-projection-gap-hr-1.stderr update tests 2023-07-03 09:12:15 +02:00
regions-in-enums-anon.rs
regions-in-enums-anon.stderr
regions-in-enums.rs
regions-in-enums.stderr
regions-in-structs-anon.rs
regions-in-structs-anon.stderr
regions-in-structs.rs
regions-in-structs.stderr
regions-infer-at-fn-not-param.rs
regions-infer-at-fn-not-param.stderr
regions-infer-borrow-scope-addr-of.rs
regions-infer-borrow-scope-too-big.rs
regions-infer-borrow-scope-too-big.stderr
regions-infer-borrow-scope-view.rs
regions-infer-borrow-scope-within-loop-ok.rs
regions-infer-borrow-scope.rs
regions-infer-bound-from-trait-self.rs
regions-infer-bound-from-trait-self.stderr remove trailing dots 2023-10-08 10:06:17 +00:00
regions-infer-bound-from-trait.rs
regions-infer-bound-from-trait.stderr remove trailing dots 2023-10-08 10:06:17 +00:00
regions-infer-call-2.rs
regions-infer-call-3.rs
regions-infer-call-3.stderr
regions-infer-call.rs
regions-infer-contravariance-due-to-decl.rs
regions-infer-contravariance-due-to-decl.stderr
regions-infer-contravariance-due-to-ret.rs
regions-infer-covariance-due-to-decl.rs
regions-infer-covariance-due-to-decl.stderr
regions-infer-invariance-due-to-decl.rs
regions-infer-invariance-due-to-decl.stderr
regions-infer-invariance-due-to-mutability-3.rs
regions-infer-invariance-due-to-mutability-3.stderr
regions-infer-invariance-due-to-mutability-4.rs
regions-infer-invariance-due-to-mutability-4.stderr
regions-infer-not-param.rs
regions-infer-not-param.stderr
regions-infer-paramd-indirect.rs
regions-infer-paramd-indirect.stderr
regions-infer-proc-static-upvar.rs
regions-infer-proc-static-upvar.stderr
regions-infer-reborrow-ref-mut-recurse.rs
regions-infer-region-in-fn-but-not-type.rs
regions-infer-static-from-proc.rs
regions-issue-21422.rs
regions-issue-22246.rs
regions-lifetime-bounds-on-fns.rs
regions-lifetime-bounds-on-fns.stderr Test and note unsafe ctor to fn ptr coercion 2023-08-30 15:09:40 -07:00
regions-lifetime-nonfree-late-bound.rs
regions-lifetime-of-struct-or-enum-variant.rs
regions-lifetime-of-struct-or-enum-variant.stderr
regions-lifetime-static-items-enclosing-scopes.rs
regions-link-fn-args.rs
regions-lub-ref-ref-rc.rs
regions-mock-codegen.rs fix UB in ancient test 2023-02-12 16:30:37 +01:00
regions-name-duplicated.rs
regions-name-duplicated.stderr
regions-name-static.rs
regions-name-static.stderr
regions-name-undeclared.rs
regions-name-undeclared.stderr
regions-nested-fns-2.rs
regions-nested-fns-2.stderr
regions-nested-fns.rs
regions-nested-fns.stderr
regions-no-bound-in-argument-cleanup.rs
regions-no-variance-from-fn-generics.rs
regions-normalize-in-where-clause-list.rs
regions-normalize-in-where-clause-list.stderr
regions-nullary-variant.rs
regions-outlives-nominal-type-enum-region-rev.rs
regions-outlives-nominal-type-enum-region.rs
regions-outlives-nominal-type-enum-type-rev.rs
regions-outlives-nominal-type-enum-type.rs
regions-outlives-nominal-type-struct-region-rev.rs
regions-outlives-nominal-type-struct-region.rs
regions-outlives-nominal-type-struct-type-rev.rs
regions-outlives-nominal-type-struct-type.rs
regions-outlives-projection-container-hrtb.rs
regions-outlives-projection-container-hrtb.stderr
regions-outlives-projection-container-wc.rs
regions-outlives-projection-container-wc.stderr
regions-outlives-projection-container.rs
regions-outlives-projection-container.stderr
regions-outlives-projection-hrtype.rs
regions-outlives-projection-trait-def.rs
regions-outlives-scalar.rs
regions-params.rs
regions-pattern-typing-issue-19552.rs
regions-pattern-typing-issue-19552.stderr
regions-pattern-typing-issue-19997.rs
regions-pattern-typing-issue-19997.stderr
regions-proc-bound-capture.rs
regions-proc-bound-capture.stderr
regions-reassign-let-bound-pointer.rs
regions-reassign-match-bound-pointer.rs
regions-reborrow-from-shorter-mut-ref-mut-ref.rs
regions-reborrow-from-shorter-mut-ref-mut-ref.stderr
regions-reborrow-from-shorter-mut-ref.rs
regions-reborrow-from-shorter-mut-ref.stderr
regions-ref-in-fn-arg.rs
regions-ref-in-fn-arg.stderr
regions-refcell.rs
regions-relate-bound-regions-on-closures-to-inference-variables.rs
regions-ret-borrowed-1.rs
regions-ret-borrowed-1.stderr
regions-ret-borrowed.rs
regions-ret-borrowed.stderr
regions-ret.rs
regions-ret.stderr
regions-return-interior-of-option.rs
regions-return-ref-to-upvar-issue-17403.rs
regions-return-ref-to-upvar-issue-17403.stderr
regions-return-stack-allocated-vec.rs
regions-return-stack-allocated-vec.stderr
regions-scope-chain-example.rs
regions-self-impls.rs
regions-self-in-enums.rs
regions-simple.rs
regions-static-bound-rpass.rs Convert a hard-warning about named static lifetimes into lint "unused_lifetimes" 2023-02-22 09:44:26 +08:00
regions-static-bound-rpass.stderr Convert a hard-warning about named static lifetimes into lint "unused_lifetimes" 2023-02-22 09:44:26 +08:00
regions-static-bound.rs Convert a hard-warning about named static lifetimes into lint "unused_lifetimes" 2023-02-22 09:44:26 +08:00
regions-static-bound.stderr Convert a hard-warning about named static lifetimes into lint "unused_lifetimes" 2023-02-22 09:44:26 +08:00
regions-static-closure.rs
regions-steal-closure.rs
regions-steal-closure.stderr
regions-trait-1.rs
regions-trait-object-1.rs
regions-trait-object-subtyping.rs
regions-trait-object-subtyping.stderr
regions-trait-variance.rs
regions-trait-variance.stderr
regions-undeclared.rs
regions-undeclared.stderr
regions-var-type-out-of-scope.rs
regions-var-type-out-of-scope.stderr
regions-variance-contravariant-use-contravariant.rs
regions-variance-contravariant-use-covariant-in-second-position.rs
regions-variance-contravariant-use-covariant-in-second-position.stderr
regions-variance-contravariant-use-covariant.rs
regions-variance-contravariant-use-covariant.stderr
regions-variance-covariant-use-contravariant.rs
regions-variance-covariant-use-contravariant.stderr
regions-variance-covariant-use-covariant.rs
regions-variance-invariant-use-contravariant.rs
regions-variance-invariant-use-contravariant.stderr
regions-variance-invariant-use-covariant.rs
regions-variance-invariant-use-covariant.stderr
regions-wf-trait-object.rs
regions-wf-trait-object.stderr
resolve-re-error-ice.rs Don't delay ReError bug during lexical region resolve 2023-02-17 18:26:22 +00:00
resolve-re-error-ice.stderr Don't delay ReError bug during lexical region resolve 2023-02-17 18:26:22 +00:00
type-param-outlives-reempty-issue-74429-2.rs Adjust tests for new drop and forget lints 2023-05-10 19:36:02 +02:00
type-param-outlives-reempty-issue-74429.rs Rename drop_copy lint to dropping_copy_types 2023-05-21 13:37:32 +02:00
wf-bound-region-in-object-type.rs