We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
This currently runs afoul of private-in-public rules.
#[macro_use] extern crate ref_cast; struct T; #[derive(RefCast)] pub struct U(T);
error[E0446]: private type `T` in public interface --> src/main.rs:6:10 | 6 | #[derive(RefCast)] | ^^^^^^^ can't leak private type