]> git.lizzy.rs Git - rust.git/commit
Remove the obsolete handler for `impl A;`.
authorHuon Wilson <dbau.pp+github@gmail.com>
Fri, 31 Jan 2014 14:46:30 +0000 (01:46 +1100)
committerAlex Crichton <alex@alexcrichton.com>
Sat, 1 Feb 2014 05:43:09 +0000 (21:43 -0800)
commita9f73b5e3d947c3b8ef8c3a8fbd30823ba099886
tree195a3188274e53ecb771dbcea7e6697fb21648af
parent6c52e72214fbcebee4a216aefa8dea3ec3cacbdc
Remove the obsolete handler for `impl A;`.

This is has been obsolete for quite a while now (including a release),
so removing the special handling seems fine. (The error message is quite
good still anyway.)

Fixes #9580.
src/libsyntax/parse/obsolete.rs
src/libsyntax/parse/parser.rs
src/test/compile-fail/empty-impl-semicolon.rs [new file with mode: 0644]