Comment Comment by GlitchMr > Records use : in their literal form, which is overloaded with type ascription. This is also annoying in cases where you might want to move a field into a let binding.This one is getting fixed by removing type ascription - https://github.com/rust-lang/rfcs/pull/3307. parent GlitchMr 4 years ago
This one is getting fixed by removing type ascription - https://github.com/rust-lang/rfcs/pull/3307.