]> git.lizzy.rs Git - rust.git/blob - compiler/rustc_error_codes/src/error_codes/E0762.md
Auto merge of #96715 - cjgillot:trait-alias-loop, r=compiler-errors
[rust.git] / compiler / rustc_error_codes / src / error_codes / E0762.md
1 A character literal wasn't ended with a quote.
2
3 Erroneous code example:
4
5 ```compile_fail,E0762
6 static C: char = '●; // error!
7 ```
8
9 To fix this error, add the missing quote:
10
11 ```
12 static C: char = '●'; // ok!
13 ```