Adrian Taylor
b27817c8c6
Arbitrary self types v2: Weak, NonNull hints
...
Various types can be used as method receivers, such as Rc<>, Box<> and
Arc<>. The arbitrary self types v2 work allows further types to be made
method receivers by implementing the Receiver trait.
With that in mind, it may come as a surprise to people when certain
common types do not implement Receiver and thus cannot be used as a
method receiver.
The RFC for arbitrary self types v2 therefore proposes emitting specific
lint hints for these cases:
* NonNull
* Weak
* Raw pointers
The code already emits a hint for this third case, in that it advises
folks that the `arbitrary_self_types_pointers` feature may meet their
need. This PR adds diagnostic hints for the Weak and NonNull cases.
2024-12-14 20:27:15 +00:00
..
2024-10-04 23:38:41 +00:00
2024-02-22 18:05:28 +00:00
2024-12-11 11:59:13 +00:00
2024-12-11 11:59:12 +00:00
2024-12-11 11:59:12 +00:00
2024-12-11 11:59:13 +00:00
2024-12-11 11:59:13 +00:00
2024-12-11 11:59:12 +00:00
2024-02-16 20:02:50 +00:00
2024-02-16 20:02:50 +00:00
2024-02-16 20:02:50 +00:00
2024-02-16 20:02:50 +00:00
2024-02-16 20:02:50 +00:00
2024-12-11 11:59:12 +00:00
2024-12-14 20:27:15 +00:00
2024-12-14 20:27:15 +00:00
2024-12-11 11:59:12 +00:00
2024-12-11 11:59:12 +00:00
2024-02-16 20:02:50 +00:00
2024-08-17 12:43:25 -04:00
2024-08-17 12:43:25 -04:00
2024-02-16 20:02:50 +00:00
2024-10-04 23:38:41 +00:00
2024-05-17 20:31:13 +00:00
2024-05-17 21:23:47 +00:00
2024-02-16 20:02:50 +00:00
2024-02-16 20:02:50 +00:00
2024-10-10 01:13:29 +02:00
2024-08-27 17:32:35 +00:00
2024-08-27 17:32:35 +00:00
2024-12-11 11:59:12 +00:00
2024-12-11 11:59:13 +00:00
2024-02-16 20:02:50 +00:00
2024-02-16 20:02:50 +00:00
2024-12-11 11:59:12 +00:00
2024-02-16 20:02:50 +00:00
2024-12-11 11:59:12 +00:00
2024-02-16 20:02:50 +00:00
2024-12-11 11:59:13 +00:00
2024-12-11 11:59:13 +00:00
2024-12-11 11:59:13 +00:00
2024-12-11 11:59:13 +00:00
2024-02-16 20:02:50 +00:00
2024-12-14 20:27:15 +00:00
2024-12-14 20:27:15 +00:00
2024-11-24 00:19:47 +00:00
2024-12-09 15:17:26 +01:00
2024-12-11 11:59:12 +00:00
2024-12-11 11:59:12 +00:00
2024-12-11 11:59:12 +00:00
2024-10-30 10:48:08 +00:00
2024-10-30 10:48:08 +00:00
2024-12-04 10:16:04 +00:00
2024-12-13 15:40:37 +00:00
2024-10-10 01:13:29 +02:00
2024-10-10 01:13:29 +02:00
2024-10-10 01:13:29 +02:00
2024-02-16 20:02:50 +00:00
2024-02-16 20:02:50 +00:00
2024-12-11 11:59:13 +00:00
2024-12-11 11:59:13 +00:00
2024-10-10 01:13:29 +02:00
2024-10-10 01:13:29 +02:00
2024-10-10 01:13:29 +02:00
2024-11-26 02:50:48 +08:00
2024-11-26 02:50:48 +08:00
2024-02-16 20:02:50 +00:00
2024-02-16 20:02:50 +00:00
2024-02-16 20:02:50 +00:00
2024-02-16 20:02:50 +00:00
2024-02-16 20:02:50 +00:00
2024-08-31 15:35:42 +03:00
2024-08-31 15:35:42 +03:00
2024-08-31 15:35:42 +03:00
2024-08-31 15:35:42 +03:00
2024-07-16 12:06:25 -04:00
2024-05-18 13:08:34 -04:00
2024-05-18 13:08:34 -04:00
2024-05-18 13:08:34 -04:00
2024-05-18 13:08:34 -04:00
2024-11-26 02:50:48 +08:00
2024-02-16 20:02:50 +00:00
2024-02-16 20:02:50 +00:00
2024-02-16 20:02:50 +00:00
2024-02-16 20:02:50 +00:00
2024-02-16 20:02:50 +00:00
2024-11-26 02:50:48 +08:00
2024-07-12 03:02:57 +00:00
2024-02-16 20:02:50 +00:00
2024-02-16 20:02:50 +00:00
2024-02-16 20:02:50 +00:00
2024-09-13 14:10:56 +03:00