about summary refs log tree commit diff
path: root/compiler/rustc_parse/src/parser
diff options
context:
space:
mode:
authorRalf Jung <post@ralfj.de>2024-10-31 07:38:55 +0000
committerGitHub <noreply@github.com>2024-10-31 07:38:55 +0000
commit6630802a1a6f09f9e07ee4113da3414e5e275972 (patch)
treeffc6f5b6daffb4d56ff7c1637b508581b27afe2b /compiler/rustc_parse/src/parser
parent445a340af3a5feb30022103db51b3fbdf3e0c863 (diff)
parentb8bd7becb419084397adc6b797136c20046fdacb (diff)
downloadrust-6630802a1a6f09f9e07ee4113da3414e5e275972.tar.gz
rust-6630802a1a6f09f9e07ee4113da3414e5e275972.zip
Merge pull request #4005 from rust-lang/rustup-2024-10-31
Automatic Rustup
Diffstat (limited to 'compiler/rustc_parse/src/parser')
-rw-r--r--compiler/rustc_parse/src/parser/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_parse/src/parser/mod.rs b/compiler/rustc_parse/src/parser/mod.rs
index 77ad4fdeeb1..50a8b6542df 100644
--- a/compiler/rustc_parse/src/parser/mod.rs
+++ b/compiler/rustc_parse/src/parser/mod.rs
@@ -424,7 +424,7 @@ impl TokenDescription {
     }
 }
 
-pub(super) fn token_descr(token: &Token) -> String {
+pub fn token_descr(token: &Token) -> String {
     let name = pprust::token_to_string(token).to_string();
 
     let kind = match (TokenDescription::from_token(token), &token.kind) {