Skip to content

Commit 5fb5a94

Browse files
committed
core: Warning police
1 parent bfd3cd8 commit 5fb5a94

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/libcore/task/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ use result::Result;
3939
use comm::{stream, Chan, GenericChan, GenericPort, Port};
4040
use prelude::*;
4141
use result;
42-
use task::rt::{task_id, sched_id, rust_task};
42+
use task::rt::{task_id, sched_id};
4343
use util;
4444
use util::replace;
4545
use unstable::finally::Finally;

src/libcore/unstable/lang.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,9 @@ use str;
1717
use sys;
1818
use unstable::exchange_alloc;
1919
use cast::transmute;
20+
#[cfg(not(stage0))]
2021
use rt::{context, OldTaskContext};
22+
#[cfg(not(stage0))]
2123
use rt::local_services::borrow_local_services;
2224

2325
#[allow(non_camel_case_types)]

0 commit comments

Comments
 (0)