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

12 lines
171 B
Rust
Raw Normal View History

2018-07-30 09:33:44 +00:00
#![allow(clippy::all)]
2017-08-21 10:57:33 +00:00
2018-12-09 22:26:16 +00:00
fn main() {}
2017-08-21 10:57:33 +00:00
pub trait Convert {
type Action: From<*const f64>;
fn convert(val: *const f64) -> Self::Action {
val.into()
}
}