It would be nice if rust-mode allowed formatting only specific lines of a file, analogously to clang-format's `clang-format-region`. The necessary support to format only certain parts of a file is already present upstream in rustfmt by using the file_lines command line argument.