reference
reference copied to clipboard
fix coerce unsized impl restriction
fixes https://github.com/rust-lang/reference/issues/1574
Unsure whether we want to document them even though CoerceUnsized is unstable. Source
https://github.com/rust-lang/rust/blob/f8f6997469237299c1d60814c7b9828602a1f8e4/compiler/rustc_hir_analysis/src/coherence/builtin.rs#L430-L547
Is there a test in rust-lang/rust for this particular rule?
not that I can see xd
Note: I believe @traviscross indicated he was working on this, but needed to figure out how to generalize how it is expressed.