about summary refs log tree commit diff
path: root/src/test/debuginfo/enum-thinlto.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2019-08-03 20:11:25 +0000
committerbors <bors@rust-lang.org>2019-08-03 20:11:25 +0000
commit6e0d27d9368e2982bef8e1c4ac14d622c5ad018e (patch)
treec18d17348428ddb0ed94c34003297c090008ba36 /src/test/debuginfo/enum-thinlto.rs
parent452087b4bf18cece2d52d7cd8c9147195e5404bf (diff)
parentb289f6f2a402e33e70804522f6b949d0e847fb55 (diff)
downloadrust-6e0d27d9368e2982bef8e1c4ac14d622c5ad018e.tar.gz
rust-6e0d27d9368e2982bef8e1c4ac14d622c5ad018e.zip
Auto merge of #63059 - Centril:sound-bind-by-move, r=matthewjasper
Make `#![feature(bind_by_move_pattern_guards)]` sound without `#[feature(nll)]`

Implements https://github.com/rust-lang/rust/issues/15287#issuecomment-507054617 making `#![feature(bind_by_move_pattern_guards)]]` sound without also having `#![feature(nll)]`. The logic here is that if we see a `match` guard, we will refuse to downgrade NLL errors to warnings. This is in preparation for hopefully stabilizing the former feature in https://github.com/rust-lang/rust/pull/63118.

As fall out from the implementation we also:
Fixes https://github.com/rust-lang/rust/issues/31287
Fixes https://github.com/rust-lang/rust/issues/27282

r? @matthewjasper
Diffstat (limited to 'src/test/debuginfo/enum-thinlto.rs')
0 files changed, 0 insertions, 0 deletions