1
Fork 0
rust/tests/ui/lifetimes
bors ee9c7c940c Auto merge of #120847 - oli-obk:track_errors9, r=compiler-errors
Continue compilation after check_mod_type_wf errors

The ICEs fixed here were probably reachable through const eval gymnastics before, but now they are easily reachable without that, too.

The new errors are often bugfixes, where useful errors were missing, because they were reported after the early abort. In other cases sometimes they are just duplication of already emitted errors, which won't be user-visible due to deduplication.

fixes https://github.com/rust-lang/rust/issues/120860
2024-02-14 18:32:19 +00:00
..
auxiliary Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lifetime-errors Continue to borrowck even if there were previous errors 2024-02-08 08:10:43 +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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
bare-trait-object.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
borrowck-let-suggestion.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
borrowck-let-suggestion.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
conflicting-bounds.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
conflicting-bounds.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
copy_modulo_regions.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
copy_modulo_regions.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
elided-lifetime-in-path-in-impl-Fn.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
elided-lifetime-in-path-in-pat.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
elided-lifetime-in-path-in-type-relative-expression.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
fullwidth-ampersand.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
fullwidth-ampersand.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-17728.rs Continue to borrowck even if there were previous errors 2024-02-08 08:10:43 +00:00
issue-17728.stderr Continue to borrowck even if there were previous errors 2024-02-08 08:10:43 +00:00
issue-19707.rs Move tests 2024-02-13 18:08:25 -03:00
issue-19707.stderr Move tests 2024-02-13 18:08:25 -03:00
issue-26638.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-26638.stderr Tweak wording 2023-11-20 23:44:37 +00:00
issue-34979.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-34979.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-36744-without-calls.rs Move test files 2023-04-20 15:06:17 -03:00
issue-54378.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-55796.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-55796.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-64173-unused-lifetimes.rs improve diagnostics and bless tests 2023-05-05 21:42:54 +01:00
issue-64173-unused-lifetimes.stderr Improve the diagnostics for unused generic parameters 2024-02-01 16:18:03 +01:00
issue-67498.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-76168-hr-outlives-2.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-76168-hr-outlives-3.rs Stabilize THIR unsafeck 2024-01-05 10:00:59 +00:00
issue-76168-hr-outlives-3.stderr Stabilize THIR unsafeck 2024-01-05 10:00:59 +00:00
issue-76168-hr-outlives.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-77175.rs s/generator/coroutine/ 2023-10-20 21:14:01 +00:00
issue-79187-2.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-79187-2.stderr recurse into refs when comparing tys for diagnostics 2023-12-07 23:00:46 -05:00
issue-79187.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-79187.stderr Add print_trait_sugared 2023-12-05 17:15:46 +00:00
issue-83737-binders-across-types.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-83737-erasing-bound-vars.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-83753-invalid-associated-type-supertrait-hrtb.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-83753-invalid-associated-type-supertrait-hrtb.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-83907-invalid-fn-like-path.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-83907-invalid-fn-like-path.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-84398.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-84604.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-90170-elision-mismatch.fixed Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-90170-elision-mismatch.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-90170-elision-mismatch.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-90600-expected-return-static-indirect.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-91763.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-93911.rs Add regression test for #93911 2023-04-05 01:01:45 +09:00
issue-95023.rs Continue compilation after check_mod_type_wf errors 2024-02-14 11:00:30 +00:00
issue-95023.stderr Continue compilation after check_mod_type_wf errors 2024-02-14 11:00:30 +00:00
issue-97193.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-97193.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-97194.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-97194.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Show number in error message even for one error 2023-11-24 19:15:52 +01: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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-105227.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 print_trait_sugared 2023-12-05 17:15:46 +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 Show number in error message even for one error 2023-11-24 19:15:52 +01: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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lifetime-bound-will-change-warning.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lifetime-doesnt-live-long-enough.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lifetime-elision-return-type-requires-explicit-lifetime.stderr Fix incorrect lifetime suggestion 2023-11-20 23:44:37 +00:00
lifetime-elision-return-type-trait.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lifetime-elision-return-type-trait.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
lifetime-mismatch-between-trait-and-impl.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lifetime-mismatch-between-trait-and-impl.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
lifetime-no-keyword.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lifetime-no-keyword.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
missing-lifetime-in-alias.rs Avoid silencing relevant follow-up errors 2024-01-09 21:08:16 +00:00
missing-lifetime-in-alias.stderr Avoid silencing relevant follow-up errors 2024-01-09 21:08:16 +00:00
nested-binder-print.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
nested-binder-print.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
nested.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
re-empty-in-error.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
re-empty-in-error.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
shadow.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
shadow.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Fix invalid syntax in impl Trait parameter type suggestions for E0311 2023-01-11 14:49:55 -08:00
suggest-introducing-and-adding-missing-lifetime.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
undeclared-lifetime-used-in-debug-macro-issue-70152.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
undeclared-lifetime-used-in-debug-macro-issue-70152.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
unnamed-closure-doesnt-life-long-enough-issue-67634.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
unnamed-closure-doesnt-life-long-enough-issue-67634.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
unusual-rib-combinations.rs Taint more aggressively in astconv 2024-01-11 09:03:26 +00:00
unusual-rib-combinations.stderr Taint more aggressively in astconv 2024-01-11 09:03:26 +00:00