<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/compiler/rustc_errors/src, 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-22T13:01:30+00:00</updated>
<entry>
<title>Auto merge of #115690 - ShE3py:Z-treat-err-as-bug, r=petrochenkov</title>
<updated>2023-09-22T13:01:30+00:00</updated>
<author>
<name>bors</name>
<email>bors@rust-lang.org</email>
</author>
<published>2023-09-22T13:01:30+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=01903944d8c7e3cfdba88c9c7dbc09475b37d986'/>
<id>urn:sha1:01903944d8c7e3cfdba88c9c7dbc09475b37d986</id>
<content type='text'>
Allow `-Z treat-err-as-bug=0`

Makes `-Z treat-err-as-bug=0` behave as if the option wasn't present instead of asking the value to be &amp;GreaterSlantEqual; 1. This enables a quick on/off of the option, as you only need to change one character instead of removing the whole `-Z`.

Also update some text, e.g.
```bash
$ rustc -Z help | grep treat-err-as-bug
    -Z                      treat-err-as-bug=val -- treat error number `val` that occurs as bug
```
where the value could be interpreted as an error code instead of an ordinal.
</content>
</entry>
<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>give FutureIncompatibilityReason variants more explicit names</title>
<updated>2023-09-22T06:51:18+00:00</updated>
<author>
<name>Ralf Jung</name>
<email>post@ralfj.de</email>
</author>
<published>2023-09-22T06:25:11+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=e888d470e91ee4e027871d850766802a6b6dad86'/>
<id>urn:sha1:e888d470e91ee4e027871d850766802a6b6dad86</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Prevent promotion of const fn calls in inline consts</title>
<updated>2023-09-21T09:00:22+00:00</updated>
<author>
<name>Oli Scherer</name>
<email>git-spam-no-reply9815368754983@oli-obk.de</email>
</author>
<published>2023-09-18T15:30:07+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=9c762b58ba9f46e806f7e07b80ef59b45de87471'/>
<id>urn:sha1:9c762b58ba9f46e806f7e07b80ef59b45de87471</id>
<content type='text'>
</content>
</entry>
<entry>
<title>implement -Z ignore-directory-in-diagnostics-source-blocks</title>
<updated>2023-09-15T14:22:50+00:00</updated>
<author>
<name>Pietro Albini</name>
<email>pietro.albini@ferrous-systems.com</email>
</author>
<published>2023-09-15T13:32:34+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=d695b95e3beb872fef59d57bba0339f6b55f3e14'/>
<id>urn:sha1:d695b95e3beb872fef59d57bba0339f6b55f3e14</id>
<content type='text'>
</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>Auto merge of #115513 - Urgau:normalize-msg-after-translate, r=petrochenkov</title>
<updated>2023-09-04T10:02:57+00:00</updated>
<author>
<name>bors</name>
<email>bors@rust-lang.org</email>
</author>
<published>2023-09-04T10:02:57+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=bf1e3f31f95c0f75b9bf51a58e8684f750f919f2'/>
<id>urn:sha1:bf1e3f31f95c0f75b9bf51a58e8684f750f919f2</id>
<content type='text'>
Don't forget to normalize the translated message

This PR adds a missing call to `normalize_whitespace` after translating an label.

Fixes https://github.com/rust-lang/rust/issues/115498
</content>
</entry>
</feed>
