Same type, but compiler says it's different types. #124799
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
C-bug
Category: This is a bug.
D-papercut
Diagnostics: An error or lint that needs small tweaks.
I tried this code:
Cargo.toml
nice/Cargo.toml
:nice/src/kiwi/kiwi_file.rs
nice/src/kiwi.rs
nice/src/lib.rs
nice/src/main.rs
:I expected to see this happen:
cargo check
works without throwing any errorsInstead, this happened:
cargo check
produces this error:Meta
rustc --version --verbose
:The text was updated successfully, but these errors were encountered: