]> git.lizzy.rs Git - rust.git/commit - src/tools/clippy
Auto merge of #52925 - RalfJung:sanity_check, r=oli-obk
authorbors <bors@rust-lang.org>
Fri, 3 Aug 2018 06:34:16 +0000 (06:34 +0000)
committerbors <bors@rust-lang.org>
Fri, 3 Aug 2018 06:34:16 +0000 (06:34 +0000)
commit4dae47051315793d4d4d043b4b8b03c51e3dc877
tree29d9510d59cbf02a65e7396b7cc82a217d3f7a8c
parent7e8ca9f8bd8325398e76bc30ac09aab138bbb127
parent222dd1794452308724bfdf2842d50718a710b22c
Auto merge of #52925 - RalfJung:sanity_check, r=oli-obk

check_const: use the same ParamEnv as codegen for statics

Fixes at least part of https://github.com/rust-lang/rust/issues/52849 (my CTFE-stress benchmark). Note that I do not know what I am doing here, this is just based on hints from @oli-obk.

r? @oli-obk
src/librustc_lint/builtin.rs