#[test] fn convert() { const fn from(x: i32) -> i32 { i32::from(x) } const FOO: i32 = from(42); assert_eq!(FOO, 42); const fn into(x: Vec) -> Vec { x.into() } const BAR: Vec = into(Vec::new()); assert_eq!(BAR, Vec::::new()); }