<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/tests/ui/underscore-lifetime/underscore-lifetime-binders.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-01T11:58:27+00:00</updated>
<entry>
<title>Suggest use another lifetime specifier instead of underscore lifetime</title>
<updated>2025-07-01T11:58:27+00:00</updated>
<author>
<name>xizheyin</name>
<email>xizheyin@smail.nju.edu.cn</email>
</author>
<published>2025-06-30T08:37:38+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=e7c3703c53464842bd050e0921edd2a756b86ff3'/>
<id>urn:sha1:e7c3703c53464842bd050e0921edd2a756b86ff3</id>
<content type='text'>
Signed-off-by: xizheyin &lt;xizheyin@smail.nju.edu.cn&gt;
</content>
</entry>
<entry>
<title>Show diff suggestion format on verbose replacement</title>
<updated>2025-02-10T20:21:39+00:00</updated>
<author>
<name>Esteban Küber</name>
<email>esteban@kuber.com.ar</email>
</author>
<published>2024-07-09T22:30:26+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=f0845adb0c1b7a7fa1bef73e749b2d7e1d7f374d'/>
<id>urn:sha1:f0845adb0c1b7a7fa1bef73e749b2d7e1d7f374d</id>
<content type='text'>
```
error[E0610]: `{integer}` is a primitive type and therefore doesn't have fields
  --&gt; $DIR/attempted-access-non-fatal.rs:7:15
   |
LL |     let _ = 2.l;
   |               ^
   |
help: if intended to be a floating point literal, consider adding a `0` after the period and a `f64` suffix
   |
LL -     let _ = 2.l;
LL +     let _ = 2.0f64;
   |
```
</content>
</entry>
<entry>
<title>make `type_flags(ReError) &amp; HAS_ERROR`</title>
<updated>2024-03-20T17:29:58+00:00</updated>
<author>
<name>Ali MJ Al-Nasrawy</name>
<email>alimjalnasrawy@gmail.com</email>
</author>
<published>2024-03-19T20:58:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=19e0ea4a6d4266eeae6fc05c42b2e4ba78e19b6b'/>
<id>urn:sha1:19e0ea4a6d4266eeae6fc05c42b2e4ba78e19b6b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Continue to borrowck even if there were previous errors</title>
<updated>2024-02-08T08:10:43+00:00</updated>
<author>
<name>Oli Scherer</name>
<email>git-spam-no-reply9815368754983@oli-obk.de</email>
</author>
<published>2024-02-01T22:45:00+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=eab2adb6607d94fd0c70de93abf546ae9282afaa'/>
<id>urn:sha1:eab2adb6607d94fd0c70de93abf546ae9282afaa</id>
<content type='text'>
</content>
</entry>
<entry>
<title>On borrow return type, suggest borrowing from arg or owned return type</title>
<updated>2023-11-20T23:44:36+00:00</updated>
<author>
<name>Esteban Küber</name>
<email>esteban@kuber.com.ar</email>
</author>
<published>2023-11-14T20:36:49+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=b7a23bc08b2cc9b1ddfac18ea2019d5150d93e0e'/>
<id>urn:sha1:b7a23bc08b2cc9b1ddfac18ea2019d5150d93e0e</id>
<content type='text'>
When we encounter a function with a return type that has an anonymous
lifetime with no argument to borrow from, besides suggesting the
`'static` lifetime we now also suggest changing the arguments to be
borrows or changing the return type to be an owned type.

```
error[E0106]: missing lifetime specifier
  --&gt; $DIR/variadic-ffi-6.rs:7:6
   |
LL | ) -&gt; &amp;usize {
   |      ^ expected named lifetime parameter
   |
   = help: this function's return type contains a borrowed value, but there is no value for it to be borrowed from
help: consider using the `'static` lifetime, but this is uncommon unless you're returning a borrowed value from a `const` or a `static`
   |
LL | ) -&gt; &amp;'static usize {
   |       +++++++
help: instead, you are more likely to want to change one of the arguments to be borrowed...
   |
LL |     x: &amp;usize,
   |        +
help: ...or alternatively, to want to return an owned value
   |
LL - ) -&gt; &amp;usize {
LL + ) -&gt; usize {
   |
```

Fix #85843.
</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>
