1
Fork 0

librustc: Remove the const declaration form everywhere

This commit is contained in:
Patrick Walton 2013-03-22 14:00:15 -07:00
parent eba3367404
commit 85c9fc6f8f
157 changed files with 1031 additions and 1033 deletions

View file

@ -139,7 +139,7 @@ fn add_pkg_module(ctx: @mut ReadyCtx, m: ast::_mod) -> ast::_mod {
let item = quote_item! (
mod __pkg {
extern mod rustpkg (vers="0.6");
const listeners : &[rustpkg::Listener] = $listeners;
static listeners : &[rustpkg::Listener] = $listeners;
#[main]
fn main() {
rustpkg::run(listeners);