<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/compiler/rustc_codegen_ssa/src/errors.rs, 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:53+00:00</updated>
<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>Rollup merge of #104543 - JhonnyBillM:migrate-codegen-ssa-to-diagnostics-structs-pt3, r=davidtwco</title>
<updated>2023-01-07T19:43:19+00:00</updated>
<author>
<name>Matthias Krüger</name>
<email>matthias.krueger@famsik.de</email>
</author>
<published>2023-01-07T19:43:19+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=771cfa5581fd245b0d45e839e791b10e01ebb8a7'/>
<id>urn:sha1:771cfa5581fd245b0d45e839e791b10e01ebb8a7</id>
<content type='text'>
Migrate `codegen_ssa` to diagnostics structs - [Part 3]

Completes migrating `codegen_ssa` module except 2 outstanding errors that depend on other crates:
1. [`rustc_middle::mir::interpret::InterpError`](https://github.com/rust-lang/rust/blob/b6097f2e1b2ca62e188ba53cf43bd66b06b36915/compiler/rustc_middle/src/mir/interpret/error.rs#L475): I saw `rustc_middle` is unassigned, I am open to take this work.

2.  `codegen_llvm`'s use of `fn span_invalid_monomorphization_error`, which I started to replace in the [last commit](https://github.com/rust-lang/rust/commit/9a31b3cdda78a2c0891828254fe9886e0a1cfd16) of this PR, but would like to know the team's preference on how we should keep replacing the other macros:
2.1. Update macros to expect a `Diagnostic`
2.2. Remove macros and expand the code on each use.
See [some examples of the different options in this experimental commit](https://github.com/JhonnyBillM/rust/commit/64aee83e80857dcfa450f0c6e31d5f29c6d577e6)

_Part 2 - https://github.com/rust-lang/rust/pull/103792_

r? ``@davidtwco``
Cc ``@compiler-errors``
</content>
</entry>
<entry>
<title>Don't translate --print native-static-libs output</title>
<updated>2022-12-28T17:56:31+00:00</updated>
<author>
<name>bjorn3</name>
<email>17426603+bjorn3@users.noreply.github.com</email>
</author>
<published>2022-12-28T17:24:10+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=0b54782cc8261f8e5d6e0b23785ca259a9eef6bf'/>
<id>urn:sha1:0b54782cc8261f8e5d6e0b23785ca259a9eef6bf</id>
<content type='text'>
This breaks tools that depend on the prefix
</content>
</entry>
<entry>
<title>DELETE - fn span_invalid_monomorphization_error and localize intrinsics macros</title>
<updated>2022-12-28T01:59:22+00:00</updated>
<author>
<name>Jhonny Bill Mena</name>
<email>jhonnybillm@gmail.com</email>
</author>
<published>2022-11-27T01:28:01+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=29d8c87fe88f51bdc7e6197e2e8eed7adc898f49'/>
<id>urn:sha1:29d8c87fe88f51bdc7e6197e2e8eed7adc898f49</id>
<content type='text'>
</content>
</entry>
<entry>
<title>ADD - create and emit Bug support for Diagnostics</title>
<updated>2022-12-28T01:59:22+00:00</updated>
<author>
<name>Jhonny Bill Mena</name>
<email>jhonnybillm@gmail.com</email>
</author>
<published>2022-11-23T06:07:36+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=27744460e2d0b960a55a28637ba46835484e4335'/>
<id>urn:sha1:27744460e2d0b960a55a28637ba46835484e4335</id>
<content type='text'>
UPDATE - migrate constant span_bug to translatable diagnostic.
</content>
</entry>
<entry>
<title>UPDATE - migrate fn simd_simple_float_intrinsic error messages</title>
<updated>2022-12-28T01:59:21+00:00</updated>
<author>
<name>Jhonny Bill Mena</name>
<email>jhonnybillm@gmail.com</email>
</author>
<published>2022-11-17T13:53:14+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=d1030fab229d25d3ca14b1aaa2fc8e5a6ec932a8'/>
<id>urn:sha1:d1030fab229d25d3ca14b1aaa2fc8e5a6ec932a8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>[WIP] UPDATE - migrate intrinsic.rs to new diagnostic infrastructure</title>
<updated>2022-12-28T01:59:21+00:00</updated>
<author>
<name>Jhonny Bill Mena</name>
<email>jhonnybillm@gmail.com</email>
</author>
<published>2022-11-13T19:03:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=e26366ad99a6da4df5c9b476eff00c48e50d1774'/>
<id>urn:sha1:e26366ad99a6da4df5c9b476eff00c48e50d1774</id>
<content type='text'>
WIP - replacing span_invalid_monomorphization_error function. Still in progress due to its use in codegen_llvm inside macros
</content>
</entry>
<entry>
<title>UPDATE - migrate constant.rs to new diagnostics infrastructure</title>
<updated>2022-12-28T01:59:21+00:00</updated>
<author>
<name>Jhonny Bill Mena</name>
<email>jhonnybillm@gmail.com</email>
</author>
<published>2022-11-06T15:09:24+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=d41112a8c5f0b85649b4f0e1663edf15f7f2601e'/>
<id>urn:sha1:d41112a8c5f0b85649b4f0e1663edf15f7f2601e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>UPDATE - migrate base.rs to new diagnostics infrastructure</title>
<updated>2022-12-28T01:59:19+00:00</updated>
<author>
<name>Jhonny Bill Mena</name>
<email>jhonnybillm@gmail.com</email>
</author>
<published>2022-11-17T01:08:14+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=82cf6f204aeb791c38463798e2edd6b4935f1296'/>
<id>urn:sha1:82cf6f204aeb791c38463798e2edd6b4935f1296</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Move some codegen-y methods from rustc_hir_analysis::collect -&gt; rustc_codegen_ssa</title>
<updated>2022-12-13T05:01:36+00:00</updated>
<author>
<name>Michael Goulet</name>
<email>michael@errs.io</email>
</author>
<published>2022-12-08T03:53:35+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=a8a45100a0593ed0c39ebe1b601be765a8f5fd5c'/>
<id>urn:sha1:a8a45100a0593ed0c39ebe1b601be765a8f5fd5c</id>
<content type='text'>
</content>
</entry>
</feed>
