<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/compiler/rustc_span/src/source_map, 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-05-05T17:45:34+00:00</updated>
<entry>
<title>Take into-account `-Zremap-path-scope` when embedding filenames</title>
<updated>2025-05-05T17:45:34+00:00</updated>
<author>
<name>Urgau</name>
<email>urgau@numericable.fr</email>
</author>
<published>2025-04-19T09:52:18+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=6a7996e30325e28215b318feb7cc56bcff0e2bb5'/>
<id>urn:sha1:6a7996e30325e28215b318feb7cc56bcff0e2bb5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tree-wide: parallel: Fully removed all `Lrc`, replaced with `Arc`</title>
<updated>2025-02-03T10:25:57+00:00</updated>
<author>
<name>Askar Safin</name>
<email>safinaskar@mail.ru</email>
</author>
<published>2025-02-03T03:44:41+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=0a21f1d0a2fe9e84727a2de735fdcf55e8820db6'/>
<id>urn:sha1:0a21f1d0a2fe9e84727a2de735fdcf55e8820db6</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Avoid another `&amp;Lrc&lt;..&gt;` in a return value.</title>
<updated>2024-10-07T02:59:50+00:00</updated>
<author>
<name>Nicholas Nethercote</name>
<email>n.nethercote@gmail.com</email>
</author>
<published>2024-10-07T02:25:38+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=4547c0a990b88700812c4e5d14c383bdc7167c31'/>
<id>urn:sha1:4547c0a990b88700812c4e5d14c383bdc7167c31</id>
<content type='text'>
</content>
</entry>
<entry>
<title>add unstable support for outputting file checksums for use in cargo</title>
<updated>2024-10-02T03:23:20+00:00</updated>
<author>
<name>Jacob Kiesel</name>
<email>jake@bitcrafters.co</email>
</author>
<published>2024-06-22T07:27:59+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=bb5a8276be2d3dbc97d0f52e90db15455d542edf'/>
<id>urn:sha1:bb5a8276be2d3dbc97d0f52e90db15455d542edf</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Be more accurate about calculating `display_col` from a `BytePos`</title>
<updated>2024-07-18T20:08:38+00:00</updated>
<author>
<name>Esteban Küber</name>
<email>esteban@kuber.com.ar</email>
</author>
<published>2024-07-09T17:00:19+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=2d7795dfb942d49d447837ef43db89216de15696'/>
<id>urn:sha1:2d7795dfb942d49d447837ef43db89216de15696</id>
<content type='text'>
No longer track "zero-width" chars in `SourceMap`, read directly from the line when calculating the `display_col` of a `BytePos`. Move `char_width` to `rustc_span` and use it from the emitter.

This change allows the following to properly align in terminals (depending on the font, the replaced control codepoints are rendered as 1 or 2 width, on my terminal they are rendered as 1, on VSCode text they are rendered as 2):

```
error: this file contains an unclosed delimiter
  --&gt; $DIR/issue-68629.rs:5:17
   |
LL | ␜␟ts␀![{i
   |       -- unclosed delimiter
   |       |
   |       unclosed delimiter
LL | ␀␀  fn rݻoa&gt;rݻm
   |                ^
```
</content>
</entry>
<entry>
<title>rustc_index: Add a `ZERO` constant to index types</title>
<updated>2024-04-03T16:06:22+00:00</updated>
<author>
<name>Vadim Petrochenkov</name>
<email>vadim.petrochenkov@gmail.com</email>
</author>
<published>2024-04-03T14:49:59+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=b40ea03f8a9a94c294679b9f261b86ded120454f'/>
<id>urn:sha1:b40ea03f8a9a94c294679b9f261b86ded120454f</id>
<content type='text'>
It is commonly used.
</content>
</entry>
<entry>
<title>By tracking import use types to check whether it is scope uses or the other situations like module-relative uses, we can do more accurate redundant import checking.</title>
<updated>2024-02-18T08:38:11+00:00</updated>
<author>
<name>surechen</name>
<email>chenshuo17@huawei.com</email>
</author>
<published>2023-11-10T02:11:24+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=a61126cef6c4083d57e22835033eb2eefdd31bac'/>
<id>urn:sha1:a61126cef6c4083d57e22835033eb2eefdd31bac</id>
<content type='text'>
fixes #117448

For example unnecessary imports in std::prelude that can be eliminated:

```rust
use std::option::Option::Some;//~ WARNING the item `Some` is imported redundantly
use std::option::Option::None; //~ WARNING the item `None` is imported redundantly
```
</content>
</entry>
<entry>
<title>Update tests</title>
<updated>2024-02-07T02:42:01+00:00</updated>
<author>
<name>r0cky</name>
<email>mu001999@outlook.com</email>
</author>
<published>2024-02-07T02:42:01+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=c7519d42c2664828c98fdb98acab73e9a39b0b97'/>
<id>urn:sha1:c7519d42c2664828c98fdb98acab73e9a39b0b97</id>
<content type='text'>
</content>
</entry>
<entry>
<title>rustc_span: Optimize syntax context comparisons</title>
<updated>2024-01-05T22:25:20+00:00</updated>
<author>
<name>Vadim Petrochenkov</name>
<email>vadim.petrochenkov@gmail.com</email>
</author>
<published>2024-01-02T20:32:40+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=90d11d64486bc758ee15a1dd5dba351447648097'/>
<id>urn:sha1:90d11d64486bc758ee15a1dd5dba351447648097</id>
<content type='text'>
Including comparisons with root context
</content>
</entry>
<entry>
<title>Unify SourceFile::name_hash and StableSourceFileId</title>
<updated>2023-12-19T21:34:26+00:00</updated>
<author>
<name>Michael Woerister</name>
<email>michaelwoerister@posteo</email>
</author>
<published>2023-12-19T21:34:26+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=fa8ef253720446959a7bab4593c62a1819563cbc'/>
<id>urn:sha1:fa8ef253720446959a7bab4593c62a1819563cbc</id>
<content type='text'>
</content>
</entry>
</feed>
