Skip to content

Commit becbd60

Browse files
committed
ident->name
1 parent 0054d19 commit becbd60

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/libsyntax/print/pprust.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1926,8 +1926,8 @@ pub fn print_arg(s: @ps, input: &ast::arg) {
19261926
match input.pat.node {
19271927
ast::PatIdent(_, ref path, _) if
19281928
path.segments.len() == 1 &&
1929-
path.segments[0].identifier ==
1930-
parse::token::special_idents::invalid => {
1929+
path.segments[0].identifier.name ==
1930+
parse::token::special_idents::invalid.name => {
19311931
// Do nothing.
19321932
}
19331933
_ => {

0 commit comments

Comments
 (0)