rust-clippy/tests/run-pass/ice-1969.rs
2018-08-29 11:08:29 -07:00

13 lines
197 B
Rust

#![feature(tool_lints)]
#![allow(clippy::all)]
fn main() { }
pub trait Convert {
type Action: From<*const f64>;
fn convert(val: *const f64) -> Self::Action {
val.into()
}
}