Sign in
rust
/
rust
/
72ef4e7b6bb768d9664310458447b66056f0b752
/
.
/
compiler
/
rustc_error_codes
/
src
/
error_codes
/
E0762.md
blob: b01ded4a86616eba3664c40e47f6da2f2830a78d [
file
] [
view
]
A character literal wasn
't ended with a quote.
Erroneous code example:
```compile_fail,E0762
static C: char = '
●;
// error!
```
To fix this error, add the missing quote:
```
static
C
:
char
=
'●'
;
// ok!
```