Good point, it’s probably good to keep our “eye on the ball” in that respect. Of that list, I think that reviewing coercions would make a lot of sense. I was going to volunteer to lead this, but then I remembered that I’m not available next Thursday anyhow (unless we wanted to move the meeting to a different day).
That said, the reason I was thinking about coercions:
- We could review and discuss
CoerceUnsize, which is one of those things in stabilization limbo
- There are a number of ergonomic initiatives affected by it:
- auto-wrap for
Ok values (cc @scottmcm)
-
&T to T coercions when T: Copy
-
AsRef coercions
- potentially other interactions to make
&i32 behave more like i32
- Not to mention the broader stuff we’ve been talking about:
- how to fix some of the inference pitfalls around coercion without making compilation exponential and ridiculous
- the chalk model
- whether we want a
Coerce trait