1 2 3 4 5 6 7 8 9 10 11 12
#![feature(plugin)] #![plugin(clippy)] #![deny(string_add_assign)] fn main() { let x = "".to_owned(); for i in (1..3) { x = x + "."; //~ERROR } }