summaryrefslogtreecommitdiffstats
path: root/src/tools/clippy/tests/ui/crashes/ice-1969.rs
blob: 96a8fe6c24d5610f8a16df06f98df43020e8c4a2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#![allow(clippy::all)]

/// Test for https://github.com/rust-lang/rust-clippy/issues/1969

fn main() {}

pub trait Convert {
    type Action: From<*const f64>;

    fn convert(val: *const f64) -> Self::Action {
        val.into()
    }
}