rust/tests/ui/regions
Esteban Küber f5bae722be Point at explicit 'static obligations on a trait
Given `trait Any: 'static` and a `struct` with a `Box<dyn Any + 'a>` field, point at the `'static` bound in `Any` to explain why `'a: 'static`.

```
error[E0478]: lifetime bound not satisfied
   --> f202.rs:2:12
    |
2   |     value: Box<dyn std::any::Any + 'a>,
    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
note: lifetime parameter instantiated with the lifetime `'a` as defined here
   --> f202.rs:1:14
    |
1   | struct Hello<'a> {
    |              ^^
note: but lifetime parameter must outlive the static lifetime
   --> /home/gh-estebank/rust/library/core/src/any.rs:113:16
    |
113 | pub trait Any: 'static {
    |                ^^^^^^^
```

Partially address #33652.
2024-08-21 16:40:15 +00:00
..
auxiliary
account-for-lifetimes-in-closure-suggestion.rs Do not ICE when suggesting dereferencing closure arg 2024-06-24 03:39:54 +00:00
account-for-lifetimes-in-closure-suggestion.stderr Do not ICE when suggesting dereferencing closure arg 2024-06-24 03:39:54 +00:00
closure-in-projection-issue-97405.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +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 Show number in error message even for one error 2023-11-24 19:15:52 +01:00
explicit-static-bound-on-trait.rs Point at explicit 'static obligations on a trait 2024-08-21 16:40:15 +00:00
explicit-static-bound-on-trait.stderr Point at explicit 'static obligations on a trait 2024-08-21 16:40:15 +00:00
forall-wf-ref-reflexive.rs
forall-wf-ref-reflexive.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
forall-wf-reflexive.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
higher-ranked-implied.rs
higher-ranked-implied.stderr
init-res-into-things.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-5243.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-6157.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-11612.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-12470.rs
issue-12470.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-21520.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-24085.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-26448-1.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-26448-2.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-26448-3.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-28848.rs
issue-28848.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-56537-closure-uses-region-from-container.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-72051-member-region-hang.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-78262.base.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-78262.polonius.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-78262.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-101280.rs
issue-101280.stderr recurse into refs when comparing tys for diagnostics 2023-12-07 23:00:46 -05:00
issue-102374.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-102374.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-102392.rs
issue-102392.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
lifetime-not-long-enough-suggestion-regression-test-124563.rs Do not ICE when suggesting dereferencing closure arg 2024-06-24 03:39:54 +00:00
lifetime-not-long-enough-suggestion-regression-test-124563.stderr Do not ICE when suggesting dereferencing closure arg 2024-06-24 03:39:54 +00:00
outlives-with-missing.rs
outlives-with-missing.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
owned-implies-static.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
rcvr-borrowed-to-region.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
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 [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
region-bound-on-closure-outlives-call.rs
region-bound-on-closure-outlives-call.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
region-bound-same-bounds-in-trait-and-impl.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
region-bounds-on-objects-and-type-parameters.rs
region-bounds-on-objects-and-type-parameters.stderr Improve the diagnostics for unused generic parameters 2024-02-01 16:18:03 +01:00
region-invariant-static-error-reporting.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
region-invariant-static-error-reporting.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
region-lifetime-bounds-on-fns-where-clause.rs Continue to borrowck even if there were previous errors 2024-02-08 08:10:43 +00:00
region-lifetime-bounds-on-fns-where-clause.stderr Revert "Auto merge of #122140 - oli-obk:track_errors13, r=davidtwco" 2024-03-11 21:28:16 +00:00
region-multiple-lifetime-bounds-on-fns-where-clause.rs Continue to borrowck even if there were previous errors 2024-02-08 08:10:43 +00:00
region-multiple-lifetime-bounds-on-fns-where-clause.stderr Revert "Auto merge of #122140 - oli-obk:track_errors13, r=davidtwco" 2024-03-11 21:28:16 +00:00
region-object-lifetime-1.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
region-object-lifetime-2.rs
region-object-lifetime-2.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
region-object-lifetime-3.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
region-object-lifetime-4.rs
region-object-lifetime-4.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
region-object-lifetime-5.rs
region-object-lifetime-5.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01: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 [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
regions-addr-of-ret.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
regions-addr-of-self.rs
regions-addr-of-self.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
regions-addr-of-upvar-self.rs
regions-addr-of-upvar-self.stderr Modify find_expr from Span to better account for closures 2024-04-24 22:21:13 +00:00
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 Show number in error message even for one error 2023-11-24 19:15:52 +01:00
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 [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
regions-assoc-type-static-bound-in-trait-not-met.rs
regions-assoc-type-static-bound-in-trait-not-met.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
regions-assoc-type-static-bound.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
regions-borrow-at.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
regions-borrow-evec-fixed.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
regions-borrow-evec-uniq.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
regions-borrow-uniq.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
regions-bot.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
regions-bound-lists-feature-gate-2.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
regions-bound-lists-feature-gate.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
regions-bounded-by-trait-requiring-static.rs
regions-bounded-by-trait-requiring-static.stderr
regions-bounded-method-type-parameters-cross-crate.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
regions-bounded-method-type-parameters-cross-crate.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
regions-bounded-method-type-parameters-trait-bound.rs
regions-bounded-method-type-parameters-trait-bound.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
regions-bounded-method-type-parameters.rs
regions-bounded-method-type-parameters.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
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 Show number in error message even for one error 2023-11-24 19:15:52 +01:00
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 Show number in error message even for one error 2023-11-24 19:15:52 +01:00
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 Show number in error message even for one error 2023-11-24 19:15:52 +01:00
regions-close-over-type-parameter-successfully.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
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 [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
regions-creating-enums2.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
regions-creating-enums3.rs
regions-creating-enums3.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
regions-creating-enums4.rs
regions-creating-enums4.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
regions-creating-enums5.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
regions-creating-enums.rs
regions-creating-enums.stderr
regions-debruijn-of-object.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
regions-dependent-addr-of.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
regions-dependent-autofn.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
regions-dependent-autoslice.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
regions-dependent-let-ref.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
regions-early-bound-error-method.rs
regions-early-bound-error-method.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
regions-early-bound-error.rs
regions-early-bound-error.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
regions-early-bound-lifetime-in-assoc-fn.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
regions-early-bound-trait-param.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
regions-early-bound-used-in-bound-method.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
regions-early-bound-used-in-bound.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
regions-early-bound-used-in-type-param.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
regions-escape-into-other-fn.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
regions-escape-method.fixed Do not ICE when suggesting dereferencing closure arg 2024-06-24 03:39:54 +00:00
regions-escape-method.rs Do not ICE when suggesting dereferencing closure arg 2024-06-24 03:39:54 +00:00
regions-escape-method.stderr Do not ICE when suggesting dereferencing closure arg 2024-06-24 03:39:54 +00:00
regions-escape-via-trait-or-not.rs
regions-escape-via-trait-or-not.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
regions-expl-self.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
regions-fn-subtyping-2.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
regions-fn-subtyping-return-static-fail.rs
regions-fn-subtyping-return-static-fail.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
regions-fn-subtyping-return-static.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
regions-fn-subtyping.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
regions-free-region-ordering-callee-4.rs Continue compilation after check_mod_type_wf errors 2024-02-14 11:00:30 +00:00
regions-free-region-ordering-callee-4.stderr Continue compilation after check_mod_type_wf errors 2024-02-14 11:00:30 +00:00
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 Show number in error message even for one error 2023-11-24 19:15:52 +01:00
regions-free-region-outlives-static-outlives-free-region.rs Split back out unused_lifetimes -> redundant_lifetimes 2024-04-09 12:17:34 -04:00
regions-free-region-outlives-static-outlives-free-region.stderr Split back out unused_lifetimes -> redundant_lifetimes 2024-04-09 12:17:34 -04:00
regions-glb-free-free.rs
regions-glb-free-free.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
regions-implied-bounds-projection-gap-1.rs
regions-implied-bounds-projection-gap-1.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
regions-implied-bounds-projection-gap-2.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
regions-implied-bounds-projection-gap-3.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
regions-implied-bounds-projection-gap-4.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
regions-implied-bounds-projection-gap-hr-1.rs Continue compilation after check_mod_type_wf errors 2024-02-14 11:00:30 +00:00
regions-implied-bounds-projection-gap-hr-1.stderr Continue compilation after check_mod_type_wf errors 2024-02-14 11:00:30 +00:00
regions-in-enums-anon.rs
regions-in-enums-anon.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
regions-in-enums.rs
regions-in-enums.stderr
regions-in-structs-anon.rs
regions-in-structs-anon.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
regions-in-structs.rs
regions-in-structs.stderr
regions-infer-at-fn-not-param.rs
regions-infer-at-fn-not-param.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
regions-infer-borrow-scope-addr-of.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
regions-infer-borrow-scope-too-big.rs
regions-infer-borrow-scope-too-big.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
regions-infer-borrow-scope-view.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
regions-infer-borrow-scope-within-loop-ok.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
regions-infer-borrow-scope.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
regions-infer-bound-from-trait-self.rs
regions-infer-bound-from-trait-self.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01: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 [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
regions-infer-call-3.rs
regions-infer-call-3.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
regions-infer-call.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
regions-infer-contravariance-due-to-decl.rs
regions-infer-contravariance-due-to-decl.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
regions-infer-contravariance-due-to-ret.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
regions-infer-covariance-due-to-decl.rs
regions-infer-covariance-due-to-decl.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
regions-infer-invariance-due-to-decl.rs
regions-infer-invariance-due-to-decl.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
regions-infer-invariance-due-to-mutability-3.rs
regions-infer-invariance-due-to-mutability-3.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
regions-infer-invariance-due-to-mutability-4.rs
regions-infer-invariance-due-to-mutability-4.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
regions-infer-not-param.rs
regions-infer-not-param.stderr
regions-infer-paramd-indirect.rs
regions-infer-paramd-indirect.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
regions-infer-proc-static-upvar.rs
regions-infer-proc-static-upvar.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
regions-infer-reborrow-ref-mut-recurse.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
regions-infer-region-in-fn-but-not-type.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
regions-infer-static-from-proc.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
regions-issue-21422.rs Revert "Rollup merge of #125572 - mu001999-contrib:dead/enhance, r=pnkfelix" 2024-08-03 07:57:31 -04:00
regions-issue-22246.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
regions-lifetime-bounds-on-fns.rs Continue to borrowck even if there were previous errors 2024-02-08 08:10:43 +00:00
regions-lifetime-bounds-on-fns.stderr Revert "Auto merge of #122140 - oli-obk:track_errors13, r=davidtwco" 2024-03-11 21:28:16 +00:00
regions-lifetime-nonfree-late-bound.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
regions-lifetime-of-struct-or-enum-variant.rs
regions-lifetime-of-struct-or-enum-variant.stderr
regions-lifetime-static-items-enclosing-scopes.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
regions-link-fn-args.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
regions-lub-ref-ref-rc.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
regions-mock-codegen.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
regions-name-duplicated.rs
regions-name-duplicated.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
regions-name-static.rs
regions-name-static.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
regions-name-undeclared.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
regions-name-undeclared.stderr
regions-nested-fns-2.rs
regions-nested-fns-2.stderr Modify find_expr from Span to better account for closures 2024-04-24 22:21:13 +00:00
regions-nested-fns.rs
regions-nested-fns.stderr Modify find_expr from Span to better account for closures 2024-04-24 22:21:13 +00:00
regions-no-bound-in-argument-cleanup.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
regions-no-variance-from-fn-generics.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
regions-normalize-in-where-clause-list.rs
regions-normalize-in-where-clause-list.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
regions-nullary-variant.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
regions-outlives-nominal-type-enum-region-rev.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
regions-outlives-nominal-type-enum-region.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
regions-outlives-nominal-type-enum-type-rev.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
regions-outlives-nominal-type-enum-type.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
regions-outlives-nominal-type-struct-region-rev.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
regions-outlives-nominal-type-struct-region.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
regions-outlives-nominal-type-struct-type-rev.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
regions-outlives-nominal-type-struct-type.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
regions-outlives-projection-container-hrtb.rs
regions-outlives-projection-container-hrtb.stderr
regions-outlives-projection-container-wc.rs
regions-outlives-projection-container-wc.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
regions-outlives-projection-container.rs
regions-outlives-projection-container.stderr
regions-outlives-projection-hrtype.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
regions-outlives-projection-trait-def.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
regions-outlives-scalar.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
regions-params.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
regions-pattern-typing-issue-19552.rs
regions-pattern-typing-issue-19552.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
regions-pattern-typing-issue-19997.rs
regions-pattern-typing-issue-19997.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
regions-proc-bound-capture.rs
regions-proc-bound-capture.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
regions-reassign-let-bound-pointer.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
regions-reassign-match-bound-pointer.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
regions-reborrow-from-shorter-mut-ref-mut-ref.rs
regions-reborrow-from-shorter-mut-ref-mut-ref.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
regions-reborrow-from-shorter-mut-ref.rs
regions-reborrow-from-shorter-mut-ref.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
regions-ref-in-fn-arg.rs
regions-ref-in-fn-arg.stderr
regions-refcell.rs compiletest: add enable-by-default check-cfg 2024-05-04 11:30:38 +02:00
regions-relate-bound-regions-on-closures-to-inference-variables.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
regions-ret-borrowed-1.rs
regions-ret-borrowed-1.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
regions-ret-borrowed.rs
regions-ret-borrowed.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
regions-ret.rs
regions-ret.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
regions-return-interior-of-option.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
regions-return-ref-to-upvar-issue-17403.rs
regions-return-ref-to-upvar-issue-17403.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
regions-return-stack-allocated-vec.rs
regions-return-stack-allocated-vec.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
regions-scope-chain-example.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
regions-self-impls.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
regions-self-in-enums.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
regions-simple.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
regions-static-bound-rpass.rs Split back out unused_lifetimes -> redundant_lifetimes 2024-04-09 12:17:34 -04:00
regions-static-bound-rpass.stderr Split back out unused_lifetimes -> redundant_lifetimes 2024-04-09 12:17:34 -04:00
regions-static-bound.rs Split back out unused_lifetimes -> redundant_lifetimes 2024-04-09 12:17:34 -04:00
regions-static-bound.stderr Split back out unused_lifetimes -> redundant_lifetimes 2024-04-09 12:17:34 -04:00
regions-static-closure.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
regions-steal-closure.rs
regions-steal-closure.stderr Modify find_expr from Span to better account for closures 2024-04-24 22:21:13 +00:00
regions-trait-1.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
regions-trait-object-1.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
regions-trait-object-subtyping.rs
regions-trait-object-subtyping.stderr
regions-trait-variance.rs
regions-trait-variance.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
regions-undeclared.rs
regions-undeclared.stderr
regions-var-type-out-of-scope.rs
regions-var-type-out-of-scope.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
regions-variance-contravariant-use-contravariant.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
regions-variance-contravariant-use-covariant-in-second-position.rs
regions-variance-contravariant-use-covariant-in-second-position.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
regions-variance-contravariant-use-covariant.rs
regions-variance-contravariant-use-covariant.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
regions-variance-covariant-use-contravariant.rs
regions-variance-covariant-use-contravariant.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
regions-variance-covariant-use-covariant.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
regions-variance-invariant-use-contravariant.rs
regions-variance-invariant-use-contravariant.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
regions-variance-invariant-use-covariant.rs
regions-variance-invariant-use-covariant.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
regions-wf-trait-object.rs
regions-wf-trait-object.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
resolve-re-error-ice.rs Make IMPLIED_BOUNDS_ENTAILMENT into a hard error from a lint 2023-12-16 01:28:05 +00:00
resolve-re-error-ice.stderr Make IMPLIED_BOUNDS_ENTAILMENT into a hard error from a lint 2023-12-16 01:28:05 +00:00
transitively-redundant-lifetimes.rs Split back out unused_lifetimes -> redundant_lifetimes 2024-04-09 12:17:34 -04:00
transitively-redundant-lifetimes.stderr Split back out unused_lifetimes -> redundant_lifetimes 2024-04-09 12:17:34 -04:00
type-param-outlives-reempty-issue-74429-2.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
type-param-outlives-reempty-issue-74429.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
wf-bound-region-in-object-type.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00