From: bors Date: Sat, 19 Jul 2014 21:46:37 +0000 (+0000) Subject: auto merge of #15650 : jakub-/rust/patterns-statics, r=pcwalton X-Git-Url: https://git.lizzy.rs/?a=commitdiff_plain;h=8672a235dd5b4677a6ff0ede1e3ce39b076b5414;p=rust.git auto merge of #15650 : jakub-/rust/patterns-statics, r=pcwalton This is accomplished by rewriting static expressions into equivalent patterns. This way, patterns referencing static variables can both participate in exhaustiveness analysis as well as be compiled down into the appropriate branch of the decision trees that match expressions are codegened to. Fixes #6533. Fixes #13626. Fixes #13731. Fixes #14576. Fixes #15393. --- 8672a235dd5b4677a6ff0ede1e3ce39b076b5414