Unknown lang item : `receiver`
Lang item receiver is not implemented.
#[lang = "receiver"]
pub trait Receiver {
// Empty.
}
611d0bdc55a
I'm trying to find material to read on this lang item via https://rustc-dev-guide.rust-lang.org/lang-items.html and https://doc.rust-lang.org/beta/nightly-rustc/rustc_hir/lang_items/enum.LangItem.html#variant.Receiver but not much popped up. Do you have any pointers?
It is from an unstable internal feature (Even the rust unstable book has nothing about this feature :laughing: ), hence why you couldn't find anything, we may have to support it in order to compile core properly.
Do you have any pointers?
https://github.com/rust-lang/rust/blob/1.49.0/compiler/rustc_hir/src/lang_items.rs#L241
this is indeed used in 1.49 (https://github.com/rust-lang/rust/blob/1.49.0/library/core/src/ops/deref.rs#L186) and we'll need to support it, even if we don't support it in its entirety