about summary refs log tree commit diff
path: root/src/rt/rust_debug.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2013-05-11 11:49:50 -0700
committerbors <bors@rust-lang.org>2013-05-11 11:49:50 -0700
commite478cedb0ab0bdb7e00a3a60a6946915af0fdd5a (patch)
tree33adb76318393876fa8c9f78964873807b38deb7 /src/rt/rust_debug.cpp
parent96de2b0273e828edf45d4b3e6c4dc5c3cf665fd5 (diff)
parent912a352712b1b97009a11e3c3f7c4ba7360d9eaf (diff)
downloadrust-e478cedb0ab0bdb7e00a3a60a6946915af0fdd5a.tar.gz
rust-e478cedb0ab0bdb7e00a3a60a6946915af0fdd5a.zip
auto merge of #6385 : huonw/rust/rustc-dtor-struct-match, r=nikomatsakis
**Caveat**: With the current commit, this check only works for `match`s, the checks (incorrectly) do not run for patterns in `let`s, and invalid/unsafe code compiles.

I don't know how to fix this, I experimented with some things to try to make let patterns and match patterns run on the same code (since this would presumably fix many of the other unsoundness issues of let-patterns, e.g. #6225), but I don't understand enough of the code. (I think I heard someone talking about a fix for `let` being in progress?)

Fixes #6344 and #6341.
Diffstat (limited to 'src/rt/rust_debug.cpp')
0 files changed, 0 insertions, 0 deletions