Adrian Taylor
Adrian Taylor
> With that blanket impl, the new `Receiver` trait will not be useful as a way to mark those vetted receiver types Assuming we gate the new behavior behind `arbitrary_self_types`,...
> In the following example, the `Deref` trait would still need to be involved to check if the calls to `frobnicate_ref` are allowed. Using my [current playing around branch](https://github.com/rust-lang/rust/compare/master...adetaylor:rust:receiver_trait_with_target_20231117) (which...
> I'd like to give some context to the "smart pointers in GUI" use-case. @PoignardAzur Thanks for adding the additional context - very happy to accept edits if you think...
Thanks for all the discussion around `NotNull`, `Weak` etc. I thought I'd take the liberty of summarizing the different perspectives to see if it helps us reach a consensus: *...
Periodic update on what's happening here: * @madsmtm is kindly fixing up the [current method call documentation](https://github.com/rust-lang/reference/pull/1432) * I have a PR to try to fix [pre-existing bugs in the...
@traviscross Thank you! Yes. Another periodic status update: * I've figured out (I think) how to solve [the problem with non-dereffable types](https://github.com/rust-lang/rfcs/pull/3519#discussion_r1407548885) - I intend to write it up. I've...
Here's the new problem with `NonNull` and friends which I allude to in the previous comment. ```rust #![feature(receiver_trait)] struct MyNonNull(*const T); #[allow(dead_code)] impl MyNonNull { fn foo(&self) -> *const U...
Here's how I think method resolution should work after this RFC. This approach allows us to use `NonNull` method receivers, using something _approximating_ the [approach in this thread](https://github.com/rust-lang/rfcs/pull/3519#discussion_r1383106315), and solves...
Some progress has been made on better identifying abstract types. There's therefore a chance that this has improved. In any case, this report is not currently actionable for me -...
> when I realised late on that there is not a fixed repr for Rust Option https://github.com/rust-lang/rust/pull/75454 if you hadn't come across it.