rust/src/test/ui/nll
kennytm 4074bafcf1
Rollup merge of #48988 - bobtwinkles:add_48070_test, r=nikomatsakis
Add a test for #48070

Resolves #48070.
The bug itself was fixed by #48770, but that PR didn't add a test for it.

r? @nikomatsakis
2018-03-15 00:15:52 +08:00
..
closure-requirements update tests 2018-03-14 00:53:24 +01:00
ty-outlives update tests 2018-03-14 00:53:24 +01:00
borrow-use-issue-46875.rs Make killing of out-of-scope borrows a pre-statement effect 2017-12-24 14:56:52 +02:00
borrowed-local-error.rs Remove nll-dump-cause flag and always track causes 2018-03-06 10:34:46 -03:00
borrowed-local-error.stderr update tests 2018-03-14 00:53:24 +01:00
borrowed-match-issue-45045.rs rustc_mir: insert a dummy access to places being matched on, when building MIR. 2018-02-09 23:25:10 +02:00
borrowed-match-issue-45045.stderr update tests 2018-03-14 00:53:24 +01:00
borrowed-referent-issue-38899.rs remove unnecessary compile-flags comments 2018-01-12 10:38:28 -05:00
borrowed-referent-issue-38899.stderr update tests 2018-03-14 00:53:24 +01:00
borrowed-temporary-error.rs Remove nll-dump-cause flag and always track causes 2018-03-06 10:34:46 -03:00
borrowed-temporary-error.stderr update tests 2018-03-14 00:53:24 +01:00
borrowed-universal-error-2.rs Remove nll-dump-cause flag and always track causes 2018-03-06 10:34:46 -03:00
borrowed-universal-error-2.stderr update tests 2018-03-14 00:53:24 +01:00
borrowed-universal-error.rs Remove nll-dump-cause flag and always track causes 2018-03-06 10:34:46 -03:00
borrowed-universal-error.stderr update tests 2018-03-14 00:53:24 +01:00
capture-ref-in-struct.rs Remove nll-dump-cause flag and always track causes 2018-03-06 10:34:46 -03:00
capture-ref-in-struct.stderr update tests 2018-03-14 00:53:24 +01:00
constant.rs get the DefiningTy from the body_owner_kind not type 2017-12-20 14:04:51 -05:00
drop-may-dangle.rs convert region-liveness-drop{-,-no-}may-dangle.rs into ui tests 2017-12-20 14:38:13 -05:00
drop-may-dangle.stderr convert region-liveness-drop{-,-no-}may-dangle.rs into ui tests 2017-12-20 14:38:13 -05:00
drop-no-may-dangle.rs Remove nll-dump-cause flag and always track causes 2018-03-06 10:34:46 -03:00
drop-no-may-dangle.stderr update tests 2018-03-14 00:53:24 +01:00
generator-distinct-lifetime.rs update test case 2018-01-11 17:36:53 -05:00
get_default.rs Remove nll-dump-cause flag and always track causes 2018-03-06 10:34:46 -03:00
get_default.stderr update tests 2018-03-14 00:53:24 +01:00
guarantor-issue-46974.rs Updated other tests affected by change. 2018-01-10 19:12:57 +00:00
guarantor-issue-46974.stderr update tests 2018-03-14 00:53:24 +01:00
issue-31567.rs add regression tests for various MIR bugs that get fixed 2018-03-13 11:22:07 -04:00
issue-31567.stderr update tests 2018-03-14 00:53:24 +01:00
issue-47022.rs resolve type and region variables in "NLL dropck" 2018-01-10 10:15:08 -05:00
issue-47470.rs add regression tests for various MIR bugs that get fixed 2018-03-13 11:22:07 -04:00
issue-47470.stderr update tests 2018-03-14 00:53:24 +01:00
issue-48070.rs Move 48070 test to ui 2018-03-13 14:52:11 -04:00
maybe-initialized-drop-implicit-fragment-drop.rs Remove nll-dump-cause flag and always track causes 2018-03-06 10:34:46 -03:00
maybe-initialized-drop-implicit-fragment-drop.stderr update tests 2018-03-14 00:53:24 +01:00
maybe-initialized-drop-uninitialized.rs Add must-compile-successfully comment to appropriate ui tests. 2017-12-10 21:14:57 +00:00
maybe-initialized-drop-uninitialized.stderr inform constraint generation using maybe-init 2017-12-04 08:51:11 -05:00
maybe-initialized-drop-with-fragment.rs Remove nll-dump-cause flag and always track causes 2018-03-06 10:34:46 -03:00
maybe-initialized-drop-with-fragment.stderr update tests 2018-03-14 00:53:24 +01:00
maybe-initialized-drop-with-uninitialized-fragments.rs Remove nll-dump-cause flag and always track causes 2018-03-06 10:34:46 -03:00
maybe-initialized-drop-with-uninitialized-fragments.stderr update tests 2018-03-14 00:53:24 +01:00
maybe-initialized-drop.rs Remove nll-dump-cause flag and always track causes 2018-03-06 10:34:46 -03:00
maybe-initialized-drop.stderr update tests 2018-03-14 00:53:24 +01:00
projection-return.rs impose inputs/ouputs on MIR after the fact 2017-12-15 10:27:53 -05:00
return-ref-mut-issue-46557.rs remove unnecessary compile-flags comments 2018-01-12 10:38:28 -05:00
return-ref-mut-issue-46557.stderr update tests 2018-03-14 00:53:24 +01:00
trait-associated-constant.rs mir: Fix DefiningTy::Const 2018-02-06 23:42:05 -05:00
trait-associated-constant.stderr update tests 2018-03-14 00:53:24 +01:00