You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
impl<'c,C> rustyline::completion::Completerfor&'c C
This stops me from implement completer like this:
error[E0119]: conflicting implementations of trait `rustyline::completion::Completer` for type `&_`:
--> src\main.rs:81:1
|
81 | impl<T: CandidateList> Completer for T {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: conflicting implementation in crate `rustyline`:
- impl<'c, C> rustyline::completion::Completer for &'c C
where C: rustyline::completion::Completer, C: ?Sized;
= note: downstream crates may implement trait `CandidateList` for type `&_`
Actually it prevents any kind of implementation like this.
The text was updated successfully, but these errors were encountered:
suikabreaker
changed the title
Completer implement 佛如
Completer implement for reference prevent any other implement for <T:SomeTrait>
Aug 5, 2020
suikabreaker
changed the title
Completer implement for reference prevent any other implement for <T:SomeTrait>
Completer implement for reference prevents any other implement for <T:SomeTrait>
Aug 6, 2020
This stops me from implement completer like this:
Actually it prevents any kind of implementation like this.
The text was updated successfully, but these errors were encountered: