Sign in
rust
/
rust
/
95365cc5bf05abef6ddeca9552529fbf0b8df728
/
.
/
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!
```