]> git.lizzy.rs Git - rust.git/commit
Auto merge of #36203 - petrochenkov:uvsdot, r=nrc
authorbors <bors@rust-lang.org>
Sun, 4 Sep 2016 21:03:01 +0000 (14:03 -0700)
committerGitHub <noreply@github.com>
Sun, 4 Sep 2016 21:03:01 +0000 (14:03 -0700)
commit91f057de35066d0a34102bd0673b56684509b93d
tree6255961cbdaab893926148f0919c39be1c279e14
parent9cc430d2cf90a38880e02bb319a5563cbe07a40c
parente05e74ac831bc8438f5daeb98432a29285ed9514
Auto merge of #36203 - petrochenkov:uvsdot, r=nrc

Replace `_, _` with `..` in patterns

This is how https://github.com/rust-lang/rust/issues/33627 looks in action.

Looks especially nice in leftmost/rightmost positions `(first, ..)`/`(.., last)`.
I haven't touched libsyntax intentionally because the feature is still unstable.
src/librustc/session/config.rs
src/librustc_driver/lib.rs
src/librustc_metadata/creader.rs
src/librustc_mir/transform/qualify_consts.rs
src/librustc_save_analysis/dump_visitor.rs
src/librustc_save_analysis/lib.rs