librustc: Remove all legacy pattern bindings from libsyntax and librustc. rs=refactoring

This commit is contained in:
Patrick Walton 2012-12-04 10:50:00 -08:00
parent 94be145169
commit 56ece46f7d
87 changed files with 937 additions and 923 deletions

View file

@ -190,9 +190,9 @@ fn to_str(in: @ident_interner, t: Token) -> ~str {
/* Other */
DOC_COMMENT(s) => *in.get(s),
EOF => ~"<eof>",
INTERPOLATED(nt) => {
INTERPOLATED(ref nt) => {
~"an interpolated " +
match nt {
match (*nt) {
nt_item(*) => ~"item",
nt_block(*) => ~"block",
nt_stmt(*) => ~"statement",