Compiler Error when creating a variable with a function from a module of the same name that doesn't exist #105364
Labels
C-bug
Category: This is a bug.
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
S-has-mcve
Status: A Minimal Complete and Verifiable Example has been found for this issue
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Code
lib.rs
:Then, run
cargo check
to produce the error.Meta
rustc --version --verbose
:This bug only seems to exist on nightly. Wasn't able to reproduce it in stable or beta.
Error output
Backtrace
The text was updated successfully, but these errors were encountered: