about summary refs log tree commit diff
path: root/compiler/rustc_query_impl/src
diff options
context:
space:
mode:
authorDylan DPC <99973273+Dylan-DPC@users.noreply.github.com>2022-08-05 21:54:37 +0530
committerGitHub <noreply@github.com>2022-08-05 21:54:37 +0530
commite7ed8443eab1902432df5864a0fe7adae851d5ea (patch)
treebb7a9c8dd3aed7b5f7a4040105d0ca15e31915e5 /compiler/rustc_query_impl/src
parent404782dffe570849539b795f4d7aa330437bbc7d (diff)
parent743ad07c4b267bc5806a455b51ff07b3012591cc (diff)
downloadrust-e7ed8443eab1902432df5864a0fe7adae851d5ea.tar.gz
rust-e7ed8443eab1902432df5864a0fe7adae851d5ea.zip
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`
Diffstat (limited to 'compiler/rustc_query_impl/src')
0 files changed, 0 insertions, 0 deletions