mozilla/rust — Issue #1510: Need custom discriminant tests in the pretty printer
Author: nikomatsakis
Created: 2012-01-13 22:48:27+00:00
State: open

Right now, they don't get pretty printed at all!

What needs to be done:

- First, add a test or two to `test/pretty` with the `pp-exact` directive, as described [in the wiki](https://github.com/mozilla/rust/wiki/Note-testsuite).
- Second, modify the pretty printer in `comp/syntax/print/pprust.rs` to emit the custom discriminants if present.