Fix some warnings.
This commit is contained in:
parent
fb32ddf1a2
commit
8cefcc0ac5
@ -12,7 +12,7 @@
|
||||
|
||||
use context::Ctx;
|
||||
use std::hashmap::HashMap;
|
||||
use std::{io, libc, os, result, run, str};
|
||||
use std::{io, libc, os, run, str};
|
||||
use extra::tempfile::mkdtemp;
|
||||
use std::run::ProcessOutput;
|
||||
use installed_packages::list_installed_packages;
|
||||
|
@ -685,7 +685,7 @@ pub fn expand_syntax_ext(ecx: @ExtCtxt, sp: span,
|
||||
};
|
||||
cx.fmtsp = efmt.span;
|
||||
let fmt = expr_to_str(ecx, efmt,
|
||||
~"first argument to ifmt! must be a string literal.");
|
||||
"first argument to ifmt! must be a string literal.");
|
||||
|
||||
let mut err = false;
|
||||
do parse::parse_error::cond.trap(|m| {
|
||||
|
Loading…
x
Reference in New Issue
Block a user