]> git.lizzy.rs Git - rust.git/commitdiff
Auto merge of #41515 - eddyb:non-static-assoc-const, r=nikomatsakis
authorbors <bors@rust-lang.org>
Mon, 8 May 2017 23:02:30 +0000 (23:02 +0000)
committerbors <bors@rust-lang.org>
Mon, 8 May 2017 23:02:30 +0000 (23:02 +0000)
rustc: treat const bodies like fn bodies in middle::region.

Allows `T::ASSOC_CONST` to be used without a `T: 'static` bound.

cc @rust-lang/compiler @rust-lang/lang


Trivial merge