Closed
Description
Superseded by #101728 due to the landing of RFC 3307
Tracking issue for rust-lang/rfcs#803. Important points:
- Implement the
expr:Type
syntax - Ensure soundness with respect to
ref
positions:-
let ref x = <expr>
/let mut ref = <expr>
-
match <expr>: Type { ref x => ... }
-
(<expr>: Type).method_with_ref_self()
-
- Permit coercions like
&[1, 2, 3]: &[u8]
-- permit coercion in type ascription #78248
Metadata
Metadata
Assignees
Labels
Blocker: Approved by a merged RFC but not yet implemented.Blocker: Approved by a merged RFC and implemented but not stabilized.Blocker: Implemented in the nightly compiler and unstable.Category: An issue tracking the progress of sth. like the implementation of an RFCStatus: There are blocking design concerns.Relevant to the language team, which will review and decide on the PR/issue.