<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/tests/ui/coverage-attr, 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-16T13:51:18+00:00</updated>
<entry>
<title>Port `#[coverage]` to the new attribute system</title>
<updated>2025-07-16T13:51:18+00:00</updated>
<author>
<name>Sasha Pourcelot</name>
<email>sasha.pourcelot@protonmail.com</email>
</author>
<published>2025-07-13T09:51:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=4e054fc4c4809a3c1df60ea99077f4d662b79750'/>
<id>urn:sha1:4e054fc4c4809a3c1df60ea99077f4d662b79750</id>
<content type='text'>
</content>
</entry>
<entry>
<title>compiletest: Make diagnostic kind mandatory on line annotations</title>
<updated>2025-04-30T07:44:24+00:00</updated>
<author>
<name>Vadim Petrochenkov</name>
<email>vadim.petrochenkov@gmail.com</email>
</author>
<published>2025-04-05T16:19:56+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=20faf8532b5ddeb636ba3078344b0cad058c8f8a'/>
<id>urn:sha1:20faf8532b5ddeb636ba3078344b0cad058c8f8a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Factor some code out of `AstValidator::visit_items`.</title>
<updated>2025-04-01T22:16:34+00:00</updated>
<author>
<name>Nicholas Nethercote</name>
<email>n.nethercote@gmail.com</email>
</author>
<published>2025-04-01T01:04:56+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=ccb2194f9674c5be8bcc4d39ece15a382c863c2a'/>
<id>urn:sha1:ccb2194f9674c5be8bcc4d39ece15a382c863c2a</id>
<content type='text'>
Currently it uses `walk_item` on some item kinds. For other item kinds
it visits the fields individually. For the latter group, this commit
adds `visit_attrs_vis` and `visit_attrs_vis_ident` which bundle up
visits to the fields that don't need special handling. This makes it
clearer that they haven't been forgotten about.

Also, it's better to do the attribute visits at the start because
attributes precede the items in the source code. Because of this, a
couple of tests have their output improved: errors appear in an order
that matches the source code order.
</content>
</entry>
<entry>
<title>Trim suggestion part before generating highlights</title>
<updated>2025-02-21T00:54:01+00:00</updated>
<author>
<name>Michael Goulet</name>
<email>michael@errs.io</email>
</author>
<published>2025-02-21T00:29:56+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=160905b6253f42967ed4aef4b98002944c7df24c'/>
<id>urn:sha1:160905b6253f42967ed4aef4b98002944c7df24c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>More sophisticated span trimming</title>
<updated>2025-02-21T00:41:17+00:00</updated>
<author>
<name>Michael Goulet</name>
<email>michael@errs.io</email>
</author>
<published>2025-02-20T23:05:38+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=0a7ab1d6df4a2cfac819b0bada85b9142ac8ba26'/>
<id>urn:sha1:0a7ab1d6df4a2cfac819b0bada85b9142ac8ba26</id>
<content type='text'>
</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>Un-redact one occurrence of "coverage attribute not allowed here"</title>
<updated>2024-12-25T08:23:48+00:00</updated>
<author>
<name>Zalathar</name>
<email>Zalathar@users.noreply.github.com</email>
</author>
<published>2024-12-25T05:15:28+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=e48fc62ce075985089f117e0472586be1af167b7'/>
<id>urn:sha1:e48fc62ce075985089f117e0472586be1af167b7</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Overhaul error messages for disallowed coverage attributes</title>
<updated>2024-12-25T05:17:09+00:00</updated>
<author>
<name>Zalathar</name>
<email>Zalathar@users.noreply.github.com</email>
</author>
<published>2024-12-25T03:57:21+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=399620939844d7b2e4a93e450f8c578960d0b6f2'/>
<id>urn:sha1:399620939844d7b2e4a93e450f8c578960d0b6f2</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Expand the main test for where the coverage attribute is allowed</title>
<updated>2024-12-25T05:01:26+00:00</updated>
<author>
<name>Zalathar</name>
<email>Zalathar@users.noreply.github.com</email>
</author>
<published>2024-12-25T02:29:20+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=9124662da3e0d573703c9bb07d5e3cf8d06f1b20'/>
<id>urn:sha1:9124662da3e0d573703c9bb07d5e3cf8d06f1b20</id>
<content type='text'>
Some of these cases are also implicitly checked by other tests, but it's
helpful to also explicitly list them in the main test.
</content>
</entry>
<entry>
<title>Fully redact the [E0788] error message in tests, to make changes easier</title>
<updated>2024-12-25T05:00:47+00:00</updated>
<author>
<name>Zalathar</name>
<email>Zalathar@users.noreply.github.com</email>
</author>
<published>2024-12-24T12:08:28+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=5e98118901e9d358cc246e3fabe119bcd6a245bc'/>
<id>urn:sha1:5e98118901e9d358cc246e3fabe119bcd6a245bc</id>
<content type='text'>
</content>
</entry>
</feed>
