Esteban Küber
d30dfb0af7
Provide more and more accurate suggestions when calling the wrong method
...
```
error[E0308]: mismatched types
--> $DIR/rustc_confusables_std_cases.rs:20:14
|
LL | x.append(42);
| ------ ^^ expected `&mut Vec<{integer}>`, found integer
| |
| arguments to this method are incorrect
|
= note: expected mutable reference `&mut Vec<{integer}>`
found type `{integer}`
note: method defined here
--> $SRC_DIR/alloc/src/vec/mod.rs:LL:COL
help: you might have meant to use `push`
|
LL | x.push(42);
| ~~~~
```
2024-02-22 18:04:55 +00:00
..
2024-01-16 21:15:31 +01:00
2024-02-21 20:15:52 +01:00
2024-02-18 03:49:28 -05:00
2024-02-21 10:20:05 +11:00
2024-02-21 17:02:30 +11:00
2024-02-16 00:27:32 +01:00
2024-02-15 08:09:42 +01:00
2023-11-15 19:41:28 -05:00
2024-02-22 09:59:41 +00:00
2024-02-20 15:13:55 +01:00
2024-02-21 20:50:47 +01:00
2024-02-21 20:50:47 +01:00
2024-02-22 08:01:37 +00:00
2024-02-22 09:59:41 +00:00
2024-02-22 12:51:05 +11:00
2024-02-18 16:54:15 +00:00
2023-11-15 19:41:28 -05:00
2024-02-22 08:03:47 +11:00
2024-02-18 06:01:40 +03:00
2024-02-15 10:34:41 +00:00
2024-02-22 08:01:37 +00:00
2024-02-21 08:55:56 +00:00
2024-02-16 09:53:01 +00:00
2024-02-06 13:12:33 +11:00
2024-02-06 13:12:33 +11:00
2024-02-06 13:12:33 +11:00
2024-02-21 12:04:39 +01:00
2024-02-21 20:50:47 +01:00
2024-02-12 12:47:23 +08:00
2024-02-22 18:04:55 +00:00
2024-02-22 08:03:47 +11:00
2024-02-06 13:12:33 +11:00
2024-02-08 07:44:34 -05:00
2024-02-21 22:48:56 +01:00
2024-02-21 22:48:59 +01:00
2024-02-06 13:12:33 +11:00
2024-02-21 08:55:58 +00:00
2024-02-20 07:35:45 +01:00
2024-02-21 20:50:47 +01:00
2024-02-06 13:12:33 +11:00
2024-02-21 05:32:08 +00:00
2024-02-21 22:48:59 +01:00
2024-02-22 18:04:55 +00:00
2024-02-21 16:32:57 +01:00
2024-02-16 09:53:01 +00:00
2024-02-22 12:07:08 +00:00
2024-02-20 13:22:17 +11:00
2024-02-13 15:53:15 +00:00
2024-02-21 16:32:59 +01:00
2024-02-17 12:46:18 +01:00
2024-02-21 22:48:58 +01:00
2024-02-20 12:05:09 +00:00
2024-02-12 15:46:35 +09:00
2024-02-15 08:09:42 +01:00
2024-02-22 08:03:47 +11:00
2024-02-21 10:35:54 +11:00
2024-02-15 08:09:42 +01:00
2024-02-22 08:03:47 +11:00
2024-02-17 09:40:44 +11:00
2024-02-21 20:50:47 +01:00
2024-02-12 23:18:54 +01:00
2024-02-20 15:13:54 +01:00
2024-02-22 08:03:47 +11:00
2024-02-20 17:30:49 +01:00
2024-02-06 13:12:33 +11:00
2024-02-21 08:55:56 +00:00
2024-02-22 08:03:47 +11:00
2024-02-17 09:40:44 +11:00