]> git.lizzy.rs Git - rust.git/blob - tests/ui/crashes/ice-1969.rs
Merge remote-tracking branch 'upstream/master' into rustup
[rust.git] / tests / ui / crashes / ice-1969.rs
1 #![allow(clippy::all)]
2
3 /// Test for https://github.com/rust-lang/rust-clippy/issues/1969
4
5 fn main() {}
6
7 pub trait Convert {
8     type Action: From<*const f64>;
9
10     fn convert(val: *const f64) -> Self::Action {
11         val.into()
12     }
13 }