rust/tests/ui/lifetimes
2025-06-30 08:45:43 +00:00
..
auxiliary Add missing dyn keywords to tests that do not test for them Part 2 2025-06-03 13:28:38 +02:00
lifetime-errors Make E0621 missing lifetime suggestion verbose 2025-06-09 19:55:00 +00:00
mismatched-lifetime-syntaxes-details Replace elided_named_lifetimes with mismatched_lifetime_syntaxes 2025-06-04 10:40:04 -04:00
raw Show diff suggestion format on verbose replacement 2025-02-10 20:21:39 +00:00
anonymize-unnamed-bound-vars-in-binders.rs
bare-trait-object-borrowck.rs Add missing 2015 edition directives 2025-06-03 11:45:58 +02:00
bare-trait-object.rs Add missing 2015 edition directives 2025-06-03 11:45:58 +02:00
borrowck-let-suggestion.rs
borrowck-let-suggestion.stderr More sophisticated span trimming 2025-02-21 00:41:17 +00:00
conflicting-bounds.rs UI tests: add missing diagnostic kinds where possible 2025-04-08 23:06:31 +03:00
conflicting-bounds.stderr
constructor-lifetime-early-binding-error.rs cleaned up some tests 2025-06-08 01:14:05 +05:00
constructor-lifetime-early-binding-error.stderr cleaned up some tests 2025-06-08 01:14:05 +05:00
copy_modulo_regions.rs
copy_modulo_regions.stderr point out unblamed constraints from Copy/Sized bounds in region errors 2025-01-06 16:12:11 -08:00
could-not-resolve-issue-121503.rs
could-not-resolve-issue-121503.stderr Arbitrary self types v2: use Receiver trait 2024-12-11 11:59:12 +00:00
elided-lifetime-in-anon-const.rs
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
elided-lint-in-mod.rs
elided-lint-in-mod.stderr
fullwidth-ampersand.rs
fullwidth-ampersand.stderr Show diff suggestion format on verbose replacement 2025-02-10 20:21:39 +00:00
issue-17728.rs
issue-17728.stderr
issue-19707.rs
issue-19707.stderr
issue-26638.rs Do not recover missing lifetime with random in-scope lifetime 2025-03-03 05:57:55 +00:00
issue-26638.stderr Do not recover missing lifetime with random in-scope lifetime 2025-03-03 05:57:55 +00:00
issue-34979.rs
issue-34979.stderr
issue-36744-without-calls.rs
issue-54378.rs
issue-55796.rs
issue-55796.stderr
issue-64173-unused-lifetimes.rs
issue-64173-unused-lifetimes.stderr Check variances in the non-hir wfchecker 2025-06-30 08:45:43 +00:00
issue-67498.rs
issue-69314.fixed
issue-69314.rs
issue-69314.stderr
issue-70917-lifetimes-in-fn-def.rs
issue-76168-hr-outlives-2.rs
issue-76168-hr-outlives-3.rs Use predicate spans instead of whole item spans 2025-06-30 08:45:43 +00:00
issue-76168-hr-outlives-3.stderr Use predicate spans instead of whole item spans 2025-06-30 08:45:43 +00:00
issue-76168-hr-outlives.rs
issue-77175.rs
issue-79187-2.rs
issue-79187-2.stderr
issue-79187.rs
issue-79187.stderr
issue-83737-binders-across-types.rs replace //@ compile-flags: --edition with //@ edition 2025-04-10 09:56:37 +02:00
issue-83737-erasing-bound-vars.rs replace //@ compile-flags: --edition with //@ edition 2025-04-10 09:56:37 +02:00
issue-83753-invalid-associated-type-supertrait-hrtb.rs UI tests: add missing diagnostic kinds where possible 2025-04-08 23:06:31 +03:00
issue-83753-invalid-associated-type-supertrait-hrtb.stderr
issue-83907-invalid-fn-like-path.rs UI tests: add missing diagnostic kinds where possible 2025-04-08 23:06:31 +03:00
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 Show diff suggestion format on verbose replacement 2025-02-10 20:21:39 +00:00
issue-90600-expected-return-static-indirect.rs best_blame_constraint: don't filter constraints by sup SCC 2025-01-06 16:08:29 -08:00
issue-90600-expected-return-static-indirect.stderr best_blame_constraint: don't filter constraints by sup SCC 2025-01-06 16:08:29 -08:00
issue-91763.rs Update tests to use new proc-macro header 2024-11-27 07:18:25 -08:00
issue-91763.stderr
issue-93911.rs
issue-95023.rs Re-enable ConstArgKind::Path lowering by default 2024-09-12 13:56:01 -04:00
issue-95023.stderr Unconditionally run check_item_type on all items 2025-06-30 08:06:08 +00:00
issue-97193.rs
issue-97193.stderr
issue-97194.rs
issue-97194.stderr Tweak multispan rendering 2024-12-12 23:36:27 +00:00
issue-103582-hint-for-missing-lifetime-bound-on-trait-object-using-type-alias.fixed Replace elided_named_lifetimes with mismatched_lifetime_syntaxes 2025-06-04 10:40:04 -04:00
issue-103582-hint-for-missing-lifetime-bound-on-trait-object-using-type-alias.rs Replace elided_named_lifetimes with mismatched_lifetime_syntaxes 2025-06-04 10:40:04 -04:00
issue-103582-hint-for-missing-lifetime-bound-on-trait-object-using-type-alias.stderr Replace elided_named_lifetimes with mismatched_lifetime_syntaxes 2025-06-04 10:40:04 -04:00
issue-104432-unused-lifetimes-in-expansion.rs
issue-105227.rs Bless test fallout 2024-08-17 12:43:25 -04:00
issue-105227.stderr Bless test fallout 2024-08-17 12:43:25 -04:00
issue-105507.fixed
issue-105507.rs
issue-105507.stderr
issue-105675.rs
issue-105675.stderr
issue-107492-default-value-for-lifetime.rs
issue-107492-default-value-for-lifetime.stderr
issue-107988.rs
issue-107988.stderr Make missing lifetime suggestion verbose 2025-06-24 18:59:42 +00: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
lifetime-elision-return-type-requires-explicit-lifetime.rs Replace elided_named_lifetimes with mismatched_lifetime_syntaxes 2025-06-04 10:40:04 -04:00
lifetime-elision-return-type-requires-explicit-lifetime.stderr Replace elided_named_lifetimes with mismatched_lifetime_syntaxes 2025-06-04 10:40:04 -04:00
lifetime-elision-return-type-trait.rs
lifetime-elision-return-type-trait.stderr Point at tail expression on rpit E0277 2024-11-02 03:08:04 +00:00
lifetime-mismatch-between-trait-and-impl.rs
lifetime-mismatch-between-trait-and-impl.stderr
lifetime-no-keyword.rs
lifetime-no-keyword.stderr
mismatched-lifetime-syntaxes.rs Apply mismatched-lifetime-syntaxes to trait and extern functions 2025-06-06 16:27:16 -04:00
mismatched-lifetime-syntaxes.stderr Apply mismatched-lifetime-syntaxes to trait and extern functions 2025-06-06 16:27:16 -04:00
missing-lifetime-in-alias.rs
missing-lifetime-in-alias.stderr
nested-binder-print.rs
nested-binder-print.stderr
nested.rs
no_lending_iterators.rs compiletest: Improve diagnostics for line annotation mismatches 2025-06-23 21:30:56 +03:00
no_lending_iterators.stderr Improve AssocItem::descr. 2025-04-11 11:03:08 +10:00
noisy-follow-up-erro.rs
noisy-follow-up-erro.stderr Make E0621 missing lifetime suggestion verbose 2025-06-09 19:55:00 +00:00
re-empty-in-error.rs
re-empty-in-error.stderr
refcell-in-tail-expr.edition2021.stderr Update more 2024 tests to remove -Zunstable-options 2024-11-28 14:32:45 -08:00
refcell-in-tail-expr.rs Update more 2024 tests to remove -Zunstable-options 2024-11-28 14:32:45 -08:00
rvalue-cleanup-shortcircuit.rs cleaned up some tests 2025-06-05 20:03:29 +05:00
rvalue-lifetime-drop-timing.rs cleaned up some tests 2025-06-05 20:03:29 +05:00
shadow.rs
shadow.stderr
shorter-tail-expr-lifetime.edition2021.stderr Update more 2024 tests to remove -Zunstable-options 2024-11-28 14:32:45 -08:00
shorter-tail-expr-lifetime.rs Update more 2024 tests to remove -Zunstable-options 2024-11-28 14:32:45 -08:00
static-typos.rs Suggest typo fix for static lifetime 2025-03-06 18:18:32 +00:00
static-typos.stderr Suggest typo fix for static lifetime 2025-03-06 18:18:32 +00:00
suggest-introducing-and-adding-missing-lifetime.fixed
suggest-introducing-and-adding-missing-lifetime.rs
suggest-introducing-and-adding-missing-lifetime.stderr
tail-expr-in-nested-expr.rs Stabilize the 2024 edition 2024-11-22 11:12:15 -08:00
tail-expr-in-nested-expr.stderr Improve span when temporary receiver is dropped in edition 2024 2025-01-06 03:14:04 +00:00
tail-expr-lock-poisoning.rs tests: remove redundant //@ ignore-{wasm,wasm32,emscripten} 2025-02-03 22:27:17 +08:00
temporary-lifetime-extension-tuple-ctor.rs Add test for temporary lifetime extension in Self() syntax. 2025-06-13 09:20:55 +02:00
temporary-lifetime-extension-tuple-ctor.stderr Bless/update tests. 2025-06-18 10:20:43 +02:00
temporary-lifetime-extension.edition2021.run.stdout ensure that tail expr receive lifetime extension 2024-11-11 20:34:36 +08:00
temporary-lifetime-extension.edition2024.run.stdout ensure that tail expr receive lifetime extension 2024-11-11 20:34:36 +08:00
temporary-lifetime-extension.rs Update more 2024 tests to remove -Zunstable-options 2024-11-28 14:32:45 -08:00
undeclared-lifetime-used-in-debug-macro-issue-70152.rs
undeclared-lifetime-used-in-debug-macro-issue-70152.stderr Make missing lifetime suggestion verbose 2025-06-24 18:59:42 +00:00
unnamed-closure-doesnt-life-long-enough-issue-67634.rs
unnamed-closure-doesnt-life-long-enough-issue-67634.stderr
unusual-rib-combinations.rs fix(hir_analysis/wfcheck): don't leak {type error} 2024-09-29 23:40:43 -05:00
unusual-rib-combinations.stderr Introduce feature(generic_const_parameter_types) 2025-02-28 20:43:15 +00:00