about summary refs log tree commit diff
path: root/src/test/codegen/stack-alloc-string-slice.rs
diff options
context:
space:
mode:
authorJakub Wieczorek <jakub@jakub.cc>2014-07-13 15:12:47 +0200
committerJakub Wieczorek <jakub@jakub.cc>2014-07-19 01:09:22 +0200
commitfba1194841fd8f31c3b93315b2cb53d1ce87fe98 (patch)
tree72fc38463aa76578db29852e6ad7c7762abf1aa4 /src/test/codegen/stack-alloc-string-slice.rs
parent7502b4cd6b10693cec6862f5951b1adf0c7657ab (diff)
downloadrust-fba1194841fd8f31c3b93315b2cb53d1ce87fe98.tar.gz
rust-fba1194841fd8f31c3b93315b2cb53d1ce87fe98.zip
Add support for patterns referencing non-trivial statics
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.
Diffstat (limited to 'src/test/codegen/stack-alloc-string-slice.rs')
0 files changed, 0 insertions, 0 deletions