mozilla/rust — pull request #13083 by FlaPer87 (2014-03-22 18:52:13+00:00)
Title: rustc: Completely forbid borrows of unsafe statics

It was possible to borrow unsafe static items in static initializers.
This patch implements a small `Visitor` that walks static initializer's
expressions and checks borrows aliasability.

Fixes #13005