<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/compiler/rustc_errors/src/styled_buffer.rs, branch 1.87.0</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.87.0</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.87.0'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2025-03-07T17:55:08+00:00</updated>
<entry>
<title>Fix rustdoc test</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-27T22:29:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=cb82b79f02b79620f766d94c0e4a8c20a3ce23ee'/>
<id>urn:sha1:cb82b79f02b79620f766d94c0e4a8c20a3ce23ee</id>
<content type='text'>
</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>Add `warn(unreachable_pub)` to `rustc_errors`.</title>
<updated>2024-08-27T02:03:37+00:00</updated>
<author>
<name>Nicholas Nethercote</name>
<email>n.nethercote@gmail.com</email>
</author>
<published>2024-08-27T02:03:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=5fd503ab445b2a70897026e495dd4df4343333eb'/>
<id>urn:sha1:5fd503ab445b2a70897026e495dd4df4343333eb</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Replace some `_ == _ || _ == _`s with `matches!(_, _ | _)`s</title>
<updated>2023-01-30T12:26:26+00:00</updated>
<author>
<name>Maybe Waffle</name>
<email>waffle.lapkin@gmail.com</email>
</author>
<published>2023-01-30T12:01:09+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=f1d273cbfbebe108306455b7b34bbc625a24fa7a'/>
<id>urn:sha1:f1d273cbfbebe108306455b7b34bbc625a24fa7a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Spellchecking some comments</title>
<updated>2022-03-30T05:39:38+00:00</updated>
<author>
<name>Yuri Astrakhan</name>
<email>YuriAstrakhan@gmail.com</email>
</author>
<published>2022-03-30T05:39:38+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=7e8201ae0a57ef63b876cf2bf9ae388426f1dda5'/>
<id>urn:sha1:7e8201ae0a57ef63b876cf2bf9ae388426f1dda5</id>
<content type='text'>
This PR attempts to clean up some minor spelling mistakes in comments
</content>
</entry>
<entry>
<title>review</title>
<updated>2021-04-24T19:37:42+00:00</updated>
<author>
<name>klensy</name>
<email>klensy@users.noreply.github.com</email>
</author>
<published>2021-04-17T23:15:15+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=8ebd811b32de96c0e9e4208703465016da3d8764'/>
<id>urn:sha1:8ebd811b32de96c0e9e4208703465016da3d8764</id>
<content type='text'>
</content>
</entry>
<entry>
<title>rename StyledBuffer.text to lines</title>
<updated>2021-04-16T02:38:32+00:00</updated>
<author>
<name>klensy</name>
<email>klensy@users.noreply.github.com</email>
</author>
<published>2021-04-16T02:38:32+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=cb2d52282fb3c226c370a86c9111892384bbcb21'/>
<id>urn:sha1:cb2d52282fb3c226c370a86c9111892384bbcb21</id>
<content type='text'>
</content>
</entry>
<entry>
<title>StyledBuffer::set_style: check overwrite first</title>
<updated>2021-04-16T02:23:40+00:00</updated>
<author>
<name>klensy</name>
<email>klensy@users.noreply.github.com</email>
</author>
<published>2021-04-16T02:23:40+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=247d74f207633a5aeceb1e0ede878427465c5093'/>
<id>urn:sha1:247d74f207633a5aeceb1e0ede878427465c5093</id>
<content type='text'>
</content>
</entry>
<entry>
<title>StyledBuffer::prepend: if line is empty, insert content without inserting spaces</title>
<updated>2021-04-16T02:11:45+00:00</updated>
<author>
<name>klensy</name>
<email>klensy@users.noreply.github.com</email>
</author>
<published>2021-04-16T02:11:45+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=7e9d3c6f6cf3956dbf2a7870cebe89ebeb5d9ea5'/>
<id>urn:sha1:7e9d3c6f6cf3956dbf2a7870cebe89ebeb5d9ea5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>added some docs for StyledBuffer</title>
<updated>2021-04-16T01:14:59+00:00</updated>
<author>
<name>klensy</name>
<email>klensy@users.noreply.github.com</email>
</author>
<published>2021-04-16T01:14:59+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=e97ddedac644fb192c25490f6f6eab711bc1bea8'/>
<id>urn:sha1:e97ddedac644fb192c25490f6f6eab711bc1bea8</id>
<content type='text'>
</content>
</entry>
</feed>
