Doesn't seem to be working with rustc version ba2f13ef0
daboross opened this issue · 2 comments
daboross commented
When opening up sublime text with SublimeLinter in debug mode, I get the following output but no lints on the file:
SublimeLinter: debug mode: on
SublimeLinter: temp directory: /tmp/SublimeLinter3-daboross
SublimeLinter: user shell: /bin/zsh
SublimeLinter: computed PATH using /bin/zsh:
/home/daboross/.local/opt/apache-maven-3.2.3/bin
/home/daboross/.local/opt/android-sdk-linux/tools
/home/daboross/.local/opt/android-sdk-linux/platform-tools
/home/daboross/.local/bin
/home/daboross/.bin/aliases
/home/daboross/.bin/compiled
/home/daboross/.bin
/usr/local/sbin
/usr/local/bin
/usr/sbin
/usr/bin
/sbin
/bin
/usr/games
/usr/local/games
SublimeLinter: rust activated: /usr/local/bin/rustc
SublimeLinter: found existing HTML syntax, version 3
SublimeLinter: found existing Rails syntax, version 1
found 7 files for base name Main.sublime-menu
Emmet: No need to update PyV8
SublimeLinter: rust output:
Compiling project v0.0.1 (file:///home/daboross/Projects/Rust/project)
main.rs:3:1: 3:2 error: expected one of `!`, `:`, `;`, `=`, or `@`, found `}`
main.rs:3 }
^
Could not compile `project`.
To learn more, run the command again with --verbose.
SublimeLinter: Sublime Text cwd: /opt/sublime_text
SublimeLinter: Build cwd: /home/daboross/Projects/Rust/project
SublimeLinter: Current filename: /home/daboross/Projects/Rust/project/src/main.rs
SublimeLinter: Matched filename: main.rs
SublimeLinter: Compared filename: /home/daboross/Projects/Rust/project/main.rs
This is the file I tested with:
fn main() {
let a
}
daboross commented
Note: This works perfectly when using "cargo": false
, but doesn't with "cargo": true"
. My project kind of needs cargo support right now though, just because of the massive number of dependencies.
oschwald commented
Thanks for the report. This should be fixed. I'll do a release soon.