Pretty print function pointer const values.

This commit is contained in:
ben
2019-10-02 20:29:16 +13:00
parent 2afd277bc3
commit a59eb6d554
6 changed files with 27 additions and 15 deletions

View File

@@ -23,4 +23,4 @@ fn main() {
let _ = Checked::<{generic::<u16>}>;
let _: Checked<{generic::<u16>}> = Checked::<{generic::<u16>}>;
let _: Checked<{generic::<u32>}> = Checked::<{generic::<u16>}>; //~ mismatched types
}
}