Frequently ICEs in clippy are reported in the rustc repo. It would probably be better to collect them only here. This might need changes to rustc_driver to allow custom drivers to inject a repo name to report ICEs to.
Maybe we could use human-panic? I was trying to get it to work with clippy and it seems easy to add.
well... rustc could use it and then all drivers would benefit from it. I think all drivers should use a common infrastructure
Well this particular issue should be reported to the rustc repo instead 馃槢
It's now possible to provide our own ICE hook. We currently use the rustc one via
To do that we only have to provide our own hook that calls rustc's report_ice function, similar to the one in rustc:
Then we'lll also have to initialize our hook, like rustc:
All this would happen in src/driver.rs.
Most helpful comment
Well this particular issue should be reported to the rustc repo instead 馃槢