0f73bf32fe
This fix suppresses dead_code warnings from code generated by regex! when the result of regex! is unused. Correct behavior should be a single unused variable warning. Regression tests are included for both `let` and `static` bound regex! values. |
||
---|---|---|
.. | ||
gated-phase.rs | ||
macro-crate-unexported-macro.rs | ||
macro-crate-unknown-crate.rs | ||
phase-syntax-doesnt-resolve.rs | ||
syntax-extension-fourcc-bad-len.rs | ||
syntax-extension-fourcc-invalid-endian.rs | ||
syntax-extension-fourcc-non-ascii-str.rs | ||
syntax-extension-fourcc-non-literal.rs | ||
syntax-extension-fourcc-unsupported-literal.rs | ||
syntax-extension-hexfloat-bad-lits.rs | ||
syntax-extension-hexfloat-bad-types.rs | ||
syntax-extension-regex-invalid.rs | ||
syntax-extension-regex-unused-static.rs | ||
syntax-extension-regex-unused.rs |