Sign in
rust
/
rust
/
HEAD
/
.
/
tests
/
ui
/
suggestions
/
function-local-item-type-suggestion-issue-146786.fixed
blob: 50beced2940bbcd0d85862a94b79765d6010b074 [
file
]
//@ run-rustfix
#![allow(dead_code)]
fn main
()
{
struct
Error
;
const
ERROR
:
Error
=
Error
;
//~^ ERROR missing type for `const` item
//~| HELP provide a type for the constant
//~| SUGGESTION : Error
}