aboutsummaryrefslogtreecommitdiff
path: root/src/lib/ExtFmt.rs
diff options
context:
space:
mode:
authorMarijn Haverbeke <[email protected]>2011-04-19 12:02:06 +0200
committerMarijn Haverbeke <[email protected]>2011-04-19 16:57:13 +0200
commit6511d471bafd446026462ce0dba8ef5e2ebf462f (patch)
tree7d1be7a2ed367965ef50b1e6f12c87e74391f750 /src/lib/ExtFmt.rs
parentadd log_err to rustc (diff)
downloadrust-6511d471bafd446026462ce0dba8ef5e2ebf462f.tar.xz
rust-6511d471bafd446026462ce0dba8ef5e2ebf462f.zip
replace error logging with log_err in stdlib and rustc
Diffstat (limited to 'src/lib/ExtFmt.rs')
-rw-r--r--src/lib/ExtFmt.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/ExtFmt.rs b/src/lib/ExtFmt.rs
index 64157cda..fb7c4b9a 100644
--- a/src/lib/ExtFmt.rs
+++ b/src/lib/ExtFmt.rs
@@ -96,7 +96,7 @@ mod CT {
if (_str.eq(curr, "%")) {
i += 1u;
if (i >= lim) {
- log "unterminated conversion at end of string";
+ log_err "unterminated conversion at end of string";
fail;
}
auto curr2 = _str.substr(s, i, 1u);
@@ -264,7 +264,7 @@ mod CT {
fn parse_type(str s, uint i, uint lim) -> tup(ty, uint) {
if (i >= lim) {
- log "missing type in conversion";
+ log_err "missing type in conversion";
fail;
}
@@ -290,7 +290,7 @@ mod CT {
} else if (_str.eq(tstr, "t")) {
t = ty_bits;
} else {
- log "unknown type in conversion";
+ log_err "unknown type in conversion";
fail;
}