rust/compiler/rustc_parse/src
Dylan DPC e7ed8443ea
Rollup merge of #100168 - WaffleLapkin:improve_diagnostics_for_missing_type_in_a_const_item, r=compiler-errors
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`
2022-08-05 21:54:37 +05:30
..
lexer Shrink Token. 2022-08-01 08:53:04 +10:00
parser Rollup merge of #100168 - WaffleLapkin:improve_diagnostics_for_missing_type_in_a_const_item, r=compiler-errors 2022-08-05 21:54:37 +05:30
lib.rs Update doc comments that refer to config parameter 2022-07-24 16:40:24 +02:00
validate_attr.rs