about summary refs log tree commit diff
path: root/compiler/rustc_ast/src/tokenstream.rs
diff options
context:
space:
mode:
authorNicholas Nethercote <n.nethercote@gmail.com>2024-04-18 20:09:37 +1000
committerNicholas Nethercote <n.nethercote@gmail.com>2025-02-28 08:42:14 +1100
commit50076cdeb9fd1ecf2d85e481dc284525f9c509db (patch)
treebc7c5e4524974d75bd6c5f75e08bb89846c0ed5b /compiler/rustc_ast/src/tokenstream.rs
parent7ea59e053bed52249ba8f42cbdbc7301312197e3 (diff)
downloadrust-50076cdeb9fd1ecf2d85e481dc284525f9c509db.tar.gz
rust-50076cdeb9fd1ecf2d85e481dc284525f9c509db.zip
Remove `NtPath`.
Diffstat (limited to 'compiler/rustc_ast/src/tokenstream.rs')
-rw-r--r--compiler/rustc_ast/src/tokenstream.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/compiler/rustc_ast/src/tokenstream.rs b/compiler/rustc_ast/src/tokenstream.rs
index 489b5ad1a77..49ae8cc78fc 100644
--- a/compiler/rustc_ast/src/tokenstream.rs
+++ b/compiler/rustc_ast/src/tokenstream.rs
@@ -468,7 +468,6 @@ impl TokenStream {
                 TokenStream::token_alone(token::Semi, stmt.span)
             }
             Nonterminal::NtStmt(stmt) => TokenStream::from_ast(stmt),
-            Nonterminal::NtPath(path) => TokenStream::from_ast(path),
             Nonterminal::NtExpr(expr) | Nonterminal::NtLiteral(expr) => TokenStream::from_ast(expr),
         }
     }