]> git.lizzy.rs Git - rust.git/commit
Rollup merge of #54367 - spastorino:add-thread-local-static-borrow-test, r=pnkfelix
authorkennytm <kennytm@gmail.com>
Thu, 20 Sep 2018 13:36:36 +0000 (21:36 +0800)
committerkennytm <kennytm@gmail.com>
Thu, 20 Sep 2018 15:28:08 +0000 (23:28 +0800)
commitec085962c6f511c654575522309ef832e6d3160f
tree4fd13b95fb4dfd73fa4586217fa39e86e2581d5f
parente76ca54ea4999dd0367cc8d3311b2601af9e279b
parentae42e537dbfabafb1f1e36d975b1fed33032c6c1
Rollup merge of #54367 - spastorino:add-thread-local-static-borrow-test, r=pnkfelix

Add regression test for thread local static mut borrows

FIXME(#54366) - We probably shouldn't allow `#[thread_local] static mut` to get a `'static` lifetime, but for now, we should at least test the behavior that `rustc` currently has.