]> git.lizzy.rs Git - rust.git/commit
Auto merge of #5672 - phansch:regression-test-env, r=yaahc
authorbors <bors@rust-lang.org>
Tue, 2 Jun 2020 12:40:20 +0000 (12:40 +0000)
committerbors <bors@rust-lang.org>
Tue, 2 Jun 2020 12:40:20 +0000 (12:40 +0000)
commit153ef1c76f32f750df421a595596f3b9fd54f6cd
tree78e4b65058b3780566d0343856993a44bfa5f3d3
parent5cb9ef390aea2a1adaae4b9836bb7a3a75c47f25
parentae0ce2255aea7e896cbfc0330c9d4f17ed66b55f
Auto merge of #5672 - phansch:regression-test-env, r=yaahc

Add regression test for `string_lit_as_bytes` issue

Closes #5619

Before the fix in https://github.com/rust-lang/rust/pull/72637, `string_lit_as_bytes` was incorrectly triggering on the `env!` macro. With the fix merged, this test makes sure that the lint is not triggering anymore.

changelog: none