```rust fn main() { const XYZ: char = 0xEF8888 as char; println!("{}", XYZ); } ``` [Will warn "literal is out of range for `u8`"](https://play.rust-lang.org/?gist=d52387ce80384df52aedf3a2669dfa74&version=nightly) because `u8` is the only `as char` cast that is acceptable. We should show a better warning and suggest the `\u` syntax instead.
Will warn "literal is out of range for
u8" becauseu8is the onlyas charcast that is acceptable.We should show a better warning and suggest the
\usyntax instead.