Weird nonsesnical 'one type is more general than the other' error #72063
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
A-lifetimes
Area: Lifetimes / regions
C-bug
Category: This is a bug.
D-terse
Diagnostics: An error or lint that doesn't give enough information about the problem at hand.
Getting mismatched types error despite exactly the same types. Works when called from some areas of project, fails from other areas.
I tried this code:
https://github.com/AS207960/whois-email, function send_mail in client.rs, called from sender.rs line 161.
I expected to see this happen: Works as if called from main.rs line 101
Instead, this happened:
Meta
rustc --version --verbose
:The text was updated successfully, but these errors were encountered: