rust/tests/ui/nll
Martin Nordholts 8a7520995c Remove FIXME about NLL diagnostic that is already improved
The FIXME was added in 46984 when the diagnostic message looked like
this:

    // FIXME(#46983): error message should be better
    &s.0 //~ ERROR free region `` does not outlive free region `'static`

The message was improved in 90667 and now looks like this:

    &s.0 //~ ERROR lifetime may not live long enough

but the FIXME was not removed. The issue 46983 about that diagnostics
should be improved has been closed. We can remove the FIXME now.
2023-08-06 21:20:15 +02:00
..
closure-requirements refactor(rustc_middle): Substs -> GenericArg 2023-07-14 13:27:35 +01:00
member-constraints vars are ? 2023-04-25 19:53:09 +00:00
polonius Do not set up wrong span for adjustments 2023-07-10 20:09:26 +00:00
relate_tys Rename drop_copy lint to dropping_copy_types 2023-05-21 13:37:32 +02:00
ty-outlives refactor(rustc_middle): Substs -> GenericArg 2023-07-14 13:27:35 +01:00
user-annotations refactor(rustc_middle): Substs -> GenericArg 2023-07-14 13:27:35 +01:00
assign-while-to-immutable.rs Adjust UI tests for unit_bindings 2023-06-12 20:24:48 +08:00
borrow-use-issue-46875.rs
borrowck-thread-local-static-mut-borrow-outlives-fn.rs
borrowed-local-error.rs
borrowed-local-error.stderr
borrowed-match-issue-45045.rs
borrowed-match-issue-45045.stderr
borrowed-referent-issue-38899.rs
borrowed-referent-issue-38899.stderr
borrowed-temporary-error.rs
borrowed-temporary-error.stderr
borrowed-universal-error-2.rs
borrowed-universal-error-2.stderr
borrowed-universal-error.rs
borrowed-universal-error.stderr
cannot-move-block-spans.rs
cannot-move-block-spans.stderr
capture-mut-ref.fixed
capture-mut-ref.rs
capture-mut-ref.stderr
capture-ref-in-struct.rs
capture-ref-in-struct.stderr
closure-access-spans.rs
closure-access-spans.stderr Do not set up wrong span for adjustments 2023-07-10 20:09:26 +00:00
closure-borrow-spans.rs
closure-borrow-spans.stderr Do not set up wrong span for adjustments 2023-07-10 20:09:26 +00:00
closure-captures.rs
closure-captures.stderr
closure-malformed-projection-input-issue-102800.rs
closure-malformed-projection-input-issue-102800.stderr
closure-move-spans.rs
closure-move-spans.stderr
closure-use-spans.rs
closure-use-spans.stderr
closures-in-loops.rs
closures-in-loops.stderr Do not set up wrong span for adjustments 2023-07-10 20:09:26 +00:00
constant-thread-locals-issue-47053.rs
constant-thread-locals-issue-47053.stderr
constant.rs
continue-after-missing-main.rs
continue-after-missing-main.stderr
decl-macro-illegal-copy.rs
decl-macro-illegal-copy.stderr
do-not-ignore-lifetime-bounds-in-copy-proj.rs
do-not-ignore-lifetime-bounds-in-copy-proj.stderr
do-not-ignore-lifetime-bounds-in-copy.rs
do-not-ignore-lifetime-bounds-in-copy.stderr
dont-print-desugared.rs
dont-print-desugared.stderr
drop-may-dangle.rs
drop-no-may-dangle.rs
drop-no-may-dangle.stderr
empty-type-predicate-2.rs
empty-type-predicate.rs
enum-drop-access.rs
enum-drop-access.stderr
extra-unused-mut.rs
generator-distinct-lifetime.rs
generator-upvar-mutability.rs
generator-upvar-mutability.stderr
get_default.polonius.stderr
get_default.rs
get_default.stderr Do not set up wrong span for adjustments 2023-07-10 20:09:26 +00:00
guarantor-issue-46974.rs Remove FIXME about NLL diagnostic that is already improved 2023-08-06 21:20:15 +02:00
guarantor-issue-46974.stderr Remove FIXME about NLL diagnostic that is already improved 2023-08-06 21:20:15 +02:00
issue-16223.rs
issue-21114-ebfull.rs
issue-21114-kixunil.rs
issue-21232-partial-init-and-erroneous-use.rs
issue-21232-partial-init-and-erroneous-use.stderr
issue-21232-partial-init-and-use.rs
issue-21232-partial-init-and-use.stderr
issue-22323-temp-destruction.rs
issue-24535-allow-mutable-borrow-in-match-guard.rs
issue-27282-move-match-input-into-guard.rs
issue-27282-move-match-input-into-guard.stderr
issue-27282-move-ref-mut-into-guard.rs
issue-27282-move-ref-mut-into-guard.stderr
issue-27282-mutate-before-diverging-arm-1.rs
issue-27282-mutate-before-diverging-arm-1.stderr
issue-27282-mutate-before-diverging-arm-2.rs
issue-27282-mutate-before-diverging-arm-2.stderr
issue-27282-mutate-before-diverging-arm-3.rs
issue-27282-mutate-before-diverging-arm-3.stderr
issue-27282-mutation-in-guard.rs
issue-27282-mutation-in-guard.stderr
issue-27282-reborrow-ref-mut-in-guard.rs
issue-27282-reborrow-ref-mut-in-guard.stderr
issue-27583.rs Move tests 2023-02-16 11:42:35 -03:00
issue-27868.rs
issue-27868.stderr
issue-30104.rs
issue-30438-a.rs Move tests 2023-05-08 17:58:01 -03:00
issue-30438-a.stderr Move tests 2023-05-08 17:58:01 -03:00
issue-30438-b.rs Move tests 2023-05-08 17:58:01 -03:00
issue-30438-b.stderr Move tests 2023-05-08 17:58:01 -03:00
issue-30438-c.rs Move tests 2023-05-08 17:58:01 -03:00
issue-30438-c.stderr Move tests 2023-05-08 17:58:01 -03:00
issue-31567.rs
issue-31567.stderr
issue-32382-index-assoc-type-with-lifetime.rs
issue-42574-diagnostic-in-nested-closure.rs
issue-42574-diagnostic-in-nested-closure.stderr
issue-43058.rs
issue-45157.rs
issue-45157.stderr
issue-45696-long-live-borrows-in-boxes.rs
issue-45696-no-variant-box-recur.rs
issue-45696-scribble-on-boxed-borrow.rs
issue-45696-scribble-on-boxed-borrow.stderr
issue-46023.rs
issue-46023.stderr
issue-46036.rs
issue-46036.stderr
issue-46589.rs
issue-46589.stderr Do not set up wrong span for adjustments 2023-07-10 20:09:26 +00:00
issue-47022.rs
issue-47153-generic-const.rs
issue-47388.rs
issue-47388.stderr tweak "make mut" spans when assigning to locals 2023-05-05 22:40:04 +12:00
issue-47470.rs
issue-47470.stderr
issue-47589.rs
issue-48070.rs
issue-48179.rs Move tests 2023-02-16 11:42:35 -03:00
issue-48238.rs
issue-48238.stderr
issue-48623-closure.rs
issue-48623-generator.rs
issue-48623-generator.stderr
issue-48697.rs
issue-48697.stderr
issue-48803.rs
issue-48803.stderr
issue-50343.rs
issue-50461-used-mut-from-moves.rs
issue-50716-1.rs
issue-50716.rs
issue-50716.stderr
issue-51191.rs
issue-51191.stderr Do not set up wrong span for adjustments 2023-07-10 20:09:26 +00:00
issue-51244.rs
issue-51244.stderr tweak spans for ref mut suggestion 2023-05-05 22:40:05 +12:00
issue-51268.rs
issue-51268.stderr
issue-51345-2.rs Change default panic handler message format. 2023-07-29 11:42:50 +02:00
issue-51351.rs
issue-51512.rs
issue-51512.stderr
issue-51770.rs
issue-52057.rs Cleanup free_region_relations a bit 2023-02-09 20:38:27 -05:00
issue-52059-report-when-borrow-and-drop-conflict.rs
issue-52059-report-when-borrow-and-drop-conflict.stderr
issue-52078.rs
issue-52086.rs
issue-52086.stderr
issue-52113.rs
issue-52113.stderr
issue-52213.rs
issue-52213.stderr
issue-52533-1.rs
issue-52533-1.stderr
issue-52534-1.rs
issue-52534-1.stderr
issue-52534-2.rs
issue-52534-2.stderr
issue-52534.rs
issue-52534.stderr
issue-52663-span-decl-captured-variable.rs
issue-52663-span-decl-captured-variable.stderr
issue-52663-trait-object.rs
issue-52663-trait-object.stderr
issue-52669.rs
issue-52669.stderr Do not set up wrong span for adjustments 2023-07-10 20:09:26 +00:00
issue-52742.rs
issue-52742.stderr
issue-52992.rs
issue-53040.rs
issue-53040.stderr
issue-53119.rs Resolve vars in result from scrape_region_constraints 2023-06-05 19:40:30 +00:00
issue-53123-raw-pointer-cast.rs
issue-53570.rs
issue-53773.rs
issue-53773.stderr Do not set up wrong span for adjustments 2023-07-10 20:09:26 +00:00
issue-53807.rs
issue-53807.stderr
issue-54189.rs
issue-54189.stderr
issue-54302-cases.rs Move tests 2023-05-08 17:58:01 -03:00
issue-54302-cases.stderr Move tests 2023-05-08 17:58:01 -03:00
issue-54302.rs Move tests 2023-05-08 17:58:01 -03:00
issue-54302.stderr Move tests 2023-05-08 17:58:01 -03:00
issue-54382-use-span-of-tail-of-block.rs
issue-54382-use-span-of-tail-of-block.stderr
issue-54556-niconii.rs
issue-54556-niconii.stderr Do not set up wrong span for adjustments 2023-07-10 20:09:26 +00:00
issue-54556-stephaneyfx.rs
issue-54556-stephaneyfx.stderr
issue-54556-temps-in-tail-diagnostic.rs
issue-54556-temps-in-tail-diagnostic.stderr
issue-54556-used-vs-unused-tails.rs
issue-54556-used-vs-unused-tails.stderr
issue-54556-wrap-it-up.rs
issue-54556-wrap-it-up.stderr
issue-54779-anon-static-lifetime.rs
issue-54779-anon-static-lifetime.stderr
issue-54943-3.rs Adjust UI tests for unit_bindings 2023-06-12 20:24:48 +08:00
issue-54943.rs
issue-54943.stderr
issue-55288.rs
issue-55344.rs
issue-55394.rs
issue-55394.stderr
issue-55401.rs
issue-55401.stderr
issue-55511.rs
issue-55511.stderr
issue-55651.rs
issue-55825-const-fn.rs
issue-55850.rs
issue-55850.stderr
issue-57100.rs
issue-57100.stderr
issue-57265-return-type-wf-check.rs
issue-57265-return-type-wf-check.stderr
issue-57280-1-flipped.rs
issue-57280-1-flipped.stderr
issue-57280-1.rs
issue-57280.rs
issue-57642-higher-ranked-subtype.rs
issue-57642-higher-ranked-subtype.stderr Tweak use of trimmed paths 2023-01-30 20:12:21 +00:00
issue-57843.rs
issue-57843.stderr
issue-57960.rs
issue-57989.rs
issue-57989.stderr tweak "make mut" spans (No. 3) 2023-05-05 22:40:05 +12:00
issue-58053.rs
issue-58053.stderr
issue-58299.rs
issue-58299.stderr
issue-61311-normalize.rs
issue-61320-normalize.rs
issue-61424.fixed
issue-61424.rs
issue-61424.stderr
issue-62007-assign-const-index.rs
issue-62007-assign-const-index.stderr Do not set up wrong span for adjustments 2023-07-10 20:09:26 +00:00
issue-62007-assign-differing-fields.rs
issue-62007-assign-differing-fields.stderr Do not set up wrong span for adjustments 2023-07-10 20:09:26 +00:00
issue-63154-normalize.rs
issue-67007-escaping-data.rs
issue-67007-escaping-data.stderr
issue-68550.rs
issue-68550.stderr
issue-69114-static-mut-ty.rs
issue-69114-static-mut-ty.stderr
issue-69114-static-ty.rs
issue-69114-static-ty.stderr
issue-73159-rpit-static.rs
issue-73159-rpit-static.stderr Label opaque type for 'captures lifetime' error message 2023-03-03 05:02:34 +00:00
issue-75777.rs Move tests 2023-02-16 11:42:35 -03:00
issue-75777.stderr Move tests 2023-02-16 11:42:35 -03:00
issue-78561.rs Split out a separate feature gate for impl trait in associated types 2023-04-12 16:17:31 +00:00
issue-95272.rs
issue-95272.stderr
issue-97997.rs
issue-97997.stderr
issue-98170.rs
issue-98170.stderr
issue-98589-closures-relate-named-regions.rs
issue-98589-closures-relate-named-regions.stderr
issue-98693.rs
issue-98693.stderr
issue-112604-closure-output-normalize.rs normalize closure output before relation 2023-06-15 12:49:49 +00:00
lint-no-err.rs
loan_ends_mid_block_pair.rs
loan_ends_mid_block_pair.stderr
loan_ends_mid_block_vec.rs
loan_ends_mid_block_vec.stderr Do not set up wrong span for adjustments 2023-07-10 20:09:26 +00:00
local-outlives-static-via-hrtb.rs
local-outlives-static-via-hrtb.stderr
lub-if.rs
lub-if.stderr
lub-match.rs
lub-match.stderr
match-cfg-fake-edges2.rs
match-cfg-fake-edges2.stderr
match-cfg-fake-edges.rs
match-cfg-fake-edges.stderr
match-guards-always-borrow.rs
match-guards-always-borrow.stderr
match-guards-partially-borrow.rs
match-guards-partially-borrow.stderr
match-on-borrowed.rs
match-on-borrowed.stderr
maybe-initialized-drop-implicit-fragment-drop.rs
maybe-initialized-drop-implicit-fragment-drop.stderr
maybe-initialized-drop-uninitialized.rs
maybe-initialized-drop-with-fragment.rs
maybe-initialized-drop-with-fragment.stderr
maybe-initialized-drop-with-uninitialized-fragments.rs
maybe-initialized-drop-with-uninitialized-fragments.stderr
maybe-initialized-drop.rs
maybe-initialized-drop.stderr
mir_check_cast_closure.rs
mir_check_cast_closure.stderr
mir_check_cast_reify.rs
mir_check_cast_reify.stderr
mir_check_cast_unsafe_fn.rs
mir_check_cast_unsafe_fn.stderr
mir_check_cast_unsize.rs
mir_check_cast_unsize.stderr
move-errors.rs
move-errors.stderr
move-subpaths-moves-root.rs
move-subpaths-moves-root.stderr
mutating_references.rs
normalization-bounds-error.rs
normalization-bounds-error.stderr
normalization-bounds.rs
outlives-suggestion-more.rs
outlives-suggestion-more.stderr
outlives-suggestion-simple.polonius.stderr
outlives-suggestion-simple.rs
outlives-suggestion-simple.stderr diagnostics: update test cases to refer to assoc fn with self as method 2023-02-22 08:40:47 -07:00
process_or_insert_default.rs
projection-return.rs
promotable-mutable-zst-doesnt-conflict.rs
promoted-bounds.rs
promoted-bounds.stderr
promoted-closure-pair.rs
promoted-closure-pair.stderr
promoted-liveness.rs
rc-loop.rs
ref-suggestion.rs
ref-suggestion.stderr
reference-carried-through-struct-field.rs
reference-carried-through-struct-field.stderr
region-ends-after-if-condition.rs
region-ends-after-if-condition.stderr
return_from_loop.rs
return_from_loop.stderr Do not set up wrong span for adjustments 2023-07-10 20:09:26 +00:00
return-ref-mut-issue-46557.rs
return-ref-mut-issue-46557.stderr
self-assign-ref-mut.rs
snocat-regression.rs
snocat-regression.stderr
trait-associated-constant.rs
trait-associated-constant.stderr
type-alias-free-regions.rs
type-alias-free-regions.stderr
type-check-pointer-coercions.rs
type-check-pointer-coercions.stderr
type-check-pointer-comparisons.rs
type-check-pointer-comparisons.stderr
type-test-universe.rs
type-test-universe.stderr
unused-mut-issue-50343.fixed
unused-mut-issue-50343.rs
unused-mut-issue-50343.stderr
vimwiki-core-regression.rs
where_clauses_in_functions.rs
where_clauses_in_functions.stderr
where_clauses_in_structs.rs
where_clauses_in_structs.stderr