diff options
| author | Graydon Hoare <graydon@mozilla.com> | 2012-09-21 18:10:45 -0700 |
|---|---|---|
| committer | Graydon Hoare <graydon@mozilla.com> | 2012-09-21 18:11:43 -0700 |
| commit | dffe188991325b4e803fdd0da7c1563ce0fa27f4 (patch) | |
| tree | e8f65929b804a38550dc9fdcf24021e6a7920304 /src/libcore/path.rs | |
| parent | 60443d48881bfbc7a305e807390e74b327f100b8 (diff) | |
| download | rust-dffe188991325b4e803fdd0da7c1563ce0fa27f4.tar.gz rust-dffe188991325b4e803fdd0da7c1563ce0fa27f4.zip | |
Install new pub/priv/export rules as defaults, old rules accessible under #[legacy_exports];
Diffstat (limited to 'src/libcore/path.rs')
| -rw-r--r-- | src/libcore/path.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libcore/path.rs b/src/libcore/path.rs index 331ff57116a..49909208d75 100644 --- a/src/libcore/path.rs +++ b/src/libcore/path.rs @@ -484,6 +484,7 @@ fn test_double_slash_collapsing() } mod posix { + #[legacy_exports]; #[cfg(test)] fn mk(s: &str) -> PosixPath { from_str::<PosixPath>(s) } @@ -574,6 +575,7 @@ mod posix { // Various windows helpers, and tests for the impl. mod windows { + #[legacy_exports]; #[inline(always)] pure fn is_sep(u: u8) -> bool { |
