Broke rustc while refactoring method args in async yolo code #97484
Labels
C-bug
Category: This is a bug.
glacier
ICE tracked in rust-lang/glacier.
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
This happens with the latest nightly 2022-05-27 and 2022-05-14
Code
https://github.com/gilescope/dotsamatown/tree/broke-rustc
fn process_extrisic
had 6 args and I was de-yoloing the code to have only 4 args when rustc got the right hump.src/datasource.rs line 810, if I change that call to process_extrinsic to have the right number (and type) of arguments then rustc gets happy again:
Sorry my yolo code broke rustc! I suspect it's pretty obvious what's broken. I don't think this is a subtle thing though I guess it probably is the fact that it's an async fn that helps brake it.
Error output
The text was updated successfully, but these errors were encountered: