]> git.proxmox.com Git - rustc.git/blame - src/tools/clippy/tests/ui/crashes/ice-1969.rs
Update upstream source from tag 'upstream/1.52.1+dfsg1'
[rustc.git] / src / tools / clippy / tests / ui / crashes / ice-1969.rs
CommitLineData
f20569fa
XL
1#![allow(clippy::all)]
2
3/// Test for https://github.com/rust-lang/rust-clippy/issues/1969
4
5fn main() {}
6
7pub trait Convert {
8 type Action: From<*const f64>;
9
10 fn convert(val: *const f64) -> Self::Action {
11 val.into()
12 }
13}