2018-07-28 17:34:52 +02:00
|
|
|
#![warn(clippy::char_lit_as_u8)]
|
2019-08-20 04:24:07 +02:00
|
|
|
|
2016-01-27 20:23:59 +01:00
|
|
|
fn main() {
|
2019-08-20 04:24:07 +02:00
|
|
|
let _ = '❤' as u8; // no suggestion, since a byte literal won't work.
|
2016-01-27 20:23:59 +01:00
|
|
|
}
|