<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/compiler/rustc_errors/src/lib.rs, branch 1.74.0</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.74.0</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.74.0'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2023-09-22T11:33:55+00:00</updated>
<entry>
<title>Allow `-Z treat-err-as-bug=0`</title>
<updated>2023-09-22T11:33:55+00:00</updated>
<author>
<name>Lieselotte</name>
<email>52315535+she3py@users.noreply.github.com</email>
</author>
<published>2023-09-22T11:33:55+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=3dd0419ea98da4d852c0aecec32eef0b466c07a6'/>
<id>urn:sha1:3dd0419ea98da4d852c0aecec32eef0b466c07a6</id>
<content type='text'>
Co-authored-by: Vadim Petrochenkov &lt;vadim.petrochenkov@gmail.com&gt;
</content>
</entry>
<entry>
<title>Auto merge of #115418 - Zoxc:freeze-source, r=oli-obk</title>
<updated>2023-09-08T17:20:23+00:00</updated>
<author>
<name>bors</name>
<email>bors@rust-lang.org</email>
</author>
<published>2023-09-08T17:20:23+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=26f4b7272428b181e0a88ad075e5c8f09dcb0e5c'/>
<id>urn:sha1:26f4b7272428b181e0a88ad075e5c8f09dcb0e5c</id>
<content type='text'>
Use `Freeze` for `SourceFile`

This uses the `Freeze` type in `SourceFile` to let accessing `external_src` and `lines` be lock-free.

Behavior of `add_external_src` is changed to set `ExternalSourceKind::AbsentErr` on a hash mismatch which matches the documentation. `ExternalSourceKind::Unneeded` was removed as it's unused.

Based on https://github.com/rust-lang/rust/pull/115401.
</content>
</entry>
<entry>
<title>Use `Freeze` for `SourceFile.external_src`</title>
<updated>2023-09-07T11:04:23+00:00</updated>
<author>
<name>John Kåre Alsaker</name>
<email>john.kare.alsaker@gmail.com</email>
</author>
<published>2023-08-31T10:50:44+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=c5996b80beaba54502fa86583b48cd6980b17b18'/>
<id>urn:sha1:c5996b80beaba54502fa86583b48cd6980b17b18</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Implement refinement lint for RPITIT</title>
<updated>2023-09-07T00:49:09+00:00</updated>
<author>
<name>Michael Goulet</name>
<email>michael@errs.io</email>
</author>
<published>2023-09-02T04:02:11+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=e10262ca0aa2ff434b33898d1d03413fdde60edf'/>
<id>urn:sha1:e10262ca0aa2ff434b33898d1d03413fdde60edf</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add OnceHelp lint level (same as OnceNote, except for help)</title>
<updated>2023-09-04T11:54:20+00:00</updated>
<author>
<name>Urgau</name>
<email>urgau@numericable.fr</email>
</author>
<published>2023-07-25T17:37:45+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=eba5b447298c00f07f11540eef2d003cc207f9d1'/>
<id>urn:sha1:eba5b447298c00f07f11540eef2d003cc207f9d1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add comment so pub items are not removed</title>
<updated>2023-09-01T17:22:03+00:00</updated>
<author>
<name>Christian Legnitto</name>
<email>LegNeato@users.noreply.github.com</email>
</author>
<published>2023-09-01T17:22:03+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=6e6031e094acb77bdf60d813fa8f748c12d8a3c9'/>
<id>urn:sha1:6e6031e094acb77bdf60d813fa8f748c12d8a3c9</id>
<content type='text'>
As suggested in https://github.com/rust-lang/rust/pull/115393, add a comment so someone doesn't clean these up.</content>
</entry>
<entry>
<title>Make `termcolor` types public in `rustc_errors`</title>
<updated>2023-08-30T20:06:49+00:00</updated>
<author>
<name>Christian Legnitto</name>
<email>LegNeato@users.noreply.github.com</email>
</author>
<published>2023-08-30T20:06:49+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=da86cdf3a5451ac8f218c863f9593e2c948e318d'/>
<id>urn:sha1:da86cdf3a5451ac8f218c863f9593e2c948e318d</id>
<content type='text'>
After https://github.com/rust-lang/rust/pull/114104, `rust-gpu` is unable to create a custom `Emitter` as the bounds have changed to include `WriteColor`.

I was able to work around this by adding `termcolor` as a direct dependency, but I believe this should be exposed as part of `rustc_errors` proper.

See https://github.com/rust-lang/rust/pull/102992 for why `rust-gpu` needs to create a custom emitter.</content>
</entry>
<entry>
<title>Use conditional synchronization for Lock</title>
<updated>2023-08-30T04:10:02+00:00</updated>
<author>
<name>John Kåre Alsaker</name>
<email>john.kare.alsaker@gmail.com</email>
</author>
<published>2020-10-31T02:14:32+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=5739349e96e2a34dc9dd18e58589b1b3afcaa271'/>
<id>urn:sha1:5739349e96e2a34dc9dd18e58589b1b3afcaa271</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add comment to the push_trailing function</title>
<updated>2023-08-24T21:09:14+00:00</updated>
<author>
<name>allaboutevemirolive</name>
<email>xkmxlfirdxus@gmail.com</email>
</author>
<published>2023-08-24T21:09:14+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=a8827eea27d6904976bb4f942edcf3c97da9a4b3'/>
<id>urn:sha1:a8827eea27d6904976bb4f942edcf3c97da9a4b3</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Bump cfg(bootstrap)</title>
<updated>2023-08-24T00:05:14+00:00</updated>
<author>
<name>Mark Rousskov</name>
<email>mark.simulacrum@gmail.com</email>
</author>
<published>2023-08-22T11:06:38+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=0a916062aac997071d020159bd6f12a57ca3fd2c'/>
<id>urn:sha1:0a916062aac997071d020159bd6f12a57ca3fd2c</id>
<content type='text'>
</content>
</entry>
</feed>
