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

mioco fails to build due to "can't leak private type" #8

Open
FlogramMatt opened this issue Feb 28, 2018 · 0 comments
Open

mioco fails to build due to "can't leak private type" #8

FlogramMatt opened this issue Feb 28, 2018 · 0 comments

Comments

@FlogramMatt
Copy link

We getting this error when compiling mioco on Rust1.24

private type src::sync::mpsc::ReceiverCore<T> in public interface
--> /home/cooldude/.cargo/registry/src/github.com-1ecc6299db9ec823/mioco-0.8.1/src/sync/mpsc.rs:35:5
|
35 | type Raw = ReceiverCore;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't leak private type

error[E0446]: private type src::timer::TimerCore in public interface
--> /home/cooldude/.cargo/registry/src/github.com-1ecc6299db9ec823/mioco-0.8.1/src/timer.rs:47:5
|
47 | type Raw = TimerCore;
| ^^^^^^^^^^^^^^^^^^^^^ can't leak private type

error: aborting due to 2 previous errors

error: Could not compile mioco.

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

1 participant