ICE With Minimal safer_ffi Example: Expected module, found DefId(18:190) #78257
Labels
C-bug
Category: This is a bug.
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.
Code
cargo.toml:
lib.rs:
Meta
rustc --version --verbose
:Error is not present on Rust stable. I also noticed it on an earlier nightly which I do not have a version number for because I just ran
rustup update
to make sure the issue wasn't fixed on the latest nightly. Whoops. 😜Error output
Backtrace
The text was updated successfully, but these errors were encountered: