pin_ergonomics
leads to bizarre "expected Pin<X>
found Pin<X>
" type errors
#133222
Labels
A-coercions
Area: implicit and explicit `expr as Type` coercions
C-bug
Category: This is a bug.
F-pin_ergonomics
`#![feature(pin_ergonomics)]`
requires-incomplete-features
This issue requires the use of incomplete features.
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.
I know
pin_ergonomics
is in very early stages, but I was eager to try it out and ran into this somewhat fundamental issue.cc #130494
I tried this code:
I expected to see this happen: should compile
Instead, this happened: got a compilation error
Meta
rustc --version --verbose
:The text was updated successfully, but these errors were encountered: