Skip to content

Errors in source cause file dump in command line if g:rustfmt_autosave is 1 #109

Closed
@oblitum

Description

@oblitum

Simple steps to reproduce:

  • let g:rustfmt_autosave = 1
  • :w a rust file with contents:
fn main() {
    let foo: Vec<_> = vec![1, 2, 3];
    x
    foo.push(4);
}

x will force an error that will make file contents to be dumped in the command line.

This relates with #75.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions