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