Organize on_unimplemented ui test into directory

This commit is contained in:
David Tolnay
2025-09-12 18:07:55 -07:00
parent 723fcacad7
commit 3e1cf11060
2 changed files with 6 additions and 6 deletions
@@ -0,0 +1,23 @@
use serde::de::Deserialize;
use serde::ser::Serialize;
fn to_string<T>(_: &T) -> String
where
T: Serialize,
{
unimplemented!()
}
fn from_str<'de, T>(_: &'de str) -> T
where
T: Deserialize<'de>,
{
unimplemented!()
}
struct MyStruct;
fn main() {
to_string(&MyStruct);
let _: MyStruct = from_str("");
}