rust/src/libstd
Patrick Walton 467bea04fa librustc: Forbid inherent implementations that aren't adjacent to the
type they provide an implementation for.

This breaks code like:

    mod foo {
        struct Foo { ... }
    }

    impl foo::Foo {
        ...
    }

Change this code to:

    mod foo {
        struct Foo { ... }

        impl Foo {
            ...
        }
    }

Additionally, if you used the I/O path extension methods `stat`,
`lstat`, `exists`, `is_file`, or `is_dir`, note that these methods have
been moved to the the `std::io::fs::PathExtensions` trait. This breaks
code like:

    fn is_it_there() -> bool {
        Path::new("/foo/bar/baz").exists()
    }

Change this code to:

    use std::io::fs::PathExtensions;

    fn is_it_there() -> bool {
        Path::new("/foo/bar/baz").exists()
    }

Closes #17059.

RFC #155.

[breaking-change]
2014-09-13 02:07:39 -07:00
..
collections std: Fix overflow of HashMap's capacity 2014-09-04 23:22:32 +01:00
io librustc: Forbid inherent implementations that aren't adjacent to the 2014-09-13 02:07:39 -07:00
num librustc: Forbid external crates, imports, and/or items from being 2014-08-16 19:32:25 -07:00
path librustc: Forbid inherent implementations that aren't adjacent to the 2014-09-13 02:07:39 -07:00
rand Unify non-snake-case lints and non-uppercase statics lints 2014-08-30 09:10:05 +12:00
rt Fix spelling errors and capitalization. 2014-09-03 23:10:38 -04:00
sync libsyntax: Remove the use foo = bar syntax from the language in favor 2014-08-18 09:19:10 -07:00
time Fix spelling errors and capitalization. 2014-09-03 23:10:38 -04:00
ascii.rs Use temp vars for implicit coercion to ^[T] 2014-08-26 12:37:45 +12:00
bitflags.rs Use {} for bitflags! definition and invocations 2014-09-05 03:33:00 +10:00
c_vec.rs std: Rename slice::Vector to Slice 2014-08-13 11:30:14 -07:00
dynamic_lib.rs Unify non-snake-case lints and non-uppercase statics lints 2014-08-30 09:10:05 +12:00
failure.rs Remove cross-borrowing for traits. 2014-09-03 08:32:35 +12:00
fmt.rs Center alignment for fmt 2014-09-04 07:38:53 -07:00
from_str.rs std: Rename the ToStr trait to ToString, and to_str to to_string. 2014-07-08 13:01:43 -07:00
gc.rs libstd: set baseline stability levels. 2014-06-30 22:49:18 -07:00
hash.rs mark std::hash experimental 2014-07-11 14:25:15 -07:00
lib.rs auto merge of #16986 : bjz/rust/bitflags, r=alexcrichton 2014-09-04 20:21:02 +00:00
macros.rs std: Use concat! and stringify! to simplify the most common assert! case. 2014-08-23 16:30:44 +02:00
os.rs Unify non-snake-case lints and non-uppercase statics lints 2014-08-30 09:10:05 +12:00
prelude.rs libstd: Add Fn/FnMut/FnOnce to the prelude. 2014-08-19 13:57:10 -07:00
rtdeps.rs Fix spelling errors and capitalization. 2014-09-03 23:10:38 -04:00
task.rs std: Clarify what timers do with zero and negative durations 2014-08-13 11:31:47 -07:00
to_string.rs Rename to_str to to_string 2014-07-21 09:54:52 -07:00