This website requires JavaScript.
Explore
Help
Sign In
Mirrors
/
rust-clippy
Watch
2
Star
0
Fork
You've already forked rust-clippy
0
mirror of
https://github.com/rust-lang/rust-clippy
synced
2024-11-27 15:11:30 +00:00
Code
Issues
Projects
Releases
Packages
Wiki
Activity
9061fd3199
rust-clippy
/
tests
/
ui
/
char_lit_as_u8.rs
6 lines
98 B
Rust
Raw
Normal View
History
Unescape
Escape
Adapt ui-tests to the tool_lints
2018-07-28 15:34:52 +00:00
#![
warn(clippy::char_lit_as_u8)
]
Add a lint for casts from char literals to u8
2016-01-27 19:23:59 +00:00
#![
allow(unused_variables)
]
fn
main
(
)
{
remove all //~ from tests
2017-02-08 13:58:07 +00:00
let
c
=
'a'
as
u8
;
Add a lint for casts from char literals to u8
2016-01-27 19:23:59 +00:00
}
Reference in a new issue
Copy permalink