fn expected_message(literals: &[String]) -> Option<String>
Formats the given expected literals into a single “expected” message:
expected `]` expected one of: `]`, `}`
Returns None if the provided literal list is empty.
None