flycheck-rust
flycheck-rust copied to clipboard
Error in binary cargo projects
Opening the utils module in the following directory tree -Cargo binary project made with cargo new hello --bin-. NOTE: The checker works fine inside themain` module.
.
├── Cargo.lock
├── Cargo.toml
├── src
│ ├── main.rs
│ └── utils.rs
└── target
└── debug
├── build
├── deps
├── examples
├── hello
└── native
This error appears
"Suspicious state from syntax checker rust-cargo: Checker rust-cargo returned non-zero exit code 101, but no errors from output: no library targets found"
Dupe of https://github.com/flycheck/flycheck-rust/issues/16
Indeed, that's a duplicate of #16, closing.