rust/src/test/ui/nll
Dylan DPC cbf54fad79
Rollup merge of #95591 - jackh726:nll-revisions-1, r=oli-obk
Use revisions to track NLL test output (part 1)

The idea here is 2 fold: 1) When we eventually do make NLL default on, that PR should be systematic in "delete revisions and corresponding error annotations" 2) This allows us to look at test NLL outputs in chunks. (Though, I've opted here not to "mark" these tests. There are some tests with NLL revisions *now* that will be missed. I expect we do a second pass once we have all the tests with NLL revisions; these tests should be easy enough to eyeball.)

The actual review here should be "easy", but a bit tedious. I expect we should manually go through each test output and confirm it's okay.

The majority of these are either: 1) Only span change (the one I see most common is highlighting an entire function call, rather than just the function name in that call) 2) "E0308 mismatched types" -> "lifetime does not live long enough" 3) "E0495 cannot infer an appropriate lifetime for lifetime parameter" -> "lifetime does not live long enough" 4) "E0312 lifetime of reference outlives lifetime of borrowed content" -> "lifetime does not live long enough" 5) "E0759 `XXX` has an anonymous lifetime `'_` but it needs to satisfy a `'static` lifetime requirement" -> "lifetime does not live long enough" 6) "E0623 lifetime mismatch" -> "lifetime does not live long enough"

Other than the now lack of an error code, most of these look fine (with most giving more helpful suggestions now).

`rfc1623` output isn't great.

cc ``@marmeladema`` if you want to look through these

