Esteban Küber
ba2600e98e
Suggest appropriate type instead of Self in E0401
...
```
error[E0401]: can't use `Self` from outer item
--> $DIR/E0401.rs:22:25
|
LL | impl<T> Iterator for A<T> {
| ---- `Self` type implicitly declared here, by this `impl`
...
LL | fn helper(sel: &Self) -> u8 {
| ------ ^^^^ use of `Self` from outer item
| |
| `Self` used in this inner function
|
help: refer to the type directly here instead
|
LL - fn helper(sel: &Self) -> u8 {
LL + fn helper(sel: &A<T>) -> u8 {
|
```
2025-11-03 16:24:35 +00:00
..
2025-11-01 08:25:44 +01:00
2025-10-30 07:56:16 +08:00
2025-10-31 02:39:14 +01:00
2025-10-30 08:05:37 +00:00
2025-11-01 08:25:44 +01:00
2025-10-30 07:56:17 +08:00
2025-11-02 09:10:36 +01:00
2025-10-29 08:07:49 +01:00
2025-10-24 10:25:13 +00:00
2025-11-03 02:52:00 +00:00
2025-11-03 11:52:40 +11:00
2025-11-02 20:17:06 +00:00
2025-11-02 12:33:38 +00:00
2025-10-31 20:38:31 +00:00
2025-10-30 07:56:17 +08:00
2025-11-01 08:25:44 +01:00
2025-11-02 16:15:34 +00:00
2025-11-01 08:25:44 +01:00
2025-11-03 02:52:00 +00:00
2025-10-27 15:56:09 +00:00
2025-11-02 08:16:38 +00:00
2025-11-02 09:10:38 +01:00
2025-11-02 12:33:38 +00:00
2025-11-02 15:56:50 +01:00
2025-10-28 20:39:32 +11:00
2025-10-31 18:41:51 +01:00
2025-10-30 10:04:21 +00:00
2025-11-02 23:12:25 +00:00
2025-11-02 15:56:48 +01:00
2025-10-28 10:26:50 +11:00
2025-11-02 08:16:38 +00:00
2025-10-31 02:39:14 +01:00
2025-11-01 08:25:44 +01:00
2025-11-01 08:25:44 +01:00
2025-10-31 14:48:43 +01:00
2025-10-27 21:19:38 -05:00
2025-10-29 23:31:50 +00:00
2025-10-29 23:31:50 +00:00
2025-11-03 16:24:35 +00:00
2025-10-28 20:39:32 +11:00
2025-11-02 12:33:38 +00:00
2025-11-02 15:56:50 +01:00
2025-10-24 02:41:52 +00:00
2025-11-01 16:44:42 +00:00
2025-11-03 02:52:00 +00:00
2025-10-25 22:53:52 +02:00
2025-10-27 22:13:23 +11:00