Files
Notes/notes-service/vendor/ref-cast/tests/ui/no-custom.rs
T
2026-08-01 16:11:49 +03:00

12 lines
174 B
Rust

use ref_cast::ref_cast_custom;
#[repr(transparent)]
pub struct Thing(String);
impl Thing {
#[ref_cast_custom]
pub fn ref_cast(s: &String) -> &Self;
}
fn main() {}