deoplete-rust
deoplete-rust copied to clipboard
Error on every file edit
Every insert, delete, paste, ... suddenly produces a big fat popup error that is confusing to read:
Only happens in Rust files. In this repo.
Error detected while processing function <SNR>23_neomake_automake[12]..<SNR>23_configure_buffer[51]..neomake#core#create_jobs[2]..<SNR>27_bind_makers_for_job[
5]..neomake#core#instantiate_maker[18]..26[2]..<SNR>152_get_cargo_maker_cwd[1]..<SNR>152_get_cargo_workspace_root[19]..neomake#compat#json_decode:
line 5:
E474: Unidentified byte: warning: patch for the non root package will be ignored, specify patch at the workspace root:^@package: /home/steven/code/rust/bitc
oincore-rpc/client/Cargo.toml^@workspace: /home/steven/code/rust/bitcoincore-rpc/Cargo.toml^@{"packages":[{"name":"bitcoincore-rpc-json","version":"0.2.0","id
":"bitcoincore-rpc-json 0.2.0 (path+file:///home/steven/code/rust/bitcoincore-rpc/json)","license":"CC0-1.0","license_file":null,"description":"JSON-enabled t
ype structs for bitcoincore-rpc crate.","source":null,"dependencies":[{"name":"bitcoin","source":"registry+https://github.com/rust-lang/crates.io-index","req"
:"^0.17","kind":null,"rename":null,"optional":false,"uses_default_features":true,"features":["serde-decimal"],"target":null},{"name":"bitcoin-amount","source"
:"registry+https://github.com/rust-lang/crates.io-index","req":"^0.1.4","kind":null,"rename":null,"optional":false,"uses_default_features":true,"features":["s
erde"],"target":null},{"name":"bitcoin_hashes","source":"registry+https://githu
Error detected while processing function <SNR>23_neomake_automake[12]..<SNR>23_configure_buffer[51]..neomake#core#create_jobs[2]..<SNR>27_bind_makers_for_job[
5]..neomake#core#instantiate_maker[18]..26[2]..<SNR>152_get_cargo_maker_cwd[1]..<SNR>152_get_cargo_workspace_root[19]..neomake#compat#json_decode:
line 5:
E474: Failed to parse warning: patch for the non root package will be ignored, specify patch at the workspace root:^@package: /home/steven/code/rust/bitcoin
core-rpc/client/Cargo.toml^@workspace: /home/steven/code/rust/bitcoincore-rpc/Cargo.toml^@{"packages":[{"name":"bitcoincore-rpc-json","version":"0.2.0","id":"
bitcoincore-rpc-json 0.2.0 (path+file:///home/steven/code/rust/bitcoincore-rpc/json)","license":"CC0-1.0","license_file":null,"description":"JSON-enabled type
structs for bitcoincore-rpc crate.","source":null,"dependencies":[{"name":"bitcoin","source":"registry+https://github.com/rust-lang/crates.io-index","req":"^
0.17","kind":null,"rename":null,"optional":false,"uses_default_features":true,"features":["serde-decimal"],"target":null},{"name":"bitcoin-amount","source":"r
egistry+https://github.com/rust-lang/crates.io-index","req":"^0.1.4","kind":null,"rename":null,"optional":false,"uses_default_features":true,"features":["serd
e"],"target":null},{"name":"bitcoin_hashes","source":"registry+https://github.c
Error detected while processing function <SNR>23_neomake_automake:
line 12:
E171: Missing :endif
Ah, solved it by moving the [patch] section from a sub-Cargo.toml file into the root Cargo.toml file.
So deoplete should be able to handle that warning message.