3 #![allow(unused_assignments)]
4 #![allow(unknown_lints)]
6 #![allow(dead_assignment)]
9 let x : String = "hello".to_string();
10 let _y : String = "there".to_string();
11 let mut z = "thing".to_string();
13 assert_eq!(z.as_bytes()[0], ('h' as u8));
14 assert_eq!(z.as_bytes()[4], ('o' as u8));