Guillaume Gomez
493233ce29
Rollup merge of #128527 - estebank:ambiguity-suggestion, r=Nadrieril
...
More information for fully-qualified suggestion when there are multiple impls
```
error[E0790]: cannot call associated function on trait without specifying the corresponding `impl` type
--> $DIR/E0283.rs:30:21
|
LL | fn create() -> u32;
| ------------------- `Coroutine::create` defined here
...
LL | let cont: u32 = Coroutine::create();
| ^^^^^^^^^^^^^^^^^^^ cannot call associated function of trait
|
help: use a fully-qualified path to a specific available implementation
|
LL | let cont: u32 = <Impl as Coroutine>::create();
| ++++++++ +
LL | let cont: u32 = <AnotherImpl as Coroutine>::create();
| +++++++++++++++ +
```
2024-08-07 15:59:36 +02:00
..
2024-08-01 14:25:19 +02:00
2024-07-29 08:26:52 +10:00
2024-07-29 08:26:52 +10:00
2024-07-31 03:29:10 +00:00
2024-08-03 20:51:51 +02:00
2024-07-29 08:26:52 +10:00
2024-07-29 17:46:44 +02:00
2024-08-05 14:28:06 -04:00
2024-08-05 05:40:19 +02:00
2024-07-30 10:32:32 +00:00
2024-07-30 10:32:32 +00:00
2024-08-07 15:59:35 +02:00
2024-08-07 15:59:35 +02:00
2024-08-07 00:46:06 +00:00
2024-07-30 17:49:08 +00:00
2024-07-30 14:08:02 +00:00
2024-07-29 17:50:12 +01:00
2024-07-29 08:26:52 +10:00
2024-08-06 19:09:52 +00:00
2024-07-30 18:28:43 -05:00
2024-08-05 05:40:19 +02:00
2024-07-29 08:26:52 +10:00
2024-07-29 08:26:52 +10:00
2024-07-29 08:26:52 +10:00
2024-08-06 20:23:39 +02:00
2024-08-07 15:59:35 +02:00
2024-07-29 08:26:52 +10:00
2024-08-06 01:20:43 +00:00
2024-07-29 08:26:52 +10:00
2024-07-29 08:26:52 +10:00
2024-07-29 14:38:33 +03:00
2024-08-01 10:40:45 +00:00
2024-07-29 08:26:52 +10:00
2024-08-06 20:23:39 +02:00
2024-08-05 05:40:19 +02:00
2024-07-30 10:22:48 +02:00
2024-07-29 08:26:52 +10:00
2024-07-29 08:26:52 +10:00
2024-07-29 08:26:52 +10:00
2024-08-03 23:45:22 +00:00
2024-08-05 18:23:14 +02:00
2024-07-29 11:59:47 -04:00
2024-08-03 10:55:46 +08:00
2024-08-01 15:49:25 +02:00
2024-08-05 10:03:17 -04:00
2024-08-03 20:51:51 +02:00
2024-07-29 08:26:52 +10:00
2024-08-06 06:12:10 +00:00
2024-07-31 16:03:27 +10:00
2024-07-29 08:26:52 +10:00
2024-07-29 08:26:52 +10:00
2024-08-02 13:22:28 -04:00
2024-08-04 15:38:11 +08:00
2024-08-02 23:24:50 -04:00
2024-07-29 08:26:52 +10:00
2024-08-05 22:30:13 +00:00
2024-07-29 08:26:52 +10:00
2024-08-07 00:34:11 +02:00
2024-07-29 08:26:52 +10:00
2024-08-05 23:35:22 +02:00
2024-08-07 15:59:36 +02:00
2024-07-29 08:26:52 +10:00
2024-07-29 08:26:52 +10:00
2024-07-30 17:49:08 +00:00
2024-08-05 17:03:58 +00:00
2024-07-29 08:26:52 +10:00
2024-07-29 08:26:52 +10:00