rust/src/test/ui/regions
Aaron Hill 31cdd8cdd2
Propagate coercion cause into try_coerce
Currently, `coerce_inner` discards its `ObligationCause`
when calling `try_coerce`. This interfers with other
diagnostc improvements I'm working on, since we will lose
the original span by the time the actual coercion occurs.

Additionally, we now use the span of the trailing expression
(rather than the span of the entire function) when performing
a coercion in `check_return_expr`. This currently has no visible
effect on any of the unit tests, but will unblock future
diagnostic improvements.
2021-09-16 16:53:40 -05:00
..
auxiliary Remove licenses 2018-12-25 21:08:33 -07:00
issue-2718.rs Move some tests to more reasonable directories - 2 2021-01-16 19:46:54 -03:00
issue-5243.rs Move some tests to more reasonable directories - 2 2021-01-16 19:46:54 -03:00
issue-6157.rs Move some tests to more suitable subdirs 2021-03-06 18:24:53 +09:00
issue-12470.rs Move some tests to more reasonable directories - 2 2021-01-16 19:46:54 -03:00
issue-12470.stderr Move some tests to more reasonable directories - 2 2021-01-16 19:46:54 -03:00
issue-24085.rs Move some tests to more reasonable directories - 2 2021-01-16 19:46:54 -03:00
issue-28848.nll.stderr Move some tests to more reasonable directories - 2 2021-01-16 19:46:54 -03:00
issue-28848.rs Move some tests to more reasonable directories - 2 2021-01-16 19:46:54 -03:00
issue-28848.stderr More precise spans for HIR paths 2021-03-15 22:13:45 +03:00
issue-56537-closure-uses-region-from-container.rs Use check-pass in ui tests where appropriate 2019-11-04 16:03:46 +01:00
issue-72051-member-region-hang.rs Fix hang in lexical_region_resolve 2020-05-11 21:05:08 +01:00
issue-78262.default.stderr restructure issue-78262 to test polonius 2021-08-03 20:30:10 +02:00
issue-78262.nll.stderr restructure issue-78262 to test polonius 2021-08-03 20:30:10 +02:00
issue-78262.polonius.stderr restructure issue-78262 to test polonius 2021-08-03 20:30:10 +02:00
issue-78262.rs restructure issue-78262 to test polonius 2021-08-03 20:30:10 +02:00
region-borrow-params-issue-29793-big.rs update tests for migrate mode by default 2019-04-22 08:40:08 +01:00
region-borrow-params-issue-29793-big.stderr Modify structured suggestion output 2021-08-11 09:46:24 +00:00
region-borrow-params-issue-29793-small.rs Update ui test suite to use dyn 2019-05-29 00:57:31 -04:00
region-borrow-params-issue-29793-small.stderr Modify structured suggestion output 2021-08-11 09:46:24 +00:00
region-bound-extra-bound-in-inherent-impl.rs Use check-pass instead of build-pass in regions ui test suite 2020-10-30 23:34:12 +09:00
region-bound-on-closure-outlives-call.rs Remove licenses 2018-12-25 21:08:33 -07:00
region-bound-on-closure-outlives-call.stderr rustc: Add a warning count upon completion 2020-04-11 16:15:24 +02:00
region-bound-same-bounds-in-trait-and-impl.rs Use check-pass instead of build-pass in regions ui test suite 2020-10-30 23:34:12 +09:00
region-bounds-on-objects-and-type-parameters.rs Update ui test suite to use dyn 2019-05-29 00:57:31 -04:00
region-bounds-on-objects-and-type-parameters.stderr pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03:00
region-invariant-static-error-reporting.nll.stderr Update ui tests (nll) 2021-02-02 18:57:34 +01:00
region-invariant-static-error-reporting.rs Print lifetimes with backticks 2019-10-11 16:08:53 +09:00
region-invariant-static-error-reporting.stderr Add backticks to various diagnostics 2020-01-05 00:17:46 +00:00
region-lifetime-bounds-on-fns-where-clause.nll.stderr Report mismatched type errors for bound region errors in NLL 2021-08-15 09:11:00 +02:00
region-lifetime-bounds-on-fns-where-clause.rs improve handling for subtype 2019-01-02 17:35:06 -05:00
region-lifetime-bounds-on-fns-where-clause.stderr move leak-check to during coherence, candidate eval 2020-06-22 15:33:05 +00:00
region-multiple-lifetime-bounds-on-fns-where-clause.nll.stderr Report mismatched type errors for bound region errors in NLL 2021-08-15 09:11:00 +02:00
region-multiple-lifetime-bounds-on-fns-where-clause.polonius.stderr bless region-multiple-lifetime-bounds-on-fns-where-clause under polonius 2021-08-03 20:30:10 +02:00
region-multiple-lifetime-bounds-on-fns-where-clause.rs improve handling for subtype 2019-01-02 17:35:06 -05:00
region-multiple-lifetime-bounds-on-fns-where-clause.stderr move leak-check to during coherence, candidate eval 2020-06-22 15:33:05 +00:00
region-object-lifetime-1.rs Use check-pass instead of build-pass in regions ui test suite 2020-10-30 23:34:12 +09:00
region-object-lifetime-2.nll.stderr update tests 2019-10-27 09:39:14 -05:00
region-object-lifetime-2.rs Update ui test suite to use dyn 2019-05-29 00:57:31 -04:00
region-object-lifetime-2.stderr Print lifetimes with backticks 2019-10-11 16:08:53 +09:00
region-object-lifetime-3.rs Use check-pass instead of build-pass in regions ui test suite 2020-10-30 23:34:12 +09:00
region-object-lifetime-4.nll.stderr update tests 2019-10-27 09:39:14 -05:00
region-object-lifetime-4.rs Update ui test suite to use dyn 2019-05-29 00:57:31 -04:00
region-object-lifetime-4.stderr Print lifetimes with backticks 2019-10-11 16:08:53 +09:00
region-object-lifetime-5.rs Update ui test suite to use dyn 2019-05-29 00:57:31 -04:00
region-object-lifetime-5.stderr update tests for migrate mode by default 2019-04-22 08:40:08 +01:00
region-object-lifetime-in-coercion.nll.stderr When 'static is explicit, suggest constraining argument with it 2020-06-15 09:06:57 -07:00
region-object-lifetime-in-coercion.rs Further tweak wording of E0759 and introduce E0767 2020-07-22 12:25:54 -07:00
region-object-lifetime-in-coercion.stderr Propagate coercion cause into try_coerce 2021-09-16 16:53:40 -05:00
regions-addr-of-arg.rs update tests for migrate mode by default 2019-04-22 08:40:08 +01:00
regions-addr-of-arg.stderr update tests for migrate mode by default 2019-04-22 08:40:08 +01:00
regions-addr-of-interior-of-unique-box.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
regions-addr-of-ret.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
regions-addr-of-self.nll.stderr Change compare mode to use -Zborrowck=mir 2019-05-12 18:46:43 +01:00
regions-addr-of-self.rs Further tweak wording of E0759 and introduce E0767 2020-07-22 12:25:54 -07:00
regions-addr-of-self.stderr Further tweak wording of E0759 and introduce E0767 2020-07-22 12:25:54 -07:00
regions-addr-of-upvar-self.nll.stderr fix nll test stderr 2021-05-02 04:01:45 -04:00
regions-addr-of-upvar-self.rs Update tests to remove old numeric constants 2020-11-29 00:55:55 -05:00
regions-addr-of-upvar-self.stderr Update tests to remove old numeric constants 2020-11-29 00:55:55 -05:00
regions-adjusted-lvalue-op.rs Remove licenses 2018-12-25 21:08:33 -07:00
regions-adjusted-lvalue-op.stderr update tests for migrate mode by default 2019-04-22 08:40:08 +01:00
regions-assoc-type-in-supertrait-outlives-container.migrate.nll.stderr update tests 2019-10-27 09:39:14 -05:00
regions-assoc-type-in-supertrait-outlives-container.migrate.stderr Print lifetimes with backticks 2019-10-11 16:08:53 +09:00
regions-assoc-type-in-supertrait-outlives-container.nll.stderr update tests 2019-10-27 09:39:14 -05:00
regions-assoc-type-in-supertrait-outlives-container.rs Cherry-pick src/test changes with Centril's changes 2019-08-19 22:31:46 +01:00
regions-assoc-type-region-bound-in-trait-not-met.rs Fix rebase 2020-10-06 11:19:32 +01:00
regions-assoc-type-region-bound-in-trait-not-met.stderr Point at unmet explicit lifetime obligation bound 2021-07-31 07:56:01 -07:00
regions-assoc-type-region-bound.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
regions-assoc-type-static-bound-in-trait-not-met.rs Fix rebase 2020-10-06 11:19:32 +01:00
regions-assoc-type-static-bound-in-trait-not-met.stderr Point at unmet explicit lifetime obligation bound 2021-07-31 07:56:01 -07:00
regions-assoc-type-static-bound.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
regions-borrow-at.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
regions-borrow-evec-fixed.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
regions-borrow-evec-uniq.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
regions-borrow-uniq.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
regions-bot.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
regions-bound-lists-feature-gate-2.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
regions-bound-lists-feature-gate.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
regions-bounded-by-trait-requiring-static.nll.stderr update tests 2019-10-27 09:39:14 -05:00
regions-bounded-by-trait-requiring-static.rs Remove licenses 2018-12-25 21:08:33 -07:00
regions-bounded-by-trait-requiring-static.stderr Point at unmet explicit lifetime obligation bound 2021-07-31 07:56:01 -07:00
regions-bounded-method-type-parameters-cross-crate.nll.stderr update tests 2019-10-27 09:39:14 -05:00
regions-bounded-method-type-parameters-cross-crate.rs Remove licenses 2018-12-25 21:08:33 -07:00
regions-bounded-method-type-parameters-cross-crate.stderr Update ui tests 2019-11-07 13:02:34 +01:00
regions-bounded-method-type-parameters-trait-bound.nll.stderr Update ui tests (nll) 2021-02-02 18:57:34 +01:00
regions-bounded-method-type-parameters-trait-bound.rs Remove licenses 2018-12-25 21:08:33 -07:00
regions-bounded-method-type-parameters-trait-bound.stderr Update ui tests 2019-11-07 13:02:34 +01:00
regions-bounded-method-type-parameters.nll.stderr update tests 2019-10-27 09:39:14 -05:00
regions-bounded-method-type-parameters.rs Remove licenses 2018-12-25 21:08:33 -07:00
regions-bounded-method-type-parameters.stderr Add error code explanation for E0477 2019-12-30 14:41:46 +08:00
regions-bounds.nll.stderr update tests 2019-10-27 09:39:14 -05:00
regions-bounds.rs Remove licenses 2018-12-25 21:08:33 -07:00
regions-bounds.stderr Specific labels when referring to "expected" and "found" types 2019-11-18 11:02:22 -08:00
regions-close-associated-type-into-object.nll.stderr Change compare mode to use -Zborrowck=mir 2019-05-12 18:46:43 +01:00
regions-close-associated-type-into-object.rs Update ui test suite to use dyn 2019-05-29 00:57:31 -04:00
regions-close-associated-type-into-object.stderr pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03:00
regions-close-object-into-object-1.rs update tests for migrate mode by default 2019-04-22 08:40:08 +01:00
regions-close-object-into-object-1.stderr update tests for migrate mode by default 2019-04-22 08:40:08 +01:00
regions-close-object-into-object-2.nll.stderr update tests 2019-10-27 09:39:14 -05:00
regions-close-object-into-object-2.rs Further tweak wording of E0759 and introduce E0767 2020-07-22 12:25:54 -07:00
regions-close-object-into-object-2.stderr Modify structured suggestion output 2021-08-11 09:46:24 +00:00
regions-close-object-into-object-3.rs update tests for migrate mode by default 2019-04-22 08:40:08 +01:00
regions-close-object-into-object-3.stderr update tests for migrate mode by default 2019-04-22 08:40:08 +01:00
regions-close-object-into-object-4.nll.stderr update tests 2019-10-27 09:39:14 -05:00
regions-close-object-into-object-4.rs Further tweak wording of E0759 and introduce E0767 2020-07-22 12:25:54 -07:00
regions-close-object-into-object-4.stderr Modify structured suggestion output 2021-08-11 09:46:24 +00:00
regions-close-object-into-object-5.nll.stderr Change compare mode to use -Zborrowck=mir 2019-05-12 18:46:43 +01:00
regions-close-object-into-object-5.rs Update tests 2020-05-22 18:03:08 +01:00
regions-close-object-into-object-5.stderr Point at unmet explicit lifetime obligation bound 2021-07-31 07:56:01 -07:00
regions-close-over-type-parameter-1.nll.stderr Update tests 2020-05-22 18:03:08 +01:00
regions-close-over-type-parameter-1.rs Update tests 2020-05-22 18:03:08 +01:00
regions-close-over-type-parameter-1.stderr Tweak type parameter errors to reduce verbosity 2020-05-30 10:22:26 -07:00
regions-close-over-type-parameter-multiple.nll.stderr update tests 2019-10-27 09:39:14 -05:00
regions-close-over-type-parameter-multiple.rs Update ui test suite to use dyn 2019-05-29 00:57:31 -04:00
regions-close-over-type-parameter-multiple.stderr Propagate coercion cause into try_coerce 2021-09-16 16:53:40 -05:00
regions-close-over-type-parameter-successfully.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
regions-close-param-into-object.nll.stderr Change compare mode to use -Zborrowck=mir 2019-05-12 18:46:43 +01:00
regions-close-param-into-object.rs Update ui test suite to use dyn 2019-05-29 00:57:31 -04:00
regions-close-param-into-object.stderr pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03:00
regions-copy-closure.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
regions-creating-enums.rs update tests for migrate mode by default 2019-04-22 08:40:08 +01:00
regions-creating-enums.stderr update tests for migrate mode by default 2019-04-22 08:40:08 +01:00
regions-creating-enums2.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
regions-creating-enums3.nll.stderr update tests 2019-10-27 09:39:14 -05:00
regions-creating-enums3.rs Remove licenses 2018-12-25 21:08:33 -07:00
regions-creating-enums3.stderr Update ui tests 2019-11-07 13:02:34 +01:00
regions-creating-enums4.nll.stderr update tests 2019-10-27 09:39:14 -05:00
regions-creating-enums4.rs Remove licenses 2018-12-25 21:08:33 -07:00
regions-creating-enums4.stderr Propagate coercion cause into try_coerce 2021-09-16 16:53:40 -05:00
regions-creating-enums5.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
regions-debruijn-of-object.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
regions-dependent-addr-of.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
regions-dependent-autofn.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
regions-dependent-autoslice.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
regions-dependent-let-ref.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
regions-early-bound-error-method.nll.stderr update tests 2019-10-27 09:39:14 -05:00
regions-early-bound-error-method.rs Remove licenses 2018-12-25 21:08:33 -07:00
regions-early-bound-error-method.stderr Print lifetimes with backticks 2019-10-11 16:08:53 +09:00
regions-early-bound-error.nll.stderr update tests 2019-10-27 09:39:14 -05:00
regions-early-bound-error.rs Remove licenses 2018-12-25 21:08:33 -07:00
regions-early-bound-error.stderr Print lifetimes with backticks 2019-10-11 16:08:53 +09:00
regions-early-bound-lifetime-in-assoc-fn.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
regions-early-bound-trait-param.rs Remove compile-fail test suite 2020-12-29 23:39:56 +03:00
regions-early-bound-used-in-bound-method.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
regions-early-bound-used-in-bound.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
regions-early-bound-used-in-type-param.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
regions-enum-not-wf.rs Remove redundant ignore-tidy-linelength annotations 2021-04-03 22:30:20 +02:00
regions-enum-not-wf.stderr Remove redundant ignore-tidy-linelength annotations 2021-04-03 22:30:20 +02:00
regions-escape-into-other-fn.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
regions-escape-method.rs Update tests 2020-05-22 18:03:08 +01:00
regions-escape-method.stderr Update tests 2020-05-22 18:03:08 +01:00
regions-escape-via-trait-or-not.rs Update tests 2020-05-22 18:03:08 +01:00
regions-escape-via-trait-or-not.stderr Update tests 2020-05-22 18:03:08 +01:00
regions-expl-self.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
regions-fn-subtyping-2.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
regions-fn-subtyping-return-static-fail.nll.stderr Report mismatched type errors for bound region errors in NLL 2021-08-15 09:11:00 +02:00
regions-fn-subtyping-return-static-fail.rs Move some tests to more reasonable directories 2021-02-16 21:22:21 -03:00
regions-fn-subtyping-return-static-fail.stderr Move some tests to more reasonable directories 2021-02-16 21:22:21 -03:00
regions-fn-subtyping-return-static.rs rewrite leak check to be based on universes 2020-06-22 14:33:44 +00:00
regions-fn-subtyping.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
regions-free-region-ordering-callee-4.rs Remove licenses 2018-12-25 21:08:33 -07:00
regions-free-region-ordering-callee-4.stderr Use more accurate failed predicate spans 2020-02-02 11:53:09 -08:00
regions-free-region-ordering-callee.nll.stderr update tests 2019-10-27 09:39:14 -05:00
regions-free-region-ordering-callee.rs Remove licenses 2018-12-25 21:08:33 -07:00
regions-free-region-ordering-callee.stderr Update ui tests 2019-11-07 13:02:34 +01:00
regions-free-region-ordering-caller.migrate.nll.stderr update tests 2019-10-27 09:39:14 -05:00
regions-free-region-ordering-caller.migrate.stderr Update tests for erasing regions in typeck 2020-03-17 09:07:56 +00:00
regions-free-region-ordering-caller.nll.stderr update tests 2019-10-27 09:39:14 -05:00
regions-free-region-ordering-caller.rs Update tests for erasing regions in typeck 2020-03-17 09:07:56 +00:00
regions-free-region-ordering-caller1.rs update tests for migrate mode by default 2019-04-22 08:40:08 +01:00
regions-free-region-ordering-caller1.stderr update tests for migrate mode by default 2019-04-22 08:40:08 +01:00
regions-free-region-ordering-incorrect.nll.stderr update tests 2019-10-27 09:39:14 -05:00
regions-free-region-ordering-incorrect.rs Remove licenses 2018-12-25 21:08:33 -07:00
regions-free-region-ordering-incorrect.stderr Print lifetimes with backticks 2019-10-11 16:08:53 +09:00
regions-free-region-outlives-static-outlives-free-region.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
regions-glb-free-free.rs Remove licenses 2018-12-25 21:08:33 -07:00
regions-glb-free-free.stderr Update tests 2019-03-11 23:10:26 +03:00
regions-implied-bounds-projection-gap-1.nll.stderr Change compare mode to use -Zborrowck=mir 2019-05-12 18:46:43 +01:00
regions-implied-bounds-projection-gap-1.rs Remove licenses 2018-12-25 21:08:33 -07:00
regions-implied-bounds-projection-gap-1.stderr Tweak type parameter errors to reduce verbosity 2020-05-30 10:22:26 -07:00
regions-implied-bounds-projection-gap-2.rs Use check-pass instead of build-pass in regions ui test suite 2020-10-30 23:34:12 +09:00
regions-implied-bounds-projection-gap-3.rs Use check-pass instead of build-pass in regions ui test suite 2020-10-30 23:34:12 +09:00
regions-implied-bounds-projection-gap-4.rs Use check-pass instead of build-pass in regions ui test suite 2020-10-30 23:34:12 +09:00
regions-implied-bounds-projection-gap-hr-1.rs Normalize associated types with bound vars 2021-08-24 22:29:39 -04:00
regions-implied-bounds-projection-gap-hr-1.stderr Normalize associated types with bound vars 2021-08-24 22:29:39 -04:00
regions-in-enums-anon.rs Remove licenses 2018-12-25 21:08:33 -07:00
regions-in-enums-anon.stderr Modify structured suggestion output 2021-08-11 09:46:24 +00:00
regions-in-enums.rs Remove licenses 2018-12-25 21:08:33 -07:00
regions-in-enums.stderr Tweak wording 2020-07-10 07:24:18 +09:00
regions-in-structs-anon.rs Remove licenses 2018-12-25 21:08:33 -07:00
regions-in-structs-anon.stderr Modify structured suggestion output 2021-08-11 09:46:24 +00:00
regions-in-structs.rs Remove licenses 2018-12-25 21:08:33 -07:00
regions-in-structs.stderr Tweak wording 2020-07-10 07:24:18 +09:00
regions-infer-at-fn-not-param.rs Update ui test suite to use dyn 2019-05-29 00:57:31 -04:00
regions-infer-at-fn-not-param.stderr Remove licenses 2018-12-25 21:08:33 -07:00
regions-infer-borrow-scope-addr-of.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
regions-infer-borrow-scope-too-big.rs update tests for migrate mode by default 2019-04-22 08:40:08 +01:00
regions-infer-borrow-scope-too-big.stderr update tests for migrate mode by default 2019-04-22 08:40:08 +01:00
regions-infer-borrow-scope-view.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
regions-infer-borrow-scope-within-loop-ok.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
regions-infer-borrow-scope.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
regions-infer-bound-from-trait-self.nll.stderr Change compare mode to use -Zborrowck=mir 2019-05-12 18:46:43 +01:00
regions-infer-bound-from-trait-self.rs Remove licenses 2018-12-25 21:08:33 -07:00
regions-infer-bound-from-trait-self.stderr Point at unmet explicit lifetime obligation bound 2021-07-31 07:56:01 -07:00
regions-infer-bound-from-trait.nll.stderr Change compare mode to use -Zborrowck=mir 2019-05-12 18:46:43 +01:00
regions-infer-bound-from-trait.rs Remove licenses 2018-12-25 21:08:33 -07:00
regions-infer-bound-from-trait.stderr Point at unmet explicit lifetime obligation bound 2021-07-31 07:56:01 -07:00
regions-infer-call-2.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
regions-infer-call-3.rs Update tests 2020-05-22 18:03:08 +01:00
regions-infer-call-3.stderr Update tests 2020-05-22 18:03:08 +01:00
regions-infer-call.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
regions-infer-contravariance-due-to-decl.nll.stderr update tests 2019-10-27 09:39:14 -05:00
regions-infer-contravariance-due-to-decl.rs Remove licenses 2018-12-25 21:08:33 -07:00
regions-infer-contravariance-due-to-decl.stderr Update ui tests 2019-11-07 13:02:34 +01:00
regions-infer-contravariance-due-to-ret.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
regions-infer-covariance-due-to-decl.nll.stderr update tests 2019-10-27 09:39:14 -05:00
regions-infer-covariance-due-to-decl.rs Remove licenses 2018-12-25 21:08:33 -07:00
regions-infer-covariance-due-to-decl.stderr Update ui tests 2019-11-07 13:02:34 +01:00
regions-infer-invariance-due-to-decl.nll.stderr update tests 2019-10-27 09:39:14 -05:00
regions-infer-invariance-due-to-decl.rs Remove licenses 2018-12-25 21:08:33 -07:00
regions-infer-invariance-due-to-decl.stderr Specific labels when referring to "expected" and "found" types 2019-11-18 11:02:22 -08:00
regions-infer-invariance-due-to-mutability-3.nll.stderr update tests 2019-10-27 09:39:14 -05:00
regions-infer-invariance-due-to-mutability-3.rs Update ui test suite to use dyn 2019-05-29 00:57:31 -04:00
regions-infer-invariance-due-to-mutability-3.stderr Specific labels when referring to "expected" and "found" types 2019-11-18 11:02:22 -08:00
regions-infer-invariance-due-to-mutability-4.nll.stderr update tests 2019-10-27 09:39:14 -05:00
regions-infer-invariance-due-to-mutability-4.rs Update ui test suite to use dyn 2019-05-29 00:57:31 -04:00
regions-infer-invariance-due-to-mutability-4.stderr Specific labels when referring to "expected" and "found" types 2019-11-18 11:02:22 -08:00
regions-infer-not-param.nll.stderr update tests 2019-10-27 09:39:14 -05:00
regions-infer-not-param.rs Specific labels when referring to "expected" and "found" types 2019-11-18 11:02:22 -08:00
regions-infer-not-param.stderr Specific labels when referring to "expected" and "found" types 2019-11-18 11:02:22 -08:00
regions-infer-paramd-indirect.nll.stderr pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03:00
regions-infer-paramd-indirect.rs pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03:00
regions-infer-paramd-indirect.stderr Update test cases 2021-02-22 23:39:06 +09:00
regions-infer-proc-static-upvar.rs Remove licenses 2018-12-25 21:08:33 -07:00
regions-infer-proc-static-upvar.stderr update tests for migrate mode by default 2019-04-22 08:40:08 +01:00
regions-infer-reborrow-ref-mut-recurse.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
regions-infer-region-in-fn-but-not-type.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
regions-infer-static-from-proc.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
regions-issue-21422.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
regions-issue-22246.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
regions-lifetime-bounds-on-fns.nll.stderr Report mismatched type errors for bound region errors in NLL 2021-08-15 09:11:00 +02:00
regions-lifetime-bounds-on-fns.rs improve handling for subtype 2019-01-02 17:35:06 -05:00
regions-lifetime-bounds-on-fns.stderr move leak-check to during coherence, candidate eval 2020-06-22 15:33:05 +00:00
regions-lifetime-nonfree-late-bound.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
regions-lifetime-of-struct-or-enum-variant.rs update tests for migrate mode by default 2019-04-22 08:40:08 +01:00
regions-lifetime-of-struct-or-enum-variant.stderr update tests for migrate mode by default 2019-04-22 08:40:08 +01:00
regions-lifetime-static-items-enclosing-scopes.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
regions-link-fn-args.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
regions-lub-ref-ref-rc.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
regions-mock-codegen.rs Rename AllocRef to Allocator and (de)alloc to (de)allocate 2020-12-04 14:47:15 +01:00
regions-name-duplicated.rs Remove licenses 2018-12-25 21:08:33 -07:00
regions-name-duplicated.stderr Update tests 2019-03-11 23:10:26 +03:00
regions-name-static.rs Remove licenses 2018-12-25 21:08:33 -07:00
regions-name-static.stderr Update tests 2019-03-11 23:10:26 +03:00
regions-name-undeclared.rs Account for async functions when suggesting new named lifetime 2020-08-23 21:51:32 -07:00
regions-name-undeclared.stderr Modify structured suggestion output 2021-08-11 09:46:24 +00:00
regions-nested-fns-2.rs update tests for migrate mode by default 2019-04-22 08:40:08 +01:00
regions-nested-fns-2.stderr update tests for migrate mode by default 2019-04-22 08:40:08 +01:00
regions-nested-fns.nll.stderr Update ui tests (nll) 2021-02-02 18:57:34 +01:00
regions-nested-fns.rs Update ui test suite to use dyn 2019-05-29 00:57:31 -04:00
regions-nested-fns.stderr Make anonymous binders start at 0 2020-10-29 18:50:23 -04:00
regions-no-bound-in-argument-cleanup.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
regions-no-variance-from-fn-generics.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
regions-normalize-in-where-clause-list.rs Avoid cycle with projections from object types 2020-10-06 11:19:31 +01:00
regions-normalize-in-where-clause-list.stderr Fix tests from rebase 2020-10-06 11:19:33 +01:00
regions-nullary-variant.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
regions-outlives-nominal-type-enum-region-rev.rs Use check-pass instead of build-pass in regions ui test suite 2020-10-30 23:34:12 +09:00
regions-outlives-nominal-type-enum-region.rs Use check-pass instead of build-pass in regions ui test suite 2020-10-30 23:34:12 +09:00
regions-outlives-nominal-type-enum-type-rev.rs Use check-pass instead of build-pass in regions ui test suite 2020-10-30 23:34:12 +09:00
regions-outlives-nominal-type-enum-type.rs Use check-pass instead of build-pass in regions ui test suite 2020-10-30 23:34:12 +09:00
regions-outlives-nominal-type-struct-region-rev.rs Use check-pass instead of build-pass in regions ui test suite 2020-10-30 23:34:12 +09:00
regions-outlives-nominal-type-struct-region.rs Use check-pass instead of build-pass in regions ui test suite 2020-10-30 23:34:12 +09:00
regions-outlives-nominal-type-struct-type-rev.rs Use check-pass instead of build-pass in regions ui test suite 2020-10-30 23:34:12 +09:00
regions-outlives-nominal-type-struct-type.rs Use check-pass instead of build-pass in regions ui test suite 2020-10-30 23:34:12 +09:00
regions-outlives-projection-container-hrtb.migrate.nll.stderr update tests 2019-10-27 09:39:14 -05:00
regions-outlives-projection-container-hrtb.migrate.stderr Print lifetimes with backticks 2019-10-11 16:08:53 +09:00
regions-outlives-projection-container-hrtb.nll.stderr update tests 2019-10-27 09:39:14 -05:00
regions-outlives-projection-container-hrtb.rs Remove meaningless comments in src/test 2019-08-16 10:54:20 +01:00
regions-outlives-projection-container-wc.migrate.nll.stderr update tests 2019-10-27 09:39:14 -05:00
regions-outlives-projection-container-wc.migrate.stderr Print lifetimes with backticks 2019-10-11 16:08:53 +09:00
regions-outlives-projection-container-wc.nll.stderr update tests 2019-10-27 09:39:14 -05:00
regions-outlives-projection-container-wc.rs Remove meaningless comments in src/test 2019-08-16 10:54:20 +01:00
regions-outlives-projection-container.nll.stderr update tests 2019-10-27 09:39:14 -05:00
regions-outlives-projection-container.rs Remove meaningless comments in src/test 2019-08-16 10:54:20 +01:00
regions-outlives-projection-container.stderr Print lifetimes with backticks 2019-10-11 16:08:53 +09:00
regions-outlives-projection-hrtype.rs Use check-pass instead of build-pass in regions ui test suite 2020-10-30 23:34:12 +09:00
regions-outlives-projection-trait-def.rs Use check-pass instead of build-pass in regions ui test suite 2020-10-30 23:34:12 +09:00
regions-outlives-scalar.rs Use check-pass instead of build-pass in regions ui test suite 2020-10-30 23:34:12 +09:00
regions-params.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
regions-pattern-typing-issue-19552.rs Remove licenses 2018-12-25 21:08:33 -07:00
regions-pattern-typing-issue-19552.stderr update tests for migrate mode by default 2019-04-22 08:40:08 +01:00
regions-pattern-typing-issue-19997.rs update tests for migrate mode by default 2019-04-22 08:40:08 +01:00
regions-pattern-typing-issue-19997.stderr update tests for migrate mode by default 2019-04-22 08:40:08 +01:00
regions-proc-bound-capture.nll.stderr When 'static is explicit, suggest constraining argument with it 2020-06-15 09:06:57 -07:00
regions-proc-bound-capture.rs Further tweak wording of E0759 and introduce E0767 2020-07-22 12:25:54 -07:00
regions-proc-bound-capture.stderr Modify structured suggestion output 2021-08-11 09:46:24 +00:00
regions-reassign-let-bound-pointer.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
regions-reassign-match-bound-pointer.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
regions-reborrow-from-shorter-mut-ref-mut-ref.nll.stderr update tests 2019-10-27 09:39:14 -05:00
regions-reborrow-from-shorter-mut-ref-mut-ref.rs Remove licenses 2018-12-25 21:08:33 -07:00
regions-reborrow-from-shorter-mut-ref-mut-ref.stderr Update ui tests 2019-11-07 13:02:34 +01:00
regions-reborrow-from-shorter-mut-ref.nll.stderr update tests 2019-10-27 09:39:14 -05:00
regions-reborrow-from-shorter-mut-ref.rs Remove licenses 2018-12-25 21:08:33 -07:00
regions-reborrow-from-shorter-mut-ref.stderr Update ui tests 2019-11-07 13:02:34 +01:00
regions-ref-in-fn-arg.rs update tests for migrate mode by default 2019-04-22 08:40:08 +01:00
regions-ref-in-fn-arg.stderr update tests for migrate mode by default 2019-04-22 08:40:08 +01:00
regions-refcell.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
regions-relate-bound-regions-on-closures-to-inference-variables.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
regions-ret-borrowed-1.nll.stderr Change compare mode to use -Zborrowck=mir 2019-05-12 18:46:43 +01:00
regions-ret-borrowed-1.rs Remove licenses 2018-12-25 21:08:33 -07:00
regions-ret-borrowed-1.stderr Propagate coercion cause into try_coerce 2021-09-16 16:53:40 -05:00
regions-ret-borrowed.nll.stderr Change compare mode to use -Zborrowck=mir 2019-05-12 18:46:43 +01:00
regions-ret-borrowed.rs Remove licenses 2018-12-25 21:08:33 -07:00
regions-ret-borrowed.stderr Propagate coercion cause into try_coerce 2021-09-16 16:53:40 -05:00
regions-ret.rs update tests for migrate mode by default 2019-04-22 08:40:08 +01:00
regions-ret.stderr update tests for migrate mode by default 2019-04-22 08:40:08 +01:00
regions-return-interior-of-option.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
regions-return-ref-to-upvar-issue-17403.rs Update tests 2020-05-22 18:03:08 +01:00
regions-return-ref-to-upvar-issue-17403.stderr Display information about captured variable in FnMut error 2020-05-25 23:18:00 -04:00
regions-return-stack-allocated-vec.rs update tests for migrate mode by default 2019-04-22 08:40:08 +01:00
regions-return-stack-allocated-vec.stderr update tests for migrate mode by default 2019-04-22 08:40:08 +01:00
regions-scope-chain-example.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
regions-self-impls.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
regions-self-in-enums.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
regions-simple.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
regions-static-bound-rpass.rs tests: Move run-pass tests with naming conflicts to ui 2019-07-27 18:56:17 +03:00
regions-static-bound.ll.nll.stderr Change compare mode to use -Zborrowck=mir 2019-05-12 18:46:43 +01:00
regions-static-bound.migrate.nll.stderr Don't suggest adding 'static lifetime to arguments 2021-05-12 21:43:09 -04:00
regions-static-bound.migrate.stderr Don't suggest adding 'static lifetime to arguments 2021-05-12 21:43:09 -04:00
regions-static-bound.nll.stderr Don't suggest adding 'static lifetime to arguments 2021-05-12 21:43:09 -04:00
regions-static-bound.rs update tests for migrate mode by default 2019-04-22 08:40:08 +01:00
regions-static-closure.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
regions-steal-closure.rs Update ui test suite to use dyn 2019-05-29 00:57:31 -04:00
regions-steal-closure.stderr update tests for migrate mode by default 2019-04-22 08:40:08 +01:00
regions-trait-1.rs Avoid cycles from projection bounds 2020-10-06 11:19:32 +01:00
regions-trait-object-1.rs Rename syntax to rustc_ast in source code 2020-02-29 21:59:09 +03:00
regions-trait-object-subtyping.nll.stderr Add variance-related information to lifetime error messages 2021-06-06 12:37:42 -05:00
regions-trait-object-subtyping.rs Update ui test suite to use dyn 2019-05-29 00:57:31 -04:00
regions-trait-object-subtyping.stderr Propagate coercion cause into try_coerce 2021-09-16 16:53:40 -05:00
regions-trait-variance.rs Update ui test suite to use dyn 2019-05-29 00:57:31 -04:00
regions-trait-variance.stderr update tests for migrate mode by default 2019-04-22 08:40:08 +01:00
regions-undeclared.rs Remove licenses 2018-12-25 21:08:33 -07:00
regions-undeclared.stderr Tweak wording 2020-07-10 07:24:18 +09:00
regions-var-type-out-of-scope.rs update tests for migrate mode by default 2019-04-22 08:40:08 +01:00
regions-var-type-out-of-scope.stderr rustc_macros: don't limit the -Zmacro-backtrace suggestion to extern macros. 2020-02-06 21:46:38 +02:00
regions-variance-contravariant-use-contravariant.rs Remove compile-fail test suite 2020-12-29 23:39:56 +03:00
regions-variance-contravariant-use-covariant-in-second-position.nll.stderr update tests 2019-10-27 09:39:14 -05:00
regions-variance-contravariant-use-covariant-in-second-position.rs Remove licenses 2018-12-25 21:08:33 -07:00
regions-variance-contravariant-use-covariant-in-second-position.stderr Update ui tests 2019-11-07 13:02:34 +01:00
regions-variance-contravariant-use-covariant.nll.stderr update tests 2019-10-27 09:39:14 -05:00
regions-variance-contravariant-use-covariant.rs Remove licenses 2018-12-25 21:08:33 -07:00
regions-variance-contravariant-use-covariant.stderr Update ui tests 2019-11-07 13:02:34 +01:00
regions-variance-covariant-use-contravariant.nll.stderr update tests 2019-10-27 09:39:14 -05:00
regions-variance-covariant-use-contravariant.rs Remove licenses 2018-12-25 21:08:33 -07:00
regions-variance-covariant-use-contravariant.stderr Update ui tests 2019-11-07 13:02:34 +01:00
regions-variance-covariant-use-covariant.rs Remove compile-fail test suite 2020-12-29 23:39:56 +03:00
regions-variance-invariant-use-contravariant.nll.stderr update tests 2019-10-27 09:39:14 -05:00
regions-variance-invariant-use-contravariant.rs Remove licenses 2018-12-25 21:08:33 -07:00
regions-variance-invariant-use-contravariant.stderr Update ui tests 2019-11-07 13:02:34 +01:00
regions-variance-invariant-use-covariant.nll.stderr update tests 2019-10-27 09:39:14 -05:00
regions-variance-invariant-use-covariant.rs Remove licenses 2018-12-25 21:08:33 -07:00
regions-variance-invariant-use-covariant.stderr Specific labels when referring to "expected" and "found" types 2019-11-18 11:02:22 -08:00
regions-wf-trait-object.rs Update ui test suite to use dyn 2019-05-29 00:57:31 -04:00
regions-wf-trait-object.stderr Suggest boxing or borrowing unsized fields 2020-07-14 10:50:24 -07:00
type-param-outlives-reempty-issue-74429-2.rs Use ReEmpty(U0) as the implicit region bound in typeck 2020-07-20 18:50:09 +01:00
type-param-outlives-reempty-issue-74429.rs Use ReEmpty(U0) as the implicit region bound in typeck 2020-07-20 18:50:09 +01:00