Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compilation using Rust nightly fails. #8

Closed
MalteT opened this issue Oct 25, 2019 · 2 comments
Closed

Compilation using Rust nightly fails. #8

MalteT opened this issue Oct 25, 2019 · 2 comments

Comments

@MalteT
Copy link

MalteT commented Oct 25, 2019

Compilation using Rust nightly fails for me, due to the custom rustyline dependency. It's propably an issue with your rustyline fork.

Error:

error[E0283]: type annotations required: cannot resolve `std::string::String: std::convert::AsRef<_>`
    --> /home/malte/.cargo/git/checkouts/rustyline-c88f83e46ecbf954/291927c/src/lib.rs:1165:49
     |
1165 |                 self.editor.add_history_entry(l.as_ref()); // TODO Validate
     |                                                 ^^^^^^

Rust version: rustc 1.39.0-nightly (521d78407 2019-08-25)

@MalteT
Copy link
Author

MalteT commented Oct 25, 2019

Stable does not work for me either: rustc 1.37.0 (eae3437df 2019-08-13)

@klemens
Copy link
Owner

klemens commented Oct 25, 2019

Works again, tested with 1.38.0 and nightly 2019-10-23. Thanks for letting me know!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants