From 4a18d46130e13aad28fc072dafdd7e7b4baa8736 Mon Sep 17 00:00:00 2001 From: jmgrosen Date: Tue, 3 Sep 2013 16:11:00 -0700 Subject: Fixes #8881. condition! imports parent's pub identifiers --- src/libstd/c_str.rs | 2 ++ src/libstd/rt/io/mod.rs | 4 ++++ 2 files changed, 6 insertions(+) (limited to 'src/libstd') diff --git a/src/libstd/c_str.rs b/src/libstd/c_str.rs index 70b04e37ee1..8e7129578ee 100644 --- a/src/libstd/c_str.rs +++ b/src/libstd/c_str.rs @@ -29,6 +29,8 @@ pub enum NullByteResolution { condition! { // this should be &[u8] but there's a lifetime issue + // NOTE: this super::NullByteResolution should be NullByteResolution + // Change this next time the snapshot it updated. null_byte: (~[u8]) -> super::NullByteResolution; } diff --git a/src/libstd/rt/io/mod.rs b/src/libstd/rt/io/mod.rs index 116d240308a..a2002c989f0 100644 --- a/src/libstd/rt/io/mod.rs +++ b/src/libstd/rt/io/mod.rs @@ -385,6 +385,8 @@ impl ToStr for IoErrorKind { // Raised by `I/O` operations on error. condition! { // FIXME (#6009): uncomment `pub` after expansion support lands. + // NOTE: this super::IoError should be IoError + // Change this next time the snapshot it updated. /*pub*/ io_error: super::IoError -> (); } @@ -392,6 +394,8 @@ condition! { // Raised by `read` on error condition! { // FIXME (#6009): uncomment `pub` after expansion support lands. + // NOTE: this super::IoError should be IoError + // Change this next time the snapshot it updated. /*pub*/ read_error: super::IoError -> (); } -- cgit 1.4.1-3-g733a5