rust/src/test/ui/nll
bors 3d0774d0dc Auto merge of #86700 - lqd:matthews-nll-hrtb-errors, r=nikomatsakis
Matthew's work on improving NLL's "higher-ranked subtype error"s

This PR rebases `@matthewjasper's` [branch](https://github.com/matthewjasper/rust/tree/nll-hrtb-errors) which has great work to fix the obscure higher-ranked subtype errors that are tracked in #57374.

These are a blocker to turning full NLLs on, and doing some internal cleanups to remove some of the old region code.

The goal is so `@nikomatsakis` can take a look at this early, and I'll then do my best to help do the changes and followup work to land this work, and move closer to turning off the migration mode.

I've only updated the branch and made it compile, removed a warning or two.

r? `@nikomatsakis`

(Here's the [zulip topic to discuss this](https://rust-lang.zulipchat.com/#narrow/stream/122657-t-compiler.2Fwg-nll/topic/.2357374.3A.20improving.20higher-ranked.20subtype.20errors.20via.20.2386700) that Niko wanted)
2021-08-18 15:54:59 +00:00
..
closure-requirements Don't suggest adding 'static lifetime to arguments 2021-05-12 21:43:09 -04:00
polonius Added better error message for shared borrow treated as unique for purposes of lifetimes 2020-12-01 10:24:23 +05:30
relate_tys Report nicer errors for HRTB NLL errors from queries 2021-08-15 09:11:01 +02:00
ty-outlives Modify structured suggestion output 2021-08-11 09:46:24 +00:00
user-annotations bless trivial polonius diagnostics changes 2021-08-03 20:29:30 +02:00
assign-while-to-immutable.rs Fix incorrect double assignment in MIR for while loops 2019-06-25 22:41:22 +01:00
borrow-use-issue-46875.rs Remove feature(nll) when compare mode is sufficient 2019-05-12 18:46:43 +01:00
borrowck-thread-local-static-mut-borrow-outlives-fn.rs Remove feature(nll) when compare mode is sufficient 2019-05-12 18:46:43 +01:00
borrowed-local-error.rs Remove feature(nll) when compare mode is sufficient 2019-05-12 18:46:43 +01:00
borrowed-local-error.stderr Remove feature(nll) when compare mode is sufficient 2019-05-12 18:46:43 +01:00
borrowed-match-issue-45045.rs remove feature(nll) in more cases. 2019-09-26 06:44:57 +02:00
borrowed-match-issue-45045.stderr remove feature(nll) in more cases. 2019-09-26 06:44:57 +02:00
borrowed-referent-issue-38899.rs Adjust & --bless tests due to no longer downgrading NLL errors on 2015. 2019-09-26 06:44:57 +02:00
borrowed-referent-issue-38899.stderr Adjust & --bless tests due to no longer downgrading NLL errors on 2015. 2019-09-26 06:44:57 +02:00
borrowed-temporary-error.rs Remove feature(nll) when compare mode is sufficient 2019-05-12 18:46:43 +01:00
borrowed-temporary-error.stderr Remove feature(nll) when compare mode is sufficient 2019-05-12 18:46:43 +01:00
borrowed-universal-error-2.rs Remove feature(nll) when compare mode is sufficient 2019-05-12 18:46:43 +01:00
borrowed-universal-error-2.stderr Remove feature(nll) when compare mode is sufficient 2019-05-12 18:46:43 +01:00
borrowed-universal-error.rs Remove feature(nll) when compare mode is sufficient 2019-05-12 18:46:43 +01:00
borrowed-universal-error.stderr Remove feature(nll) when compare mode is sufficient 2019-05-12 18:46:43 +01:00
cannot-move-block-spans.rs Remove licenses 2018-12-25 21:08:33 -07:00
cannot-move-block-spans.stderr pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03:00
capture-mut-ref.fixed Make closures and generators a must use types 2020-07-28 00:00:00 +00:00
capture-mut-ref.rs Make closures and generators a must use types 2020-07-28 00:00:00 +00:00
capture-mut-ref.stderr Audit uses of span_suggestion_short 2020-07-02 15:18:33 +09:00
capture-ref-in-struct.rs Remove feature(nll) when compare mode is sufficient 2019-05-12 18:46:43 +01:00
capture-ref-in-struct.stderr Remove feature(nll) when compare mode is sufficient 2019-05-12 18:46:43 +01:00
closure-access-spans.rs Remove feature(nll) when compare mode is sufficient 2019-05-12 18:46:43 +01:00
closure-access-spans.stderr Closure capture borrow diagnostics for disjoint captures 2021-05-01 19:01:05 -04:00
closure-borrow-spans.rs Remove feature(nll) when compare mode is sufficient 2019-05-12 18:46:43 +01:00
closure-borrow-spans.stderr Closure capture borrow diagnostics for disjoint captures 2021-05-01 19:01:05 -04:00
closure-captures.rs Remove feature(nll) when compare mode is sufficient 2019-05-12 18:46:43 +01:00
closure-captures.stderr Closure capture borrow diagnostics for disjoint captures 2021-05-01 19:01:05 -04:00
closure-move-spans.rs Remove feature(nll) when compare mode is sufficient 2019-05-12 18:46:43 +01:00
closure-move-spans.stderr pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03:00
closure-use-spans.rs Remove feature(nll) when compare mode is sufficient 2019-05-12 18:46:43 +01:00
closure-use-spans.stderr Closure capture borrow diagnostics for disjoint captures 2021-05-01 19:01:05 -04:00
closures-in-loops.rs Remove feature(nll) when compare mode is sufficient 2019-05-12 18:46:43 +01:00
closures-in-loops.stderr Closure capture borrow diagnostics for disjoint captures 2021-05-01 19:01:05 -04:00
constant-thread-locals-issue-47053.rs Remove feature(nll) when compare mode is sufficient 2019-05-12 18:46:43 +01:00
constant-thread-locals-issue-47053.stderr Update ui tests 2019-11-18 19:00:10 +01:00
constant.rs Use check-pass mode for nll tests 2020-01-23 00:00:00 +00:00
decl-macro-illegal-copy.rs Remove feature(nll) when compare mode is sufficient 2019-05-12 18:46:43 +01:00
decl-macro-illegal-copy.stderr Remove feature(nll) when compare mode is sufficient 2019-05-12 18:46:43 +01:00
do-not-ignore-lifetime-bounds-in-copy-proj.rs Check Copy lifetimes bounds when copying from a projection 2020-02-13 20:31:25 +00:00
do-not-ignore-lifetime-bounds-in-copy-proj.stderr Check Copy lifetimes bounds when copying from a projection 2020-02-13 20:31:25 +00:00
do-not-ignore-lifetime-bounds-in-copy.rs remove feature(nll) in more cases. 2019-09-26 06:44:57 +02:00
do-not-ignore-lifetime-bounds-in-copy.stderr remove feature(nll) in more cases. 2019-09-26 06:44:57 +02:00
dont-print-desugared.rs Dont show variables from desugarings in borrowck errors 2019-05-21 20:38:17 +01:00
dont-print-desugared.stderr Don't give invalid suggestion on desugared span. 2020-02-12 18:32:27 -07:00
drop-may-dangle.rs Use check-pass mode for nll tests 2020-01-23 00:00:00 +00:00
drop-no-may-dangle.rs retrieve ty info from place_ty 2018-12-27 17:25:45 +08:00
drop-no-may-dangle.stderr Update tests 2019-03-11 23:10:26 +03:00
empty-type-predicate-2.rs Fix more ReEmpty ICEs 2019-10-24 21:15:08 +01:00
empty-type-predicate.rs Fix more ReEmpty ICEs 2019-10-24 21:15:08 +01:00
enum-drop-access.rs remove feature(nll) in more cases. 2019-09-26 06:44:57 +02:00
enum-drop-access.stderr remove feature(nll) in more cases. 2019-09-26 06:44:57 +02:00
extra-unused-mut.rs Use check-pass mode for nll tests 2020-01-23 00:00:00 +00:00
generator-distinct-lifetime.rs Use check-pass mode for nll tests 2020-01-23 00:00:00 +00:00
generator-upvar-mutability.rs Remove licenses 2018-12-25 21:08:33 -07:00
generator-upvar-mutability.stderr Update ui tests 2019-11-18 19:00:10 +01:00
get_default.nll.stderr Change compare mode to use -Zborrowck=mir 2019-05-12 18:46:43 +01:00
get_default.polonius.stderr Calculate liveness for the same locals with and without -Zpolonius 2019-10-02 20:39:01 +01:00
get_default.rs Update tests 2019-05-03 03:11:37 -04:00
get_default.stderr Update tests 2019-05-03 03:11:37 -04:00
guarantor-issue-46974.rs Remove licenses 2018-12-25 21:08:33 -07:00
guarantor-issue-46974.stderr Don't suggest adding 'static lifetime to arguments 2021-05-12 21:43:09 -04:00
issue-16223.rs Use check-pass in ui tests where appropriate 2019-11-04 16:03:46 +01:00
issue-21114-ebfull.rs Use check-pass in ui tests where appropriate 2019-11-04 16:03:46 +01:00
issue-21114-kixunil.rs Use check-pass in ui tests where appropriate 2019-11-04 16:03:46 +01:00
issue-21232-partial-init-and-erroneous-use.rs Fixed grammar/style in error messages and reblessed tests. 2019-09-06 03:46:08 +01:00
issue-21232-partial-init-and-erroneous-use.stderr Fixed grammar/style in error messages and reblessed tests. 2019-09-06 03:46:08 +01:00
issue-21232-partial-init-and-use.rs remove feature(nll) in more cases. 2019-09-26 06:44:57 +02:00
issue-21232-partial-init-and-use.stderr pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03:00
issue-22323-temp-destruction.rs Use check-pass in ui tests where appropriate 2019-11-04 16:03:46 +01:00
issue-24535-allow-mutable-borrow-in-match-guard.rs Move some UI tests to more suitable subdirs 2021-06-30 06:41:10 +09:00
issue-27868.rs remove feature(nll) from #27868 test. 2019-09-26 06:44:57 +02:00
issue-27868.stderr remove feature(nll) from #27868 test. 2019-09-26 06:44:57 +02:00
issue-30104.rs Use check-pass in ui tests where appropriate 2019-11-04 16:03:46 +01:00
issue-31567.rs remove feature(nll) from #31567 test. 2019-09-26 06:44:57 +02:00
issue-31567.stderr remove feature(nll) from #31567 test. 2019-09-26 06:44:57 +02:00
issue-32382-index-assoc-type-with-lifetime.rs Use check-pass in ui tests where appropriate 2019-11-04 16:03:46 +01:00
issue-42574-diagnostic-in-nested-closure.rs Regression test for issue 42574. 2019-07-09 11:56:01 +02:00
issue-42574-diagnostic-in-nested-closure.stderr Regression test for issue 42574. 2019-07-09 11:56:01 +02:00
issue-43058.rs Use check-pass in ui tests where appropriate 2019-11-04 16:03:46 +01:00
issue-45157.rs Move some UI tests to more suitable subdirs 2021-06-30 06:41:10 +09:00
issue-45157.stderr Move some UI tests to more suitable subdirs 2021-06-30 06:41:10 +09:00
issue-45696-long-live-borrows-in-boxes.rs Move some tests to more reasonable directories - 2 2021-01-16 19:46:54 -03:00
issue-45696-scribble-on-boxed-borrow.rs Move some tests to more reasonable directories 2021-01-31 19:46:46 -03:00
issue-45696-scribble-on-boxed-borrow.stderr Move some tests to more reasonable directories 2021-01-31 19:46:46 -03:00
issue-46036.rs Move some tests to more reasonable directories 2021-01-31 19:46:46 -03:00
issue-46036.stderr Move some tests to more reasonable directories 2021-01-31 19:46:46 -03:00
issue-46589.rs issue-46589 passes in Polonius and fails in NLL, duplicate it and manually check each outcome 2019-07-22 12:46:55 +02:00
issue-46589.stderr issue-46589 passes in Polonius and fails in NLL, duplicate it and manually check each outcome 2019-07-22 12:46:55 +02:00
issue-47022.rs Use check-pass in ui tests where appropriate 2019-11-04 16:03:46 +01:00
issue-47153-generic-const.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
issue-47388.rs Remove feature(nll) when compare mode is sufficient 2019-05-12 18:46:43 +01:00
issue-47388.stderr Improve error reporting for modifications behind & references 2021-07-02 18:29:49 +02:00
issue-47470.rs Remove feature(nll) when compare mode is sufficient 2019-05-12 18:46:43 +01:00
issue-47470.stderr Remove feature(nll) when compare mode is sufficient 2019-05-12 18:46:43 +01:00
issue-47589.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
issue-48070.rs Remove feature(nll) when compare mode is sufficient 2019-05-12 18:46:43 +01:00
issue-48238.rs remove feature(nll) in more cases. 2019-09-26 06:44:57 +02:00
issue-48238.stderr remove feature(nll) in more cases. 2019-09-26 06:44:57 +02:00
issue-48623-closure.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
issue-48623-generator.rs Make closures and generators a must use types 2020-07-28 00:00:00 +00:00
issue-48623-generator.stderr Make closures and generators a must use types 2020-07-28 00:00:00 +00:00
issue-48697.rs Remove feature(nll) when compare mode is sufficient 2019-05-12 18:46:43 +01:00
issue-48697.stderr Remove feature(nll) when compare mode is sufficient 2019-05-12 18:46:43 +01:00
issue-50343.rs Use drop instead of the toilet closure |_| () 2020-01-02 08:56:12 +00:00
issue-50461-used-mut-from-moves.rs Warn about useless assignments of variables/fields to themselves 2021-07-14 16:29:35 +02:00
issue-50716-1.rs Use check-pass in ui tests where appropriate 2019-11-04 16:03:46 +01:00
issue-50716.nll.stderr update tests 2019-10-27 09:39:14 -05:00
issue-50716.rs Remove feature(nll) when compare mode is sufficient 2019-05-12 18:46:43 +01:00
issue-50716.stderr pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03:00
issue-51191.rs remove allow(unconditional_recursion) 2021-07-27 12:12:59 -04:00
issue-51191.stderr remove allow(unconditional_recursion) 2021-07-27 12:12:59 -04:00
issue-51244.rs Improve error reporting for modifications behind & references 2021-07-02 18:29:49 +02:00
issue-51244.stderr Improve error reporting for modifications behind & references 2021-07-02 18:29:49 +02:00
issue-51268.rs Remove redundant ignore-tidy-linelength annotations 2021-04-03 22:30:20 +02:00
issue-51268.stderr Closure capture borrow diagnostics for disjoint captures 2021-05-01 19:01:05 -04:00
issue-51345-2.rs Move some tests to more reasonable directories - 2 2021-01-16 19:46:54 -03:00
issue-51351.rs Use check-pass in ui tests where appropriate 2019-11-04 16:03:46 +01:00
issue-51512.rs Remove feature(nll) when compare mode is sufficient 2019-05-12 18:46:43 +01:00
issue-51512.stderr Remove feature(nll) when compare mode is sufficient 2019-05-12 18:46:43 +01:00
issue-51770.rs Move some tests to more reasonable directories - 2 2021-01-16 19:46:54 -03:00
issue-52059-report-when-borrow-and-drop-conflict.rs remove feature(nll) in more cases. 2019-09-26 06:44:57 +02:00
issue-52059-report-when-borrow-and-drop-conflict.stderr pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03:00
issue-52078.rs Use check-pass in ui tests where appropriate 2019-11-04 16:03:46 +01:00
issue-52086.rs Remove feature(nll) when compare mode is sufficient 2019-05-12 18:46:43 +01:00
issue-52086.stderr pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03:00
issue-52113.rs Remove feature(nll) when compare mode is sufficient 2019-05-12 18:46:43 +01:00
issue-52113.stderr update tests 2019-10-27 09:39:14 -05:00
issue-52534-1.rs Remove feature(nll) when compare mode is sufficient 2019-05-12 18:46:43 +01:00
issue-52534-1.stderr Remove feature(nll) when compare mode is sufficient 2019-05-12 18:46:43 +01:00
issue-52534-2.rs Remove feature(nll) when compare mode is sufficient 2019-05-12 18:46:43 +01:00
issue-52534-2.stderr Evaluate borrow and struct expressions in into 2019-11-11 22:06:54 +00:00
issue-52534.rs Remove feature(nll) when compare mode is sufficient 2019-05-12 18:46:43 +01:00
issue-52534.stderr Remove feature(nll) when compare mode is sufficient 2019-05-12 18:46:43 +01:00
issue-52663-span-decl-captured-variable.rs Update tests for changes to cannot move errors 2019-06-03 14:55:29 +01:00
issue-52663-span-decl-captured-variable.stderr pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03:00
issue-52663-trait-object.rs Update ui test suite to use dyn 2019-05-29 00:57:31 -04:00
issue-52663-trait-object.stderr Update ui test suite to use dyn 2019-05-29 00:57:31 -04:00
issue-52669.rs Remove feature(nll) when compare mode is sufficient 2019-05-12 18:46:43 +01:00
issue-52669.stderr Remove feature(nll) when compare mode is sufficient 2019-05-12 18:46:43 +01:00
issue-52742.nll.stderr Remove feature(nll) when compare mode is sufficient 2019-05-12 18:46:43 +01:00
issue-52742.rs Remove feature(nll) when compare mode is sufficient 2019-05-12 18:46:43 +01:00
issue-52742.stderr Update test cases 2021-02-22 23:39:06 +09:00
issue-52992.rs Move some tests to more suitable subdirs 2021-03-06 18:24:53 +09:00
issue-53040.rs remove feature(nll) in more cases. 2019-09-26 06:44:57 +02:00
issue-53040.stderr Display information about captured variable in FnMut error 2020-05-25 23:18:00 -04:00
issue-53119.rs Use check-pass in ui tests where appropriate 2019-11-04 16:03:46 +01:00
issue-53123-raw-pointer-cast.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
issue-53570.rs Use check-pass in ui tests where appropriate 2019-11-04 16:03:46 +01:00
issue-53773.rs remove feature(nll) in more cases. 2019-09-26 06:44:57 +02:00
issue-53773.stderr remove feature(nll) in more cases. 2019-09-26 06:44:57 +02:00
issue-53807.rs update tests for migrate mode by default 2019-04-22 08:40:08 +01:00
issue-53807.stderr Modify structured suggestion output 2021-08-11 09:46:24 +00:00
issue-54382-use-span-of-tail-of-block.rs Update tests 2018-12-04 10:06:05 +01:00
issue-54382-use-span-of-tail-of-block.stderr Modify structured suggestion output 2021-08-11 09:46:24 +00:00
issue-54556-niconii.rs Update tests 2018-12-04 10:06:05 +01:00
issue-54556-niconii.stderr Modify structured suggestion output 2021-08-11 09:46:24 +00:00
issue-54556-stephaneyfx.rs Update tests 2018-12-04 10:06:05 +01:00
issue-54556-stephaneyfx.stderr Modify structured suggestion output 2021-08-11 09:46:24 +00:00
issue-54556-temps-in-tail-diagnostic.rs Update tests 2018-12-04 10:06:05 +01:00
issue-54556-temps-in-tail-diagnostic.stderr Modify structured suggestion output 2021-08-11 09:46:24 +00:00
issue-54556-used-vs-unused-tails.rs fix various typos 2020-03-06 15:19:31 +01:00
issue-54556-used-vs-unused-tails.stderr Modify structured suggestion output 2021-08-11 09:46:24 +00:00
issue-54556-wrap-it-up.rs Unit tests for issue #54556. Some were also taken from issues #21114, #46413. 2018-10-05 12:04:53 +02:00
issue-54556-wrap-it-up.stderr update tests for migrate mode by default 2019-04-22 08:40:08 +01:00
issue-54943-3.rs Move some tests to more reasonable directories - 2 2021-01-16 19:46:54 -03:00
issue-55288.rs Update test stderr with results of enabling unused lints 2019-09-08 11:32:28 -04:00
issue-55344.rs Use check-pass in ui tests where appropriate 2019-11-04 16:03:46 +01:00
issue-55394.nll.stderr Remove feature(nll) when compare mode is sufficient 2019-05-12 18:46:43 +01:00
issue-55394.rs Remove feature(nll) when compare mode is sufficient 2019-05-12 18:46:43 +01:00
issue-55394.stderr Update test cases 2021-02-22 23:39:06 +09:00
issue-55401.nll.stderr update tests 2019-10-27 09:39:14 -05:00
issue-55401.rs Remove feature(nll) when compare mode is sufficient 2019-05-12 18:46:43 +01:00
issue-55401.stderr Print lifetimes with backticks 2019-10-11 16:08:53 +09:00
issue-55511.rs Move some tests to more reasonable directories - 2 2021-01-16 19:46:54 -03:00
issue-55511.stderr Move some tests to more reasonable directories - 2 2021-01-16 19:46:54 -03:00
issue-55651.rs Use check-pass in ui tests where appropriate 2019-11-04 16:03:46 +01:00
issue-55850.rs Add a resume type parameter to Generator 2020-02-02 13:20:57 +01:00
issue-55850.stderr Explain error when yielding a reference to a local variable 2019-04-22 18:50:26 +01:00
issue-57100.rs Remove redundant ignore-tidy-linelength annotations 2021-04-03 22:30:20 +02:00
issue-57100.stderr Remove redundant ignore-tidy-linelength annotations 2021-04-03 22:30:20 +02:00
issue-57265-return-type-wf-check.rs Remove feature(nll) when compare mode is sufficient 2019-05-12 18:46:43 +01:00
issue-57265-return-type-wf-check.stderr Remove feature(nll) when compare mode is sufficient 2019-05-12 18:46:43 +01:00
issue-57280-1.rs Use check-pass in ui tests where appropriate 2019-11-04 16:03:46 +01:00
issue-57280.rs Use check-pass in ui tests where appropriate 2019-11-04 16:03:46 +01:00
issue-57642-higher-ranked-subtype.rs Avoid describing a method as 'not found' when bounds are unsatisfied 2021-01-26 23:59:50 -05:00
issue-57642-higher-ranked-subtype.stderr Avoid describing a method as 'not found' when bounds are unsatisfied 2021-01-26 23:59:50 -05:00
issue-57960.rs Update test stderr with results of enabling unused lints 2019-09-08 11:32:28 -04:00
issue-57989.rs Improve error reporting for modifications behind & references 2021-07-02 18:29:49 +02:00
issue-57989.stderr Improve error reporting for modifications behind & references 2021-07-02 18:29:49 +02:00
issue-58053.rs Remove feature(nll) when compare mode is sufficient 2019-05-12 18:46:43 +01:00
issue-58053.stderr use RegionNameHighlight for async fn and closure returns 2020-11-09 16:14:40 +00:00
issue-58299.rs Remove feature(nll) when compare mode is sufficient 2019-05-12 18:46:43 +01:00
issue-58299.stderr update tests 2019-10-27 09:39:14 -05:00
issue-61311-normalize.rs Use check-pass in ui tests where appropriate 2019-11-04 16:03:46 +01:00
issue-61320-normalize.rs Use check-pass in ui tests where appropriate 2019-11-04 16:03:46 +01:00
issue-61424.fixed Audit uses of span_suggestion_short 2020-07-02 15:18:33 +09:00
issue-61424.rs Audit uses of span_suggestion_short 2020-07-02 15:18:33 +09:00
issue-61424.stderr Audit uses of span_suggestion_short 2020-07-02 15:18:33 +09:00
issue-62007-assign-const-index.rs Add test checking our behavior for assigning over a ConstIndex projection. 2019-06-21 13:08:15 +02:00
issue-62007-assign-const-index.stderr Added better error message for shared borrow treated as unique for purposes of lifetimes 2020-12-01 10:24:23 +05:30
issue-62007-assign-differing-fields.rs Add test that our handling of projections hasn't gone too far: 2019-06-21 12:52:54 +02:00
issue-62007-assign-differing-fields.stderr Added better error message for shared borrow treated as unique for purposes of lifetimes 2020-12-01 10:24:23 +05:30
issue-63154-normalize.rs Update src/test/ui/nll/issue-63154-normalize.rs 2019-10-07 10:19:38 +02:00
issue-68550.rs reserve variable for empty root region 2020-04-16 11:03:41 +00:00
issue-68550.stderr reserve variable for empty root region 2020-04-16 11:03:41 +00:00
issue-69114-static-mut-ty.rs Check types of statics in MIR typeck 2020-02-13 20:31:25 +00:00
issue-69114-static-mut-ty.stderr Check types of statics in MIR typeck 2020-02-13 20:31:25 +00:00
issue-69114-static-ty.rs Check types of statics in MIR typeck 2020-02-13 20:31:25 +00:00
issue-69114-static-ty.stderr Check types of statics in MIR typeck 2020-02-13 20:31:25 +00:00
loan_ends_mid_block_pair.rs Update tests 2019-05-03 03:11:37 -04:00
loan_ends_mid_block_pair.stderr Update tests 2019-05-03 03:11:37 -04:00
loan_ends_mid_block_vec.rs Update tests 2019-05-03 03:11:37 -04:00
loan_ends_mid_block_vec.stderr Update tests 2019-05-03 03:11:37 -04:00
local-outlives-static-via-hrtb.rs Search for incompatible universes in borrow errors 2019-04-26 22:14:52 +01:00
local-outlives-static-via-hrtb.stderr Search for incompatible universes in borrow errors 2019-04-26 22:14:52 +01:00
match-cfg-fake-edges.rs Update tests wrt. bind_by_by_move_pattern_guards stabilization. 2019-09-08 01:39:24 +02:00
match-cfg-fake-edges.stderr pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03:00
match-cfg-fake-edges2.rs Remove 'feature(nll)' from bind_by_move_pattern_guards tests. 2019-07-30 06:43:06 +02:00
match-cfg-fake-edges2.stderr Remove 'feature(nll)' from bind_by_move_pattern_guards tests. 2019-07-30 06:43:06 +02:00
match-guards-always-borrow.rs remove feature(nll) in more cases. 2019-09-26 06:44:57 +02:00
match-guards-always-borrow.stderr pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03:00
match-guards-partially-borrow.rs Update tests wrt. bind_by_by_move_pattern_guards stabilization. 2019-09-08 01:39:24 +02:00
match-guards-partially-borrow.stderr Update tests wrt. bind_by_by_move_pattern_guards stabilization. 2019-09-08 01:39:24 +02:00
match-on-borrowed.rs remove feature(nll) in more cases. 2019-09-26 06:44:57 +02:00
match-on-borrowed.stderr remove feature(nll) in more cases. 2019-09-26 06:44:57 +02:00
maybe-initialized-drop-implicit-fragment-drop.rs Remove feature(nll) when compare mode is sufficient 2019-05-12 18:46:43 +01:00
maybe-initialized-drop-implicit-fragment-drop.stderr Remove feature(nll) when compare mode is sufficient 2019-05-12 18:46:43 +01:00
maybe-initialized-drop-uninitialized.rs Use check-pass mode for nll tests 2020-01-23 00:00:00 +00:00
maybe-initialized-drop-with-fragment.rs Remove licenses 2018-12-25 21:08:33 -07:00
maybe-initialized-drop-with-fragment.stderr Update tests 2019-03-11 23:10:26 +03:00
maybe-initialized-drop-with-uninitialized-fragments.rs Remove licenses 2018-12-25 21:08:33 -07:00
maybe-initialized-drop-with-uninitialized-fragments.stderr Update tests 2019-03-11 23:10:26 +03:00
maybe-initialized-drop.rs Remove licenses 2018-12-25 21:08:33 -07:00
maybe-initialized-drop.stderr Update tests 2019-03-11 23:10:26 +03:00
mir_check_cast_closure.rs Update tests 2019-01-17 20:39:06 -06:00
mir_check_cast_closure.stderr update tests 2019-10-27 09:39:14 -05:00
mir_check_cast_reify.rs Update tests 2019-01-17 20:39:06 -06:00
mir_check_cast_reify.stderr update tests 2019-10-27 09:39:14 -05:00
mir_check_cast_unsafe_fn.rs Update tests 2019-01-17 20:39:06 -06:00
mir_check_cast_unsafe_fn.stderr update tests 2019-10-27 09:39:14 -05:00
mir_check_cast_unsize.rs Update tests 2019-01-17 20:39:06 -06:00
mir_check_cast_unsize.stderr update tests 2019-10-27 09:39:14 -05:00
move-errors.rs Remove feature(nll) when compare mode is sufficient 2019-05-12 18:46:43 +01:00
move-errors.stderr pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03:00
move-subpaths-moves-root.rs Be consistent when describing a move as a 'partial' in diagnostics 2020-08-08 14:21:04 -04:00
move-subpaths-moves-root.stderr pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03:00
mutating_references.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
normalization-bounds-error.rs Remove feature(nll) when compare mode is sufficient 2019-05-12 18:46:43 +01:00
normalization-bounds-error.stderr Replace associated item bound vars with placeholders when projecting. 2021-07-09 00:04:47 -04:00
normalization-bounds.rs Update test stderr with results of enabling unused lints 2019-09-08 11:32:28 -04:00
outlives-suggestion-more.rs add test for complex suggestions 2019-10-27 08:47:22 -05:00
outlives-suggestion-more.stderr add test for complex suggestions 2019-10-27 08:47:22 -05:00
outlives-suggestion-simple.polonius.stderr bless trivial polonius diagnostics changes 2021-08-03 20:29:30 +02:00
outlives-suggestion-simple.rs update tests 2020-03-12 15:47:36 -05:00
outlives-suggestion-simple.stderr Update ui tests 2021-02-01 18:23:12 +01:00
process_or_insert_default.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
projection-return.rs Use check-pass mode for nll tests 2020-01-23 00:00:00 +00:00
promotable-mutable-zst-doesnt-conflict.rs Update test stderr with results of enabling unused lints 2019-09-08 11:32:28 -04:00
promoted-bounds.rs Remove feature(nll) when compare mode is sufficient 2019-05-12 18:46:43 +01:00
promoted-bounds.stderr Remove feature(nll) when compare mode is sufficient 2019-05-12 18:46:43 +01:00
promoted-closure-pair.rs Remove feature(nll) when compare mode is sufficient 2019-05-12 18:46:43 +01:00
promoted-closure-pair.stderr Remove feature(nll) when compare mode is sufficient 2019-05-12 18:46:43 +01:00
promoted-liveness.rs Make lifetimes in constants live at the point of use 2019-10-02 20:39:01 +01:00
rc-loop.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
reference-carried-through-struct-field.rs update tests for migrate mode by default 2019-04-22 08:40:08 +01:00
reference-carried-through-struct-field.stderr update tests for migrate mode by default 2019-04-22 08:40:08 +01:00
region-ends-after-if-condition.nll.stderr Change compare mode to use -Zborrowck=mir 2019-05-12 18:46:43 +01:00
region-ends-after-if-condition.rs Update tests 2019-05-03 03:11:37 -04:00
region-ends-after-if-condition.stderr Update tests 2019-05-03 03:11:37 -04:00
return-ref-mut-issue-46557.rs Remove feature(nll) when compare mode is sufficient 2019-05-12 18:46:43 +01:00
return-ref-mut-issue-46557.stderr Remove feature(nll) when compare mode is sufficient 2019-05-12 18:46:43 +01:00
return_from_loop.rs Update tests 2019-05-03 03:11:37 -04:00
return_from_loop.stderr Update tests 2019-05-03 03:11:37 -04:00
self-assign-ref-mut.rs Kill borrows from assignments after generating new borrows 2019-08-31 15:35:20 +01:00
trait-associated-constant.rs Rename test struct names to something more sensible 2019-03-12 18:33:27 -04:00
trait-associated-constant.stderr pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03:00
type-alias-free-regions.nll.stderr pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03:00
type-alias-free-regions.rs Remove feature(nll) when compare mode is sufficient 2019-05-12 18:46:43 +01:00
type-alias-free-regions.stderr Update test cases 2021-02-22 23:39:06 +09:00
type-check-pointer-coercions.rs Type check coercions to pointer types 2019-02-23 14:25:03 +00:00
type-check-pointer-coercions.stderr Add variance-related information to lifetime error messages 2021-06-06 12:37:42 -05:00
type-check-pointer-comparisons.rs Correctly check comparison operators in MIR typeck 2020-05-03 13:21:40 +01:00
type-check-pointer-comparisons.stderr Add variance-related information to lifetime error messages 2021-06-06 12:37:42 -05:00
unused-mut-issue-50343.fixed Audit uses of span_suggestion_short 2020-07-02 15:18:33 +09:00
unused-mut-issue-50343.rs Audit uses of span_suggestion_short 2020-07-02 15:18:33 +09:00
unused-mut-issue-50343.stderr Audit uses of span_suggestion_short 2020-07-02 15:18:33 +09:00
where_clauses_in_functions.rs Update tests 2019-01-17 20:39:06 -06:00
where_clauses_in_functions.stderr update tests 2019-10-27 09:39:14 -05:00
where_clauses_in_structs.rs Update tests 2019-01-17 20:39:06 -06:00
where_clauses_in_structs.stderr update tests 2019-10-27 09:39:14 -05:00