Let's r? ``@oli-obk`` since you've commented on the Zulip thread ;)
2022-04-05 22:58:58 +02:00
..
closure-requirements Format invariance notes with backticks 2022-04-04 20:26:31 -07:00
polonius Use larger span for adjustments on method calls 2021-09-25 10:00:41 -05:00
relate_tys Revert "Auto merge of #93893 - oli-obk:sad_revert, r=oli-obk" 2022-03-28 16:27:14 +00:00
ty-outlives Revert "Auto merge of #93893 - oli-obk:sad_revert, r=oli-obk" 2022-03-28 16:27:14 +00:00
user-annotations Move some tests with compare-mode=nll output to revisions 2022-04-05 11:42:41 -04: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 Fix debugger stepping behavior around match expressions 2021-08-25 15:17:22 -04:00
borrowed-match-issue-45045.stderr Fix debugger stepping behavior around match expressions 2021-08-25 15:17:22 -04: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 Use larger span for adjustments on method calls 2021-09-25 10:00:41 -05: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 Use larger span for adjustments on method calls 2021-09-25 10:00:41 -05: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 2229: Drop any deref in move closure 2021-08-29 16:28:58 -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 Simplify for loop desugar 2021-11-21 08:15:21 -06: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.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 Use larger span for adjustments on method calls 2021-09-25 10:00:41 -05:00
guarantor-issue-46974.rs Improve diagnostics when a static lifetime is expected 2021-11-14 12:04:39 +11:00
guarantor-issue-46974.stderr Improve diagnostics when a static lifetime is expected 2021-11-14 12:04:39 +11: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 Fix more “a”/“an” typos 2021-08-22 16:35:29 +02: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 Add ConstraintCategory::Usage for handling aggregate construction 2021-09-16 12:36:19 -05: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 Use larger span for adjustments on method calls 2021-09-25 10:00:41 -05: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.base.stderr Move some tests with compare-mode=nll output to revisions 2022-04-05 11:42:41 -04:00
issue-50716.nll.stderr Move some tests with compare-mode=nll output to revisions 2022-04-05 11:42:41 -04:00
issue-50716.rs Move some tests with compare-mode=nll output to revisions 2022-04-05 11:42:41 -04:00
issue-51191.rs remove allow(unconditional_recursion) 2021-07-27 12:12:59 -04:00
issue-51191.stderr Use larger span for adjustments on method calls 2021-09-25 10:00:41 -05: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 Revert "Auto merge of #93893 - oli-obk:sad_revert, r=oli-obk" 2022-03-28 16:27:14 +00:00
issue-52113.stderr Revert "Auto merge of #93893 - oli-obk:sad_revert, r=oli-obk" 2022-03-28 16:27:14 +00: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 Point to closure when emitting 'cannot move out' for captured variable 2021-09-15 01:47:22 +02:00
issue-52663-trait-object.rs Remove box syntax from most places in src/test outside of the issues dir 2021-09-26 04:07:44 +02:00
issue-52663-trait-object.stderr Remove box syntax from most places in src/test outside of the issues dir 2021-09-26 04:07:44 +02:00
issue-52669.rs Remove feature(nll) when compare mode is sufficient 2019-05-12 18:46:43 +01:00
issue-52669.stderr Use larger span for adjustments on method calls 2021-09-25 10:00:41 -05:00
issue-52742.base.stderr Move some tests with compare-mode=nll output to revisions 2022-04-05 11:42:41 -04:00
issue-52742.nll.stderr Move some tests with compare-mode=nll output to revisions 2022-04-05 11:42:41 -04:00
issue-52742.rs Move some tests with compare-mode=nll output to revisions 2022-04-05 11:42:41 -04: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 Simplify for loop desugar 2021-11-21 08:15:21 -06: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 Use larger span for adjustments on method calls 2021-09-25 10:00:41 -05: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.base.stderr Move some tests with compare-mode=nll output to revisions 2022-04-05 11:42:41 -04:00
issue-55394.nll.stderr Move some tests with compare-mode=nll output to revisions 2022-04-05 11:42:41 -04:00
issue-55394.rs Move some tests with compare-mode=nll output to revisions 2022-04-05 11:42:41 -04:00
issue-55401.base.stderr Move some tests with compare-mode=nll output to revisions 2022-04-05 11:42:41 -04:00
issue-55401.nll.stderr Move some tests with compare-mode=nll output to revisions 2022-04-05 11:42:41 -04:00
issue-55401.rs Move some tests with compare-mode=nll output to revisions 2022-04-05 11:42:41 -04: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-55825-const-fn.rs Update tests after feature stabilization 2022-03-07 08:47:18 -08: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 Don't suggest replacing region with 'static in NLL 2021-10-03 21:53:48 -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 Use larger span for adjustments on method calls 2021-09-25 10:00:41 -05:00
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 Use larger span for adjustments on method calls 2021-09-25 10:00:41 -05:00
issue-63154-normalize.rs Update src/test/ui/nll/issue-63154-normalize.rs 2019-10-07 10:19:38 +02:00
issue-67007-escaping-data.rs Ensure that early-bound function lifetimes are always 'local' 2021-12-31 18:42:54 -05:00
issue-67007-escaping-data.stderr Ensure that early-bound function lifetimes are always 'local' 2021-12-31 18:42:54 -05: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
issue-73159-rpit-static.rs Revert "Auto merge of #93893 - oli-obk:sad_revert, r=oli-obk" 2022-03-28 16:27:14 +00:00
issue-73159-rpit-static.stderr Revert "Auto merge of #93893 - oli-obk:sad_revert, r=oli-obk" 2022-03-28 16:27:14 +00:00
issue-78561.rs Add test for issue #78561 2021-10-21 10:11:33 +00:00
issue-95272.rs Handle reporting invariance of fn pointer 2022-04-04 19:37:14 -07:00
issue-95272.stderr Handle reporting invariance of fn pointer 2022-04-04 19:37:14 -07:00
lint-no-err.rs add tests for #94502 2022-03-07 07:35:20 +01:00
lint-no-err.stderr add tests for #94502 2022-03-07 07:35:20 +01: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 Use larger span for adjustments on method calls 2021-09-25 10:00:41 -05: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
lub-if.base.stderr Move some tests with compare-mode=nll output to revisions 2022-04-05 11:42:41 -04:00
lub-if.nll.stderr Move some tests with compare-mode=nll output to revisions 2022-04-05 11:42:41 -04:00
lub-if.rs Move some tests with compare-mode=nll output to revisions 2022-04-05 11:42:41 -04:00
lub-match.base.stderr Move some tests with compare-mode=nll output to revisions 2022-04-05 11:42:41 -04:00
lub-match.nll.stderr Move some tests with compare-mode=nll output to revisions 2022-04-05 11:42:41 -04:00
lub-match.rs Move some tests with compare-mode=nll output to revisions 2022-04-05 11:42:41 -04: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 Fix debugger stepping behavior around match expressions 2021-08-25 15:17:22 -04:00
match-cfg-fake-edges2.stderr Fix debugger stepping behavior around match expressions 2021-08-25 15:17:22 -04: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 Tweak move error 2022-03-03 21:21:57 +00: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 Fix debugger stepping behavior around match expressions 2021-08-25 15:17:22 -04:00
match-on-borrowed.stderr Fix debugger stepping behavior around match expressions 2021-08-25 15:17:22 -04: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 Ensure that early-bound function lifetimes are always 'local' 2021-12-31 18:42:54 -05:00
mir_check_cast_reify.rs Update tests 2019-01-17 20:39:06 -06:00
mir_check_cast_reify.stderr Don't suggest replacing region with 'static in NLL 2021-10-03 21:53:48 -05:00
mir_check_cast_unsafe_fn.rs Update tests 2019-01-17 20:39:06 -06:00
mir_check_cast_unsafe_fn.stderr Don't suggest replacing region with 'static in NLL 2021-10-03 21:53:48 -05:00
mir_check_cast_unsize.rs Update tests 2019-01-17 20:39:06 -06:00
mir_check_cast_unsize.stderr Don't suggest replacing region with 'static in NLL 2021-10-03 21:53:48 -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 Remove textual span from diagnostic string 2021-10-13 10:53:44 +00: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 Ensure that early-bound function lifetimes are always 'local' 2021-12-31 18:42:54 -05:00
outlives-suggestion-simple.polonius.stderr bless trivial polonius diagnostics changes 2021-08-03 20:29:30 +02:00
outlives-suggestion-simple.rs Ensure that early-bound function lifetimes are always 'local' 2021-12-31 18:42:54 -05:00
outlives-suggestion-simple.stderr Ensure that early-bound function lifetimes are always 'local' 2021-12-31 18:42:54 -05: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
ref-suggestion.rs Move some tests to more reasonable directories 2021-11-14 14:38:42 -03:00
ref-suggestion.stderr Move some tests to more reasonable directories 2021-11-14 14:38:42 -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.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 Use larger span for adjustments on method calls 2021-09-25 10:00:41 -05: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 Remove textual span from diagnostic string 2021-10-13 10:53:44 +00:00
type-alias-free-regions.base.stderr Move some tests with compare-mode=nll output to revisions 2022-04-05 11:42:41 -04:00
type-alias-free-regions.nll.stderr Move some tests with compare-mode=nll output to revisions 2022-04-05 11:42:41 -04:00
type-alias-free-regions.rs Move some tests with compare-mode=nll output to revisions 2022-04-05 11:42:41 -04: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 Format invariance notes with backticks 2022-04-04 20:26:31 -07: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 Format invariance notes with backticks 2022-04-04 20:26:31 -07: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 Format invariance notes with backticks 2022-04-04 20:26:31 -07:00