Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #![allow(dead_code)]
- #![warn(clippy::pedantic)]
- fn foo(x: i16) -> u16 {
- #[allow(clippy::cast_possible_truncation, clippy::cast_sign_loss)]
- { x as u16 }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement