Type inference error when importing unrelated function. #85565
Labels
A-inference
Area: Type inference
C-bug
Category: This is a bug.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
I tried this code:
Playground
I expected this to compile, but a type inference error was emitted.
If the import of
serde_json::to_string
is removed the code compiles just fine.Meta
It fails on all stable, beta and nightly.
The text was updated successfully, but these errors were encountered: