rust/src/test/ui/lifetimes
Dylan DPC 32159e3fa4
Rollup merge of #103216 - cjgillot:issue-103210, r=jackh726
Consider patterns in fn params in an `Elided(Infer)` lifetime rib.

Fixes https://github.com/rust-lang/rust/issues/103210
2022-10-19 14:05:54 +05:30
..
auxiliary Add test. 2021-12-11 11:40:38 +01:00
lifetime-errors address review 2022-09-26 14:21:39 +02:00
bare-trait-object-borrowck.rs Handle fresh lifetimes on bare trait objects. 2022-07-02 09:21:55 +02:00
bare-trait-object.rs Handle fresh lifetimes on bare trait objects. 2022-07-02 09:21:55 +02:00
borrowck-let-suggestion.rs
borrowck-let-suggestion.stderr Use larger span for adjustments on method calls 2021-09-25 10:00:41 -05:00
copy_modulo_regions.rs Fully stabilize NLL 2022-06-03 17:16:41 -04:00
copy_modulo_regions.stderr Fully stabilize NLL 2022-06-03 17:16:41 -04:00
elided-lifetime-in-param-pat.rs Consider patterns in fn params in an Elided(Infer) lifetime rib. 2022-10-18 21:25:38 +00:00
elided-lifetime-in-path-in-impl-Fn.rs Use the correct lifetime binder for elided lifetimes in path. 2022-04-29 18:51:21 +02:00
elided-lifetime-in-path-in-pat.rs Always create parameters for functions-like types. 2022-06-21 21:13:41 +02:00
elided-lifetime-in-path-in-type-relative-expression.rs Always create elided lifetimes, even if inferred. 2022-07-30 17:58:26 +02:00
fullwidth-ampersand.rs Use start_point instead of next_point to point to elided lifetime ampersand. 2022-08-07 14:35:11 +02:00
fullwidth-ampersand.stderr Use start_point instead of next_point to point to elided lifetime ampersand. 2022-08-07 14:35:11 +02:00
issue-17728.rs Move tests 2022-06-13 17:16:01 -03:00
issue-17728.stderr Move tests 2022-06-13 17:16:01 -03:00
issue-26638.rs Report elision failures on the AST. 2022-07-25 19:19:23 +02:00
issue-26638.stderr Shrink suggestion span of argument mismatch error 2022-09-03 05:54:13 +00:00
issue-34979.rs Add test for #34979 2020-05-07 02:22:08 +09:00
issue-34979.stderr Revert "Highlight conflicting param-env candidates" 2022-07-15 17:21:55 +00:00
issue-54378.rs Add regression test for #54378 2022-06-11 01:58:16 +09:00
issue-55796.rs Move tests 2022-06-13 17:16:01 -03:00
issue-55796.stderr Move tests 2022-06-13 17:16:01 -03:00
issue-64173-unused-lifetimes.rs Add a regression test for #64173 and #66152 2022-05-05 20:03:34 +09:00
issue-64173-unused-lifetimes.stderr Add a regression test for #64173 and #66152 2022-05-05 20:03:34 +09:00
issue-67498.rs Add regresion test for #67498 2022-06-09 00:09:28 +09:00
issue-70917-lifetimes-in-fn-def.rs outlives: ignore lifetimes shallowly found in ty::FnDefs. 2020-04-16 23:18:44 +03:00
issue-76168-hr-outlives-2.rs Check generators for well formedness 2022-07-18 17:20:55 +00:00
issue-76168-hr-outlives.rs Handle placeholder regions in NLL type outlive constraints 2021-11-26 22:06:08 +00:00
issue-77175.rs test for issue #77175 2021-09-04 11:49:13 -07:00
issue-79187-2.rs Fully stabilize NLL 2022-06-03 17:16:41 -04:00
issue-79187-2.stderr address review 2022-09-26 14:21:39 +02:00
issue-79187.rs Fully stabilize NLL 2022-06-03 17:16:41 -04:00
issue-79187.stderr address review 2022-09-26 14:21:39 +02:00
issue-83737-binders-across-types.rs Don't concatenate binders across types 2021-04-05 00:41:08 -04:00
issue-83737-erasing-bound-vars.rs Add HAS_RE_LATE_BOUND if there are bound vars 2021-04-28 10:18:52 -04:00
issue-83753-invalid-associated-type-supertrait-hrtb.rs Fix a couple resolve bugs from binder refactor 2021-04-06 17:10:15 -04:00
issue-83753-invalid-associated-type-supertrait-hrtb.stderr Fix a couple resolve bugs from binder refactor 2021-04-06 17:10:15 -04:00
issue-83907-invalid-fn-like-path.rs Fix a couple resolve bugs from binder refactor 2021-04-06 17:10:15 -04:00
issue-83907-invalid-fn-like-path.stderr Fix a couple resolve bugs from binder refactor 2021-04-06 17:10:15 -04:00
issue-84398.rs Deduplicate ParamCandidates with the same value except for bound vars 2021-04-25 15:11:49 -04:00
issue-84604.rs Update references to -Z symbol-mangling-version to use -C 2022-01-01 15:53:11 -08:00
issue-90170-elision-mismatch.fixed Fully stabilize NLL 2022-06-03 17:16:41 -04:00
issue-90170-elision-mismatch.rs Fully stabilize NLL 2022-06-03 17:16:41 -04:00
issue-90170-elision-mismatch.stderr Fully stabilize NLL 2022-06-03 17:16:41 -04:00
issue-90600-expected-return-static-indirect.rs Fully stabilize NLL 2022-06-03 17:16:41 -04:00
issue-90600-expected-return-static-indirect.stderr Fully stabilize NLL 2022-06-03 17:16:41 -04:00
issue-91763.rs Add test. 2021-12-11 11:40:38 +01:00
issue-91763.stderr Lint elided lifetimes in path on the AST. 2022-04-17 11:03:34 +02:00
issue-95023.rs Return err instead of ICE 2022-03-21 19:56:23 +03:00
issue-95023.stderr Return err instead of ICE 2022-03-21 19:56:23 +03:00
issue-97193.rs Recover when resolution did not resolve lifetimes. 2022-05-21 09:39:41 +02:00
issue-97193.stderr Recover when resolution did not resolve lifetimes. 2022-05-21 09:39:41 +02:00
issue-97194.rs Mention what item is using an invalid Self type 2022-06-19 19:43:40 -07:00
issue-97194.stderr Mention what item is using an invalid Self type 2022-06-19 19:43:40 -07:00
lifetime-bound-will-change-warning.rs Fully stabilize NLL 2022-06-03 17:16:41 -04:00
lifetime-bound-will-change-warning.stderr Fully stabilize NLL 2022-06-03 17:16:41 -04:00
lifetime-doesnt-live-long-enough.rs
lifetime-doesnt-live-long-enough.stderr Only keep a single well-formed query. 2022-06-21 23:56:17 +02:00
lifetime-elision-return-type-requires-explicit-lifetime.rs
lifetime-elision-return-type-requires-explicit-lifetime.stderr Report elision failures on the AST. 2022-07-25 19:19:23 +02:00
lifetime-elision-return-type-trait.rs Revert diagnostic duplication and accidental stabilization 2022-04-28 13:25:36 +00:00
lifetime-elision-return-type-trait.stderr Revert diagnostic duplication and accidental stabilization 2022-04-28 13:25:36 +00:00
lifetime-mismatch-between-trait-and-impl.rs review comments 2019-10-29 10:19:58 -07:00
lifetime-mismatch-between-trait-and-impl.stderr nice_region_error: Include lifetime placeholders in error output 2021-10-22 15:26:20 -07:00
lifetime-no-keyword.rs
lifetime-no-keyword.stderr
missing-lifetime-in-alias.rs Stabilize GATs 2022-08-30 23:06:24 -04:00
missing-lifetime-in-alias.stderr Stabilize GATs 2022-08-30 23:06:24 -04:00
nested-binder-print.rs handle late-bound vars from inner binders correctly and add test 2022-10-08 17:48:02 +02:00
nested-binder-print.stderr handle late-bound vars from inner binders correctly and add test 2022-10-08 17:48:02 +02:00
nested.rs Remove in-band lifetimes 2022-02-24 18:50:33 -08:00
re-empty-in-error.rs Fully stabilize NLL 2022-06-03 17:16:41 -04:00
re-empty-in-error.stderr bless tests 2022-09-30 16:11:19 +02:00
shadow.rs Remove in-band lifetimes 2022-02-24 18:50:33 -08:00
shadow.stderr Remove in-band lifetimes 2022-02-24 18:50:33 -08:00
suggest-introducing-and-adding-missing-lifetime.rs suggest introducing an explicit lifetime if it does not exist 2022-09-05 19:45:53 +09:00
suggest-introducing-and-adding-missing-lifetime.stderr remove implied link bound per review 2022-09-26 20:50:33 -04:00
undeclared-lifetime-used-in-debug-macro-issue-70152.rs Account for macros when suggesting adding lifetime 2021-03-02 18:24:13 -08:00
undeclared-lifetime-used-in-debug-macro-issue-70152.stderr Bless tests. 2022-04-17 11:03:34 +02:00
unnamed-closure-doesnt-life-long-enough-issue-67634.rs Use an 'approximate' universal upper bound when reporting region errors 2020-06-27 14:01:59 -04:00
unnamed-closure-doesnt-life-long-enough-issue-67634.stderr Modify structured suggestion output 2021-08-11 09:46:24 +00:00
unusual-rib-combinations.rs resolve: Add some asserts for unexpected lifetime rib combinations 2022-10-13 13:32:24 +04:00
unusual-rib-combinations.stderr resolve: Add some asserts for unexpected lifetime rib combinations 2022-10-13 13:32:24 +04:00