]> git.lizzy.rs Git - rust.git/commit
syntax: use a better Show impl for Ident
authorCorey Richardson <corey@octayn.net>
Tue, 17 Jun 2014 06:00:49 +0000 (23:00 -0700)
committerCorey Richardson <corey@octayn.net>
Wed, 9 Jul 2014 07:06:29 +0000 (00:06 -0700)
commitae9a92bd4ef25b8aba0ef06e7ad26319691e9e5a
treea8a83cb164bc4c1ba6c214b7d43fa545d9b221a3
parentb0303b3c22eeb602ed8d51a267f52306aadc9322
syntax: use a better Show impl for Ident

Rather than just dumping the id in the interner, which is useless, actually
print the interned string. Adjust the lexer logging to use Show instead of
Poly.
src/libsyntax/ast.rs
src/libsyntax/parse/lexer/mod.rs