]> git.lizzy.rs Git - rust.git/commit
Rollup merge of #35446 - pcn:update-E0023-to-new-format, r=jonathandturner
authorJonathan Turner <jonathandturner@users.noreply.github.com>
Mon, 8 Aug 2016 20:25:56 +0000 (13:25 -0700)
committerGitHub <noreply@github.com>
Mon, 8 Aug 2016 20:25:56 +0000 (13:25 -0700)
commit7979da0783a0052cbcdbebd0594c5518eae7fb9c
treec7ba7ab6bca25d13340bd9a7af2f61b8bd7795ed
parentdd3817290376e3b31cd703a431deb4f6871728da
parent2c563c69f40a140e82e2d653bafd9e4f88621f30
Rollup merge of #35446 - pcn:update-E0023-to-new-format, r=jonathandturner

Update E0023 to the new format

Added some extra code to check for the appropriate ending for numbers ==
1 vs. not 1 in error messages.

Added an extra test so that the plural suffix is seen and exercised.
src/librustc_typeck/check/_match.rs