<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/compiler/rustc_monomorphize/src/errors.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-08-30T18:43:31+00:00</updated>
<entry>
<title>Emit error instead of ICE when optimized MIR is missing</title>
<updated>2023-08-30T18:43:31+00:00</updated>
<author>
<name>Martin Nordholts</name>
<email>enselic@gmail.com</email>
</author>
<published>2023-08-29T17:29:14+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=456007af125d3822285135659ea5ea0b67084b66'/>
<id>urn:sha1:456007af125d3822285135659ea5ea0b67084b66</id>
<content type='text'>
Closes 51388.
</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>session: diagnostic migration lint on more fns</title>
<updated>2023-01-30T17:11:35+00:00</updated>
<author>
<name>David Wood</name>
<email>david.wood@huawei.com</email>
</author>
<published>2022-08-19T13:48:15+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=2575b1abc97e1352b307163ac7de2142aded22a5'/>
<id>urn:sha1:2575b1abc97e1352b307163ac7de2142aded22a5</id>
<content type='text'>
Apply the diagnostic migration lint to more functions on `Session`.

Signed-off-by: David Wood &lt;david.wood@huawei.com&gt;
</content>
</entry>
<entry>
<title>Use newtype for unused generic parameters</title>
<updated>2023-01-09T18:10:00+00:00</updated>
<author>
<name>Nilstrieb</name>
<email>48135649+Nilstrieb@users.noreply.github.com</email>
</author>
<published>2022-12-01T17:57:53+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=2855794257e36ec7393f3b7d8f4b99e5776f550f'/>
<id>urn:sha1:2855794257e36ec7393f3b7d8f4b99e5776f550f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix `uninlined_format_args` for some compiler crates</title>
<updated>2023-01-05T18:01:12+00:00</updated>
<author>
<name>nils</name>
<email>48135649+Nilstrieb@users.noreply.github.com</email>
</author>
<published>2022-12-19T09:31:55+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=fd7a15971069156f1741fb3a3c34c9f0c54d5744'/>
<id>urn:sha1:fd7a15971069156f1741fb3a3c34c9f0c54d5744</id>
<content type='text'>
Convert all the crates that have had their diagnostic migration
completed (except save_analysis because that will be deleted soon and
apfloat because of the licensing problem).
</content>
</entry>
<entry>
<title>add `-Z dump-mono-stats`</title>
<updated>2022-12-14T20:17:52+00:00</updated>
<author>
<name>Rémy Rakic</name>
<email>remy.rakic+github@gmail.com</email>
</author>
<published>2022-12-08T19:21:08+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=7611933e6af6909dbfb4f38596f8fdd4e3b57a8d'/>
<id>urn:sha1:7611933e6af6909dbfb4f38596f8fdd4e3b57a8d</id>
<content type='text'>
This option will output some stats from the monomorphization collection
pass to a file, to show estimated sizes from each instantiation.
</content>
</entry>
<entry>
<title>Auto merge of #103217 - mejrs:track, r=eholk</title>
<updated>2022-11-01T21:09:45+00:00</updated>
<author>
<name>bors</name>
<email>bors@rust-lang.org</email>
</author>
<published>2022-11-01T21:09:45+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=11ebe6512b4c77633c59f8dcdd421df3b79d1a9f'/>
<id>urn:sha1:11ebe6512b4c77633c59f8dcdd421df3b79d1a9f</id>
<content type='text'>
Track where diagnostics were created.

This implements the `-Ztrack-diagnostics` flag, which uses `#[track_caller]` to track where diagnostics are created. It is meant as a debugging tool much like `-Ztreat-err-as-bug`.

For example, the following code...

```rust
struct A;
struct B;

fn main(){
    let _: A = B;
}
```
...now emits the following error message:

```
error[E0308]: mismatched types
 --&gt; src\main.rs:5:16
  |
5 |     let _: A = B;
  |            -   ^ expected struct `A`, found struct `B`
  |            |
  |            expected due to this
-Ztrack-diagnostics: created at compiler\rustc_infer\src\infer\error_reporting\mod.rs:2275:31
```
</content>
</entry>
<entry>
<title>Add more track_caller</title>
<updated>2022-10-31T15:14:29+00:00</updated>
<author>
<name>mejrs</name>
<email></email>
</author>
<published>2022-10-31T15:14:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=cbeb244b0588f8d442514a2b7ab95a6021f9863f'/>
<id>urn:sha1:cbeb244b0588f8d442514a2b7ab95a6021f9863f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Use tcx.require_lang_item</title>
<updated>2022-10-29T21:09:15+00:00</updated>
<author>
<name>Cameron Steffen</name>
<email>cam.steffen94@gmail.com</email>
</author>
<published>2022-10-29T21:09:15+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=88d71504dd7a5d790e9c6ff7a91fcbd82e3aef14'/>
<id>urn:sha1:88d71504dd7a5d790e9c6ff7a91fcbd82e3aef14</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Migrate all diagnostics</title>
<updated>2022-10-23T08:09:44+00:00</updated>
<author>
<name>Nilstrieb</name>
<email>48135649+Nilstrieb@users.noreply.github.com</email>
</author>
<published>2022-10-22T09:07:54+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=c65ebae2216119d23d88bbfea78192a3d950c4f3'/>
<id>urn:sha1:c65ebae2216119d23d88bbfea78192a3d950c4f3</id>
<content type='text'>
</content>
</entry>
</feed>
