]> git.lizzy.rs Git - rust.git/commitdiff
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)
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


Trivial merge