librustc: Remove the const
declaration form everywhere
This commit is contained in:
parent
eba3367404
commit
85c9fc6f8f
157 changed files with 1031 additions and 1033 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue