Rust at least doesn’t.
let x: usize = 42;
I now realize I had misread and the parent poster did explicitly say that "thing: String" is fine but "thing String" is not. An odd hill to die on.
I now realize I had misread and the parent poster did explicitly say that "thing: String" is fine but "thing String" is not. An odd hill to die on.