rust/src/test/ui/nll
bors 7f2baba121 Auto merge of #48092 - eddyb:discriminate-the-void, r=nikomatsakis
rustc_mir: insert a dummy access to places being matched on, when building MIR.

Fixes #47412 by adding a `_dummy = Discriminant(place)` before each `match place {...}`.

r? @nikomatsakis
2018-02-11 02:42:19 +00:00
..
closure-requirements Updated tests with fixed span location. 2018-01-27 11:46:22 +00:00
ty-outlives Add GenericParam, refactor Generics in ast, hir, rustdoc 2017-12-21 13:38:10 +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-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 rustc_mir: insert a dummy access to places being matched on, when building MIR. 2018-02-09 23:25:10 +02:00
borrowed-referent-issue-38899.rs remove unnecessary compile-flags comments 2018-01-12 10:38:28 -05:00
borrowed-referent-issue-38899.stderr remove unnecessary compile-flags comments 2018-01-12 10:38:28 -05:00
capture-ref-in-struct.rs when using feature(nll), don't warn about AST-based region errors 2017-12-20 14:38:13 -05:00
capture-ref-in-struct.stderr Updated tests with fixed span location. 2018-01-27 11:46:22 +00: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 convert region-liveness-drop{-,-no-}may-dangle.rs into ui tests 2017-12-20 14:38:13 -05:00
drop-no-may-dangle.stderr Updated tests with fixed span location. 2018-01-27 11:46:22 +00:00
generator-distinct-lifetime.rs update test case 2018-01-11 17:36:53 -05:00
get_default.rs Add three point error handling to borrowck 2017-12-20 14:38:10 -05:00
get_default.stderr Add three point error handling to borrowck 2017-12-20 14:38:10 -05:00
guarantor-issue-46974.rs Updated other tests affected by change. 2018-01-10 19:12:57 +00:00
guarantor-issue-46974.stderr Updated other tests affected by change. 2018-01-10 19:12:57 +00:00
issue-47022.rs resolve type and region variables in "NLL dropck" 2018-01-10 10:15:08 -05:00
maybe-initialized-drop-implicit-fragment-drop.rs Add three point error handling to borrowck 2017-12-20 14:38:10 -05:00
maybe-initialized-drop-implicit-fragment-drop.stderr Updated tests with fixed span location. 2018-01-27 11:46:22 +00: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
maybe-initialized-drop-with-fragment.rs Add three point error handling to borrowck 2017-12-20 14:38:10 -05:00
maybe-initialized-drop-with-fragment.stderr Updated tests with fixed span location. 2018-01-27 11:46:22 +00:00
maybe-initialized-drop-with-uninitialized-fragments.rs Add three point error handling to borrowck 2017-12-20 14:38:10 -05:00
maybe-initialized-drop-with-uninitialized-fragments.stderr Updated tests with fixed span location. 2018-01-27 11:46:22 +00:00
maybe-initialized-drop.rs Add three point error handling to borrowck 2017-12-20 14:38:10 -05:00
maybe-initialized-drop.stderr Updated tests with fixed span location. 2018-01-27 11:46:22 +00: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 Fix new test from rebase. 2018-01-27 11:46:28 +00:00
trait-associated-constant.rs mir: Fix DefiningTy::Const 2018-02-06 23:42:05 -05:00
trait-associated-constant.stderr Update trait-associated-const test to new format 2018-02-07 00:46:36 -05:00