Closed trakout closed 7 months ago
Steps to reproduce:
0.0.3
0.0.2
cargo run
Output:
Compiling xcap v0.0.3 error[E0446]: crate-private type `ImplMonitor` in public interface --> /(path_redacted)/xcap-0.0.3/src/linux/capture.rs:25:1 | 25 | pub fn capture_monitor(impl_monitor: &ImplMonitor) -> XCapResult<RgbaImage> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't leak crate-private type | ::: /(path_redacted)/xcap-0.0.3/src/linux/impl_monitor.rs:17:1 | 17 | pub(crate) struct ImplMonitor { | ----------------------------- `ImplMonitor` declared as crate-private
Edit - upgraded rustc to 1.75.0 and it works, closing!
Steps to reproduce:
0.0.3
and0.0.2
cargo run
)Output:
Edit - upgraded rustc to 1.75.0 and it works, closing!