When linting rust i keep getting this an error recently. The rust code in question is:
struct SomeStruct {
somevar: Vec<Something>;
}
The code compiles and runs fine. (given Something is defined). WHat follows is the bug information atom generated for me.
EDIT: I failed and the compiler actually ignored the file. Still, even this way it should not error, no matter if the file compiles.
Atom Version: 0.169.0 System: linux 3.18.2-2-ARCH Thrown From: atom-lint https://github.com/yujinakayama/atom-lint package, v0.20.1
Stack Trace
Uncaught Error: Severity must be any of warning,error. help is passed.
At /home/stephan/.atom/packages/atom-lint/lib/violation.coffee:12 Error: Severity must be any of warning,error. help is passed.
at new Violation /home/stephan/.atom/packages/atom-lint/lib/violation.coffee:12:17 at Rustc.module.exports.Rustc.parseDiagnostics /home/stephan/.atom/packages/atom-lint/lib/linter/rustc.coffee:50:11
at /home/stephan/.atom/packages/atom-lint/lib/linter/rustc.coffee:33:23 at ChildProcess. anonymous> /home/stephan/.atom/packages/atom-lint/lib/command-runner.coffee:32:7
at ChildProcess.emit events.js:110:17 at maybeClose child_process.js:1009:16 at Socket. anonymous> child_process.js:1177:11
at Socket.emit events.js:107:17
at Pipe.close net.js:469:12
When linting rust i keep getting this an error recently. The rust code in question is:
The code compiles and runs fine. (given Something is defined). WHat follows is the bug information atom generated for me. EDIT: I failed and the compiler actually ignored the file. Still, even this way it should not error, no matter if the file compiles. Atom Version: 0.169.0
System: linux 3.18.2-2-ARCH
Thrown From: atom-lint https://github.com/yujinakayama/atom-lint package, v0.20.1
Stack Trace
Commands
Installed Packages
coffee
User
Dev No dev packages
/cc @atom/core