about summary refs log tree commit diff
path: root/src/test/incremental/thinlto
diff options
context:
space:
mode:
authorFelix S. Klock II <pnkfelix@pnkfx.org>2018-02-26 15:45:13 +0100
committerFelix S. Klock II <pnkfelix@pnkfx.org>2018-05-03 14:03:16 +0200
commita72790d879a6266b4dc75ab3014c00735cf67610 (patch)
tree8223aa135c778fa828739d95b0b52806531aef3f /src/test/incremental/thinlto
parentb00db7c75b85d521a17372750512111657baaea2 (diff)
downloadrust-a72790d879a6266b4dc75ab3014c00735cf67610.tar.gz
rust-a72790d879a6266b4dc75ab3014c00735cf67610.zip
When using NLL, implicitly borrow match bindings for any guard,
deref'ing such borrows within that guard.

Review feedback: Add comment noting a point where we may or may not
need to add a cast when we finish the work on rust-lang/rust#27282.

Review feedback: Pass a newtype'd `ArmHasGuard` rather than a raw boolean.

Review feedback: toggle "ref binding in guards" semantics via specific
method. (This should ease a follow-up PR that just unconditionally
adopts the new semantics.)
Diffstat (limited to 'src/test/incremental/thinlto')
0 files changed, 0 insertions, 0 deletions