// expect: the loop variable 'x' can't be changed fn main() { for x in [1, 2] { x = 3 } }