rust/tests/run-pass/ice-1969.rs
Oliver Schneider 56068b1b67
Fix ICE #1969
2017-08-21 12:57:33 +02:00

13 lines
206 B
Rust

#![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()
}
}