]> git.lizzy.rs Git - rust.git/commit
auto merge of #7291 : alexcrichton/rust/static-mut, r=huonw
authorbors <bors@rust-lang.org>
Tue, 25 Jun 2013 08:59:05 +0000 (01:59 -0700)
committerbors <bors@rust-lang.org>
Tue, 25 Jun 2013 08:59:05 +0000 (01:59 -0700)
commitb11346bb5d2659313eb96f3108137f01239785c9
tree22512167bcef6503c310e87ca74c40a43fcef07c
parent5a089c252e1645c1b321c8b6811f89ae3fea4bd2
parentb94f89fffc0c31a2e9048a824a66ff121c908818
auto merge of #7291 : alexcrichton/rust/static-mut, r=huonw

This adds both `static mut` items and `static mut` foreign items. This involved changing far less code than I thought it was going to, but the tests seem to pass and the variables seem functional.

I'm more than willing to write more tests, so suggestions are welcome!

Closes #553
src/librustc/metadata/decoder.rs
src/librustc/metadata/encoder.rs
src/librustc/middle/resolve.rs
src/librustc/middle/ty.rs
src/librustc/middle/typeck/check/mod.rs
src/libsyntax/parse/parser.rs