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

14 lines
206 B
Rust
Raw Normal View History

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