about summary refs log tree commit diff
path: root/src/tools/clippy/tests/ui/crashes/ice-1969.rs
blob: 813972a046f7524ffc2539352991fbda6e9f3214 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
//@ check-pass

// 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()
    }
}