We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1f95c91 commit 823f645Copy full SHA for 823f645
compiler/rustc_parse/src/parser/mod.rs
@@ -264,7 +264,7 @@ impl TokenType {
264
TokenType::Ident => "identifier".to_string(),
265
TokenType::Path => "path".to_string(),
266
TokenType::Type => "type".to_string(),
267
- TokenType::Const => "const".to_string(),
+ TokenType::Const => "a const expression".to_string(),
268
}
269
270
0 commit comments