2019-04-05 07:22:36 +02:00
|
|
|
// run-pass
|
|
|
|
|
2018-07-30 11:33:44 +02:00
|
|
|
#![allow(clippy::all)]
|
2017-08-21 12:57:33 +02:00
|
|
|
|
2019-02-06 07:45:57 +01:00
|
|
|
/// Test for https://github.com/rust-lang/rust-clippy/issues/1969
|
|
|
|
|
2018-12-09 23:26:16 +01:00
|
|
|
fn main() {}
|
2017-08-21 12:57:33 +02:00
|
|
|
|
|
|
|
pub trait Convert {
|
|
|
|
type Action: From<*const f64>;
|
|
|
|
|
|
|
|
fn convert(val: *const f64) -> Self::Action {
|
|
|
|
val.into()
|
|
|
|
}
|
|
|
|
}
|