rust/tests/ui/lifetimes
Oli Scherer d572729d59 Quietly fail if an error has already occurred 2023-10-26 11:14:53 +00:00
..
auxiliary
lifetime-errors remove trailing dots 2023-10-08 10:06:17 +00:00
anonymize-unnamed-bound-vars-in-binders.rs Properly consider binder vars in HasTypeFlagsVisitor 2023-09-14 03:49:59 +00:00
bare-trait-object-borrowck.rs
bare-trait-object.rs
borrowck-let-suggestion.rs
borrowck-let-suggestion.stderr Mention `into_iter` on borrow errors suggestions when appropriate 2023-10-20 18:50:25 +00:00
conflicting-bounds.rs
conflicting-bounds.stderr
copy_modulo_regions.rs
copy_modulo_regions.stderr
elided-lifetime-in-anon-const.rs Do not force anonymous lifetimes in consts to be static. 2023-04-29 10:32:31 +00:00
elided-lifetime-in-param-pat.rs
elided-lifetime-in-path-in-impl-Fn.rs
elided-lifetime-in-path-in-pat.rs
elided-lifetime-in-path-in-type-relative-expression.rs
fullwidth-ampersand.rs
fullwidth-ampersand.stderr
issue-17728.rs
issue-17728.stderr Modify primary span label for E0308 2023-01-30 20:12:19 +00:00
issue-26638.rs
issue-26638.stderr suggest unwrap/expect for let binding type mismatch 2023-10-25 00:32:58 +08:00
issue-34979.rs
issue-34979.stderr
issue-36744-without-calls.rs Move test files 2023-04-20 15:06:17 -03:00
issue-54378.rs
issue-55796.rs
issue-55796.stderr
issue-64173-unused-lifetimes.rs improve diagnostics and bless tests 2023-05-05 21:42:54 +01:00
issue-64173-unused-lifetimes.stderr improve diagnostics and bless tests 2023-05-05 21:42:54 +01:00
issue-67498.rs
issue-69314.fixed Introduce `ReError` 2023-02-09 10:26:49 +00:00
issue-69314.rs Introduce `ReError` 2023-02-09 10:26:49 +00:00
issue-69314.stderr Extend and use `hir::Node::body_id` 2023-04-19 19:13:45 +00:00
issue-70917-lifetimes-in-fn-def.rs
issue-76168-hr-outlives-2.rs
issue-76168-hr-outlives-3.rs Quietly fail if an error has already occurred 2023-10-26 11:14:53 +00:00
issue-76168-hr-outlives-3.stderr Quietly fail if an error has already occurred 2023-10-26 11:14:53 +00:00
issue-76168-hr-outlives.rs
issue-77175.rs s/generator/coroutine/ 2023-10-20 21:14:01 +00:00
issue-79187-2.rs
issue-79187-2.stderr use param instead of ty 2023-04-14 11:39:35 -04:00
issue-79187.rs
issue-79187.stderr better suggestion based on hir 2023-04-14 11:39:35 -04:00
issue-83737-binders-across-types.rs
issue-83737-erasing-bound-vars.rs
issue-83753-invalid-associated-type-supertrait-hrtb.rs
issue-83753-invalid-associated-type-supertrait-hrtb.stderr
issue-83907-invalid-fn-like-path.rs
issue-83907-invalid-fn-like-path.stderr
issue-84398.rs
issue-84604.rs
issue-90170-elision-mismatch.fixed
issue-90170-elision-mismatch.rs
issue-90170-elision-mismatch.stderr
issue-90600-expected-return-static-indirect.rs
issue-90600-expected-return-static-indirect.stderr Tweak the post-order for multi-successor blocks 2023-05-21 17:48:36 -07:00
issue-91763.rs
issue-91763.stderr
issue-93911.rs Add regression test for #93911 2023-04-05 01:01:45 +09:00
issue-95023.rs
issue-95023.stderr Improve "associated type not found" diagnostics 2023-09-08 06:52:17 +02:00
issue-97193.rs
issue-97193.stderr
issue-97194.rs
issue-97194.stderr
issue-103582-hint-for-missing-lifetime-bound-on-trait-object-using-type-alias.fixed Add hint for missing lifetime bound on trait object when type alias is used 2023-01-23 09:54:45 -08:00
issue-103582-hint-for-missing-lifetime-bound-on-trait-object-using-type-alias.rs Add hint for missing lifetime bound on trait object when type alias is used 2023-01-23 09:54:45 -08:00
issue-103582-hint-for-missing-lifetime-bound-on-trait-object-using-type-alias.stderr Add hint for missing lifetime bound on trait object when type alias is used 2023-01-23 09:54:45 -08:00
issue-104432-unused-lifetimes-in-expansion.rs unused-lifetimes: don't warn about lifetimes originating from expanded code 2023-02-03 21:18:34 +01:00
issue-105227.fixed
issue-105227.rs
issue-105227.stderr Label opaque type for 'captures lifetime' error message 2023-03-03 05:02:34 +00:00
issue-105507.fixed Add 'static lifetime suggestion when GAT implied 'static requirement from HRTB 2023-01-17 11:52:45 -08:00
issue-105507.rs Add 'static lifetime suggestion when GAT implied 'static requirement from HRTB 2023-01-17 11:52:45 -08:00
issue-105507.stderr Add 'static lifetime suggestion when GAT implied 'static requirement from HRTB 2023-01-17 11:52:45 -08:00
issue-105675.rs use param instead of ty 2023-04-14 11:39:35 -04:00
issue-105675.stderr Add a note to duplicate diagnostics 2023-10-05 01:04:41 +00:00
issue-107492-default-value-for-lifetime.rs Recover from default value for a lifetime in generic parameters. 2023-02-04 17:04:09 -06:00
issue-107492-default-value-for-lifetime.stderr Recover from default value for a lifetime in generic parameters. 2023-02-04 17:04:09 -06:00
issue-107988.rs Don't trigger ICE for ReError when the other region is empty. 2023-02-26 20:47:18 -06:00
issue-107988.stderr Don't trigger ICE for ReError when the other region is empty. 2023-02-26 20:47:18 -06:00
lifetime-bound-will-change-warning.rs
lifetime-bound-will-change-warning.stderr
lifetime-doesnt-live-long-enough.rs
lifetime-doesnt-live-long-enough.stderr remove trailing dots 2023-10-08 10:06:17 +00:00
lifetime-elision-return-type-requires-explicit-lifetime.rs
lifetime-elision-return-type-requires-explicit-lifetime.stderr
lifetime-elision-return-type-trait.rs
lifetime-elision-return-type-trait.stderr Point out if a local trait has no implementations 2023-09-10 21:20:36 +00:00
lifetime-mismatch-between-trait-and-impl.rs
lifetime-mismatch-between-trait-and-impl.stderr
lifetime-no-keyword.rs
lifetime-no-keyword.stderr
missing-lifetime-in-alias.rs
missing-lifetime-in-alias.stderr
nested-binder-print.rs
nested-binder-print.stderr
nested.rs
re-empty-in-error.rs
re-empty-in-error.stderr
shadow.rs
shadow.stderr
suggest-introducing-and-adding-missing-lifetime.fixed improve the suggestion of generic_bound_failure 2023-10-08 09:56:57 +00:00
suggest-introducing-and-adding-missing-lifetime.rs
suggest-introducing-and-adding-missing-lifetime.stderr remove trailing dots 2023-10-08 10:06:17 +00:00
undeclared-lifetime-used-in-debug-macro-issue-70152.rs
undeclared-lifetime-used-in-debug-macro-issue-70152.stderr
unnamed-closure-doesnt-life-long-enough-issue-67634.rs
unnamed-closure-doesnt-life-long-enough-issue-67634.stderr
unusual-rib-combinations.rs improve diagnostics and bless tests 2023-05-05 21:42:54 +01:00
unusual-rib-combinations.stderr make adt_const_params feature suggestion more consistent with others and only suggest it when the type can probably work 2023-09-28 23:10:04 +00:00