<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/tests/ui/rust-2024, branch master</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=master</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=master'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2025-09-26T13:33:48+00:00</updated>
<entry>
<title>Ignore more failing ui tests for GCC backend</title>
<updated>2025-09-26T13:33:48+00:00</updated>
<author>
<name>Guillaume Gomez</name>
<email>guillaume1.gomez@gmail.com</email>
</author>
<published>2025-09-26T11:59:06+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=a535c7be5444fb6584eecc99f53e6cdb710ff70f'/>
<id>urn:sha1:a535c7be5444fb6584eecc99f53e6cdb710ff70f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>future-incompat lints: don't link to the nightly edition-guide version</title>
<updated>2025-07-16T08:44:02+00:00</updated>
<author>
<name>dianne</name>
<email>diannes.gm@gmail.com</email>
</author>
<published>2025-07-16T08:44:02+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=41e6f767b64cebd08e1a25b18dfea7c13bf36a6a'/>
<id>urn:sha1:41e6f767b64cebd08e1a25b18dfea7c13bf36a6a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Make attribute safety validation logic more obvious</title>
<updated>2025-05-04T13:44:50+00:00</updated>
<author>
<name>Jieyou Xu</name>
<email>jieyouxu@outlook.com</email>
</author>
<published>2025-05-03T13:57:19+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=eb3a8e5b81db989764a2e8a7568318c6bc8aa986'/>
<id>urn:sha1:eb3a8e5b81db989764a2e8a7568318c6bc8aa986</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Report the `unsafe_attr_outside_unsafe` lint at the closest node</title>
<updated>2025-05-03T14:10:25+00:00</updated>
<author>
<name>Urgau</name>
<email>urgau@numericable.fr</email>
</author>
<published>2025-05-03T13:19:08+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=f4e1ec111c016f1dbbedb2628a30e9ce20d8e5f1'/>
<id>urn:sha1:f4e1ec111c016f1dbbedb2628a30e9ce20d8e5f1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>UI tests: add missing diagnostic kinds where possible</title>
<updated>2025-04-08T20:06:31+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=b3f75353a237f3623483c1e237be480140a8c3e1'/>
<id>urn:sha1:b3f75353a237f3623483c1e237be480140a8c3e1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fix rebase</title>
<updated>2025-03-07T17:55:08+00:00</updated>
<author>
<name>Esteban Küber</name>
<email>esteban@kuber.com.ar</email>
</author>
<published>2025-03-07T17:54:49+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=db2fb7102ec8eeb6ec9a0cb55ab1a120eeb0a730'/>
<id>urn:sha1:db2fb7102ec8eeb6ec9a0cb55ab1a120eeb0a730</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Refactor `emitter` to better account for unicode chars when trimming</title>
<updated>2025-03-07T17:55:08+00:00</updated>
<author>
<name>Esteban Küber</name>
<email>esteban@kuber.com.ar</email>
</author>
<published>2025-02-27T21:12:58+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=f1c751bc1a08e3439a9d0c482cbb0ea0fc8f644f'/>
<id>urn:sha1:f1c751bc1a08e3439a9d0c482cbb0ea0fc8f644f</id>
<content type='text'>
Change the way that underline positions are calculated by delaying using
the "visual" column position until the last possible moment, instead
using the "file"/byte position in the file, and then calculating visual
positioning as late as possible. This should make the underlines more
resilient to non-1-width unicode chars.

Unfortunately, as part of this change (which fixes some visual bugs)
comes with the loss of some eager tab codepoint handling, but the output
remains legible despite some minor regression on the "margin trimming"
logic.
</content>
</entry>
<entry>
<title>On long spans, trim the middle of them to make them fit in the terminal width</title>
<updated>2025-03-07T17:55:08+00:00</updated>
<author>
<name>Esteban Küber</name>
<email>esteban@kuber.com.ar</email>
</author>
<published>2025-02-27T21:11:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=72326bfe4033fe51c5cb0f31614bbf6e66ec77f9'/>
<id>urn:sha1:72326bfe4033fe51c5cb0f31614bbf6e66ec77f9</id>
<content type='text'>
When encountering a single line span that is wider than the terminal, we keep context at the start and end of the span but otherwise remove the code from the middle. This is somewhat independent from whether the left and right margins of the output have been trimmed as well.

```
error[E0308]: mismatched types
  --&gt; $DIR/long-span.rs:6:15
   |
LL | ... = [0, 0, 0, 0, ..., 0, 0];
   |       ^^^^^^^^^^^^^...^^^^^^^ expected `u8`, found `[{integer}; 1681]`
```

Address part of #137680 (missing handling of the long suggestion). Fix #125581.
</content>
</entry>
<entry>
<title>Remove all dead files inside tests/ui/</title>
<updated>2025-01-27T01:28:04+00:00</updated>
<author>
<name>León Orell Valerian Liehr</name>
<email>me@fmease.dev</email>
</author>
<published>2025-01-27T01:28:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=0b18b4fbbc5c0a60a1d373b5a1b30d21f55923d1'/>
<id>urn:sha1:0b18b4fbbc5c0a60a1d373b5a1b30d21f55923d1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Auto merge of #134478 - compiler-errors:attr-span, r=oli-obk</title>
<updated>2025-01-22T14:46:41+00:00</updated>
<author>
<name>bors</name>
<email>bors@rust-lang.org</email>
</author>
<published>2025-01-22T14:46:41+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=dee7d0e730a3a3ed98c89dd33c4ac16edc82de8a'/>
<id>urn:sha1:dee7d0e730a3a3ed98c89dd33c4ac16edc82de8a</id>
<content type='text'>
Properly record metavar spans for other expansions other than TT

This properly records metavar spans for nonterminals other than tokentree. This means that we operations like `span.to(other_span)` work correctly for macros. As you can see, other diagnostics involving metavars have improved as a result.

Fixes #132908
Alternative to #133270

cc `@ehuss`
cc `@petrochenkov`
</content>
</entry>
</feed>
