You can't compare &mut i32 with &i32, but you can compare &i32 with &mut i32 #65589
Labels
A-type-system
Area: Type system
C-feature-request
Category: A feature request, i.e: not implemented / a PR.
T-lang
Relevant to the language team, which will review and decide on the PR/issue.
T-libs-api
Relevant to the library API team, which will review and decide on the PR/issue.
https://play.rust-lang.org/?version=nightly&mode=debug&edition=2018&gist=11d3a2fe6f9ec8544d3f64917b99f913
The text was updated successfully, but these errors were encountered: