<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/tests/ui/error-codes/E0790.stderr, branch try</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=try</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=try'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2025-07-13T13:50:01+00:00</updated>
<entry>
<title>Retire hir::*ItemRef.</title>
<updated>2025-07-13T13:50:01+00:00</updated>
<author>
<name>Camille GILLOT</name>
<email>gillot.camille@gmail.com</email>
</author>
<published>2025-07-02T20:15:28+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=21fd82adbcaf322973ca6edb28a801be755a2225'/>
<id>urn:sha1:21fd82adbcaf322973ca6edb28a801be755a2225</id>
<content type='text'>
</content>
</entry>
<entry>
<title>More information for fully-qualified suggestion when there are multiple impls</title>
<updated>2024-08-02T03:22:56+00:00</updated>
<author>
<name>Esteban Küber</name>
<email>esteban@kuber.com.ar</email>
</author>
<published>2024-08-02T02:39:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=2c83c99058e8b2ae12013469b6c4fde27b648874'/>
<id>urn:sha1:2c83c99058e8b2ae12013469b6c4fde27b648874</id>
<content type='text'>
```
error[E0790]: cannot call associated function on trait without specifying the corresponding `impl` type
  --&gt; $DIR/E0283.rs:30:21
   |
LL |     fn create() -&gt; 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 = &lt;Impl as Coroutine&gt;::create();
   |                     ++++++++          +
LL |     let cont: u32 = &lt;AnotherImpl as Coroutine&gt;::create();
   |                     +++++++++++++++          +
```
</content>
</entry>
<entry>
<title>Deduplicate more sized errors on call exprs</title>
<updated>2024-01-24T02:53:15+00:00</updated>
<author>
<name>Esteban Küber</name>
<email>esteban@kuber.com.ar</email>
</author>
<published>2024-01-24T02:52:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=a9841936fe25d3d2841a02abfdb2da2342a3dbcf'/>
<id>urn:sha1:a9841936fe25d3d2841a02abfdb2da2342a3dbcf</id>
<content type='text'>
Change the implicit `Sized` `Obligation` `Span` for call expressions to
include the whole expression. This aids the existing deduplication
machinery to reduce the number of errors caused by a single unsized
expression.
</content>
</entry>
<entry>
<title>stop mentioning number of applicate implementations</title>
<updated>2023-07-16T13:36:19+00:00</updated>
<author>
<name>lcnr</name>
<email>rust@lcnr.de</email>
</author>
<published>2023-07-14T08:28:18+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=e449daad6cc3db4890d4dbaa4d0ab2fa66215091'/>
<id>urn:sha1:e449daad6cc3db4890d4dbaa4d0ab2fa66215091</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Avoid guessing unknown trait impl in suggestions</title>
<updated>2023-06-22T23:37:52+00:00</updated>
<author>
<name>Alexander Zhang</name>
<email>alex@alexyzhang.dev</email>
</author>
<published>2023-06-22T23:37:52+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=48167bd4bddec03d1969e2cc2c1155cb5667d6ad'/>
<id>urn:sha1:48167bd4bddec03d1969e2cc2c1155cb5667d6ad</id>
<content type='text'>
When a trait is used without specifying the implementation (e.g. calling
a non-member associated function without fully-qualified syntax) and
there are multiple implementations available, use a placeholder comment
for the implementation type in the suggestion instead of picking a
random implementation.

Example:

```
fn main() {
    let _ = Default::default();
}
```

Previous output:

```
error[E0790]: cannot call associated function on trait without specifying the corresponding `impl` type
 --&gt; test.rs:2:13
  |
2 |     let _ = Default::default();
  |             ^^^^^^^^^^^^^^^^ cannot call associated function of trait
  |
help: use a fully-qualified path to a specific available implementation (273 found)
  |
2 |     let _ = &lt;FileTimes as Default&gt;::default();
  |             +++++++++++++        +
```

New output:

```
error[E0790]: cannot call associated function on trait without specifying the corresponding `impl` type
 --&gt; test.rs:2:13
  |
2 |     let _ = Default::default();
  |             ^^^^^^^^^^^^^^^^ cannot call associated function of trait
  |
help: use a fully-qualified path to a specific available implementation (273 found)
  |
2 |     let _ = &lt;/* self type */ as Default&gt;::default();
  |             +++++++++++++++++++        +
```
</content>
</entry>
<entry>
<title>Move /src/test to /tests</title>
<updated>2023-01-11T09:32:08+00:00</updated>
<author>
<name>Albert Larsan</name>
<email>74931857+albertlarsan68@users.noreply.github.com</email>
</author>
<published>2023-01-05T08:13:28+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=cf2dff2b1e3fa55fa5415d524200070d0d7aacfe'/>
<id>urn:sha1:cf2dff2b1e3fa55fa5415d524200070d0d7aacfe</id>
<content type='text'>
</content>
</entry>
</feed>
