Sign in
rust
/
rust
/
b032fac34e5be72aa02748eadd4e8d8917a7e758
/
.
/
compiler
/
rustc_error_codes
/
src
/
error_codes
/
E0762.md
blob: b01ded4a86616eba3664c40e47f6da2f2830a78d [
file
] [
log
] [
blame
] [
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!
```