]> git.lizzy.rs Git - rust.git/blob - tests/ui/crashes/ice-1969.rs
Auto merge of #4593 - james9909:fix-multiple-inherent-impls, r=llogiq
[rust.git] / tests / ui / crashes / ice-1969.rs
1 // run-pass
2
3 #![allow(clippy::all)]
4
5 /// Test for https://github.com/rust-lang/rust-clippy/issues/1969
6
7 fn main() {}
8
9 pub trait Convert {
10     type Action: From<*const f64>;
11
12     fn convert(val: *const f64) -> Self::Action {
13         val.into()
14     }
15 }