about summary refs log tree commit diff
path: root/src/libstd/logging.rs
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2013-09-16 23:34:40 -0700
committerAlex Crichton <alex@alexcrichton.com>2013-09-18 11:07:22 -0700
commit817576ee7001244da68a4ee315ebdc1163d4e648 (patch)
treeffa6ecd790e899105cfa3f2c2da1b4520a062f72 /src/libstd/logging.rs
parente02313a172acca34bd29e10cdd10f7495664694e (diff)
Register new snapshots
Diffstat (limited to 'src/libstd/logging.rs')
-rw-r--r--src/libstd/logging.rs11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/libstd/logging.rs b/src/libstd/logging.rs
index b39b3102a34..1a463a499cb 100644
--- a/src/libstd/logging.rs
+++ b/src/libstd/logging.rs
@@ -37,17 +37,6 @@ pub fn console_off() {
     rt::logging::console_off();
 }
 
-#[cfg(not(test), stage0)]
-#[lang="log_type"]
-#[allow(missing_doc)]
-pub fn log_type<T>(_level: u32, object: &T) {
-    use sys;
-
-    // XXX: Bad allocation
-    let msg = sys::log_str(object);
-    newsched_log_str(msg);
-}
-
 fn newsched_log_str(msg: ~str) {
     use rt::task::Task;
     use rt::local::Local;