<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/compiler/rustc_errors/src/json, branch 1.69.0</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.69.0</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.69.0'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2023-02-22T09:15:54+00:00</updated>
<entry>
<title>various: translation resources from cg backend</title>
<updated>2023-02-22T09:15:54+00:00</updated>
<author>
<name>David Wood</name>
<email>david.wood@huawei.com</email>
</author>
<published>2022-10-17T13:11:26+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=26255186e2e94e0fe62cfd0965662494b6aab27c'/>
<id>urn:sha1:26255186e2e94e0fe62cfd0965662494b6aab27c</id>
<content type='text'>
Extend `CodegenBackend` trait with a function returning the translation
resources from the codegen backend, which can be added to the complete
list of resources provided to the emitter.

Signed-off-by: David Wood &lt;david.wood@huawei.com&gt;
</content>
</entry>
<entry>
<title>errors: generate typed identifiers in each crate</title>
<updated>2023-02-22T09:15:53+00:00</updated>
<author>
<name>David Wood</name>
<email>david.wood@huawei.com</email>
</author>
<published>2022-10-13T09:13:02+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=d1fcf611175e695c35c6cc0537d710277c1a5c6f'/>
<id>urn:sha1:d1fcf611175e695c35c6cc0537d710277c1a5c6f</id>
<content type='text'>
Instead of loading the Fluent resources for every crate in
`rustc_error_messages`, each crate generates typed identifiers for its
own diagnostics and creates a static which are pulled together in the
`rustc_driver` crate and provided to the diagnostic emitter.

Signed-off-by: David Wood &lt;david.wood@huawei.com&gt;
</content>
</entry>
<entry>
<title>Introduce `-Zterminal-urls` to use OSC8 for error codes</title>
<updated>2023-02-09T14:52:54+00:00</updated>
<author>
<name>Esteban Küber</name>
<email>esteban@kuber.com.ar</email>
</author>
<published>2023-02-09T10:16:00+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=a576514e13d5608ab48847958c2b97ab5ab01d85'/>
<id>urn:sha1:a576514e13d5608ab48847958c2b97ab5ab01d85</id>
<content type='text'>
Terminals supporting the OSC8 Hyperlink Extension can support inline
anchors where the text is user defineable but clicking on it opens a
browser to a specified URLs, just like `&lt;a href="URL"&gt;` does in HTML.

https://gist.github.com/egmontkob/eb114294efbcd5adb1944c9f3cb5feda
</content>
</entry>
<entry>
<title>Implement -Ztrack-diagnostics</title>
<updated>2022-10-18T22:08:20+00:00</updated>
<author>
<name>mejrs</name>
<email></email>
</author>
<published>2022-10-18T22:08:20+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=406e1dc8ebdeb509515c0c8be7cfe015c5eced30'/>
<id>urn:sha1:406e1dc8ebdeb509515c0c8be7cfe015c5eced30</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Use serde_json for json error messages</title>
<updated>2022-06-03T16:46:19+00:00</updated>
<author>
<name>bjorn3</name>
<email>bjorn3@users.noreply.github.com</email>
</author>
<published>2021-06-03T19:14:15+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=62a4f91a5a7c8c89e3eb681e6218d637ef419181'/>
<id>urn:sha1:62a4f91a5a7c8c89e3eb681e6218d637ef419181</id>
<content type='text'>
</content>
</entry>
<entry>
<title>errors: lazily load fallback fluent bundle</title>
<updated>2022-04-13T01:44:59+00:00</updated>
<author>
<name>David Wood</name>
<email>david.wood@huawei.com</email>
</author>
<published>2022-04-12T08:34:40+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=9bfe0e39e4214c9a76e6c38350286176fa73787a'/>
<id>urn:sha1:9bfe0e39e4214c9a76e6c38350286176fa73787a</id>
<content type='text'>
Loading the fallback bundle in compilation sessions that won't go on to
emit any errors unnecessarily degrades compile time performance, so
lazily create the Fluent bundle when it is first required.

Signed-off-by: David Wood &lt;david.wood@huawei.com&gt;
</content>
</entry>
<entry>
<title>session: opt for enabling directionality markers</title>
<updated>2022-04-05T06:01:03+00:00</updated>
<author>
<name>David Wood</name>
<email>david.wood@huawei.com</email>
</author>
<published>2022-04-03T03:53:01+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=3c2f864ffbf0e3d01f3f684acbd0ee602619bf19'/>
<id>urn:sha1:3c2f864ffbf0e3d01f3f684acbd0ee602619bf19</id>
<content type='text'>
Add an option for enabling and disabling Fluent's directionality
isolation markers in output. Disabled by default as these can render in
some terminals and applications.

Signed-off-by: David Wood &lt;david.wood@huawei.com&gt;
</content>
</entry>
<entry>
<title>errors: implement sysroot/testing bundle loading</title>
<updated>2022-04-05T06:01:02+00:00</updated>
<author>
<name>David Wood</name>
<email>david.wood@huawei.com</email>
</author>
<published>2022-03-28T08:36:20+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=d5119c5b9f1f71090d078e945ea6b5d39d08cffa'/>
<id>urn:sha1:d5119c5b9f1f71090d078e945ea6b5d39d08cffa</id>
<content type='text'>
Extend loading of Fluent bundles so that bundles can be loaded from the
sysroot based on the language requested by the user, or using a nightly
flag.

Sysroot bundles are loaded from `$sysroot/share/locale/$locale/*.ftl`.

Signed-off-by: David Wood &lt;david.wood@huawei.com&gt;
</content>
</entry>
<entry>
<title>errors: implement fallback diagnostic translation</title>
<updated>2022-04-05T06:01:02+00:00</updated>
<author>
<name>David Wood</name>
<email>david.wood@huawei.com</email>
</author>
<published>2022-03-26T07:27:43+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=7f91697b5035f8620df4de47057024c3539b55a6'/>
<id>urn:sha1:7f91697b5035f8620df4de47057024c3539b55a6</id>
<content type='text'>
This commit updates the signatures of all diagnostic functions to accept
types that can be converted into a `DiagnosticMessage`. This enables
existing diagnostic calls to continue to work as before and Fluent
identifiers to be provided. The `SessionDiagnostic` derive just
generates normal diagnostic calls, so these APIs had to be modified to
accept Fluent identifiers.

In addition, loading of the "fallback" Fluent bundle, which contains the
built-in English messages, has been implemented.

Each diagnostic now has "arguments" which correspond to variables in the
Fluent messages (necessary to render a Fluent message) but no API for
adding arguments has been added yet. Therefore, diagnostics (that do not
require interpolation) can be converted to use Fluent identifiers and
will be output as before.
</content>
</entry>
<entry>
<title>Remove support for JSON deserialization to Rust</title>
<updated>2022-02-20T23:58:21+00:00</updated>
<author>
<name>Mark Rousskov</name>
<email>mark.simulacrum@gmail.com</email>
</author>
<published>2022-02-09T22:05:44+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=60b71f56e73fc139eababa00aa8f1b740cb7d445'/>
<id>urn:sha1:60b71f56e73fc139eababa00aa8f1b740cb7d445</id>
<content type='text'>
This is no longer used by the compiler itself, and removing this support opens
the door to massively simplifying the Decodable/Decoder API by dropping the
self-describing deserialization support (necessary for JSON).
</content>
</entry>
</feed>
