mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-12-18 09:03:18 +00:00
38d4ac7cea
Discussion previously happened in https://github.com/rust-lang/rust/pull/43498
5 lines
98 B
Rust
5 lines
98 B
Rust
#![warn(clippy::char_lit_as_u8)]
|
|
#![allow(unused_variables)]
|
|
fn main() {
|
|
let c = 'a' as u8;
|
|
}
|