This website requires JavaScript.
Explore
Help
Register
Sign In
mikros
/
rust
Watch
1
Star
0
Fork
0
You've already forked rust
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
fffdbc0e8f
rust
/
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 10:34:52 -05:00
#![
warn(clippy::char_lit_as_u8)
]
Add a lint for casts from char literals to u8
2016-01-27 13:23:59 -06:00
#![
allow(unused_variables)
]
fn
main
(
)
{
remove all //~ from tests
2017-02-08 07:58:07 -06:00
let
c
=
'a'
as
u8
;
Add a lint for casts from char literals to u8
2016-01-27 13:23:59 -06:00
}
Reference in New Issue
Copy Permalink