rust/tests/run-pass/ice-1969.rs

14 lines
169 B
Rust
Raw Normal View History

2017-09-18 12:47:33 +02:00
2017-08-21 12:57:33 +02:00
#![allow(clippy)]
fn main() { }
pub trait Convert {
type Action: From<*const f64>;
fn convert(val: *const f64) -> Self::Action {
val.into()
}
}