]> git.lizzy.rs Git - rust.git/commit
Parse fully-qualified associated types in generics without whitespace
authorP1start <rewi-github@whanau.org>
Tue, 23 Dec 2014 00:13:49 +0000 (13:13 +1300)
committerP1start <rewi-github@whanau.org>
Thu, 25 Dec 2014 05:58:47 +0000 (18:58 +1300)
commitd9769ec3834b62318da892925dc24c8883bb1635
tree0455c075f4c1d37151c726fbbf6621e55448c525
parent7e11b22713aebd28ceaaa2ecef937c9b9d247c2f
Parse fully-qualified associated types in generics without whitespace

This breaks code that looks like this:

    let x = foo as bar << 13;

Change such code to look like this:

    let x = (foo as bar) << 13;

Closes #17362.

[breaking-change]
src/libcollections/bit.rs
src/libcore/hash/sip.rs
src/librand/lib.rs
src/libstd/io/net/ip.rs
src/libstd/sys/common/net.rs
src/libsyntax/parse/parser.rs
src/libtime/lib.rs
src/libunicode/u_str.rs
src/test/bench/shootout-reverse-complement.rs
src/test/run-pass/parse-assoc-type-lt.rs [new file with mode: 0644]