SHARE
TWEET

Untitled

a guest Mar 20th, 2019 55 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #![allow(dead_code)]
  2. #![warn(clippy::pedantic)]
  3.  
  4. fn foo(x: i16) -> u16 {
  5.     #[allow(clippy::cast_possible_truncation, clippy::cast_sign_loss)]
  6.     { x as u16 }
  7. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top