#![allow(dead_code, deprecated, unused_variables, unused_mut)] fn main() { assert_eq!(0x1u8.checked_shl(4), Some(0x10)); assert_eq!(0x10u8.checked_shl(129), None); assert_eq!(0x10u8.checked_shl(7), Some(0)); }