]> git.lizzy.rs Git - rust.git/commit
Allow mutable slices in statics.
authorxales <xales@naveria.com>
Sat, 25 Jan 2014 17:48:57 +0000 (12:48 -0500)
committerFlavio Percoco <flaper87@gmail.com>
Thu, 6 Mar 2014 21:50:39 +0000 (22:50 +0100)
commit8b8d41d28a2a2918dd6f08c16034bc5ae07bee81
tree3cf4529f4bca5f63c8585c4166feca34b0079c32
parent1eb3f63d9d6b2239a6907b8dec5ee8bb371e3e0e
Allow mutable slices in statics.

Fixes #11411
src/librustc/middle/borrowck/check_loans.rs
src/librustc/middle/check_const.rs
src/librustc/middle/trans/consts.rs
src/test/compile-fail/issue-11411.rs [new file with mode: 0644]
src/test/run-pass/issue-11411.rs [new file with mode: 0644]