Currently the rust--format-call function calls rustfmt using by default the flags --edition 2018. It fails badly if the version of the binary is old enough, in a very unhelpful way.
rust-mode should output a helpful error message in the echo area in case that happens. See #360.
Currently the
rust--format-call
function callsrustfmt
using by default the flags--edition 2018
. It fails badly if the version of the binary is old enough, in a very unhelpful way.rust-mode should output a helpful error message in the echo area in case that happens. See #360.