-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Syntax error when using 'type const' #22038
Copy link
Copy link
Closed
Labels
B-unstableunstable featureunstable featureC-featureCategory: feature requestCategory: feature requestE-easyE-has-instructionsIssue has some instructions and pointers to code to get startedIssue has some instructions and pointers to code to get startedgood first issue
Metadata
Metadata
Assignees
Labels
B-unstableunstable featureunstable featureC-featureCategory: feature requestCategory: feature requestE-easyE-has-instructionsIssue has some instructions and pointers to code to get startedIssue has some instructions and pointers to code to get startedgood first issue
Type
Fields
Give feedbackNo fields configured for issues without a type.
rust-analyzer version: : 0.3.2862-standalone (7b6e124 2026-04-12)
rustc version: rustc 1.97.0-nightly (17584a181 2026-04-13)
editor or extension: Zed (0.231.2 cc335b70f85a17974a4c61f852dbebff8c4b1db7)
(I checked it in VSCode as well, and the same error occurred.)
code snippet to reproduce:
The code is compilable, but 8 syntax errors occur.