Installing Amp via cargo install amp on macOS High Sierra with all requisites (rust, cmake, python) fails at compiling scribe:
Compiling scribe v0.7.2
error[E0599]: no function or associated item named `from_str` found for type `scribe::buffer::Distance` in the current scope
--> src/models/application/modes/jump/mod.rs:80:32
|
80 | let distance = Distance::from_str(&subtoken.lexeme);
| ^^^^^^^^^^^^^^^^^^ function or associated item not found in `scribe::buffer::Distance`
error[E0599]: no function or associated item named `from_str` found for type `scribe::buffer::Distance` in the current scope
--> src/models/application/modes/jump/mod.rs:152:40
|
152 | let distance = Distance::from_str(&subtoken.lexeme);
| ^^^^^^^^^^^^^^^^^^ function or associated item not found in `scribe::buffer::Distance`
error[E0599]: no function or associated item named `from_str` found for type `scribe::buffer::Distance` in the current scope
--> src/models/application/modes/search.rs:29:24
|
29 | let distance = Distance::from_str(&query);
| ^^^^^^^^^^^^^^^^^^ function or associated item not found in `scribe::buffer::Distance`
error: aborting due to 3 previous errors
For more information about this error, try `rustc --explain E0599`.
error: failed to compile `amp v0.5.0`, intermediate artifacts can be found at `/var/folders/2g/mcs0f9rs4_9bmk7kl3w44vv00000gs/T/cargo-installGdGN5K`
Installing Amp via
cargo install amp
on macOS High Sierra with all requisites (rust, cmake, python) fails at compiling scribe: