rust/src/libcoretest
Patrick Walton caa564bea3 librustc: Stop desugaring for expressions and translate them directly.
This makes edge cases in which the `Iterator` trait was not in scope
and/or `Option` or its variants were not in scope work properly.

This breaks code that looks like:

    struct MyStruct { ... }

    impl MyStruct {
        fn next(&mut self) -> Option<int> { ... }
    }

    for x in MyStruct { ... } { ... }

Change ad-hoc `next` methods like the above to implementations of the
`Iterator` trait. For example:

    impl Iterator<int> for MyStruct {
        fn next(&mut self) -> Option<int> { ... }
    }

Closes #15392.

[breaking-change]
2014-07-24 18:58:12 -07:00
..
fmt
num Change Shl<T, T> for Int to Shl<uint, T> 2014-07-04 09:57:04 +01:00
any.rs
atomics.rs
cell.rs
char.rs ignore-lexer-test to broken files and remove some tray hyphens 2014-07-21 10:59:58 -07:00
clone.rs
cmp.rs
finally.rs
iter.rs librustc: Stop desugaring for expressions and translate them directly. 2014-07-24 18:58:12 -07:00
lib.rs
mem.rs
ops.rs
option.rs
ptr.rs Deprecated str::raw::from_c_str 2014-07-24 07:25:43 -07:00
raw.rs
result.rs
tuple.rs