// Regression test for an assertion failure in `borrowck::type_check` `do_assign` related to
// mismatched numbers of origin params in casts.
pub struct fdnode {
pub ctx: *mut u8,
}
unsafe extern "C" fn server_free(fdn: *mut fdnode) {
let _fdn2 = fdn as *const fdnode;
}
Test case:
Panics on this assertion:
This error currently appears in 102 places in lighttpd