mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-01 07:13:24 +03:00
e7ed8443ea
Improve diagnostics for `const a: = expr;` Adds a suggestion to write a type when there is a colon, but the type is not present. I've also shrunk spans a little, so the suggestions are a little nicer. Resolves #100146 r? `@compiler-errors`