Files
rust/src/libsyntax
Patrick Walton 857ba988f1 libsyntax: Don't strip types and lifetimes from single-segment paths in
patterns.

This breaks code like:

    fn main() {
        match Some("foo") {
            None::<int> => {}
            Some(_) => {}
        }
    }

Change this code to not contain a type error. For example:

    fn main() {
        match Some("foo") {
            None::<&str> => {}
            Some(_) => {}
        }
    }

Closes #16353.

[breaking-change]
2014-08-12 10:33:16 -07:00
..
2014-07-19 20:38:00 -07:00
2014-07-09 00:49:54 -07:00
2014-07-31 02:01:16 +02:00
2014-08-01 19:42:52 -04:00
2014-06-26 08:56:49 +02:00
2014-07-20 12:40:08 +02:00