<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/compiler/rustc_monomorphize/src/errors.rs, branch 1.68.2</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.68.2</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.68.2'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2023-01-09T18:10:00+00:00</updated>
<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>
<entry>
<title>FIX - adopt new Diagnostic naming in newly migrated modules</title>
<updated>2022-09-21T15:43:22+00:00</updated>
<author>
<name>Jhonny Bill Mena</name>
<email>jhonnybillm@gmail.com</email>
</author>
<published>2022-09-15T04:01:44+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=e52e2344dc574922ce4f8ddfd508f8bfdec3f404'/>
<id>urn:sha1:e52e2344dc574922ce4f8ddfd508f8bfdec3f404</id>
<content type='text'>
FIX - ambiguous Diagnostic link in docs

UPDATE - rename diagnostic_items to IntoDiagnostic and AddToDiagnostic

[Gardening] FIX - formatting via `x fmt`

FIX - rebase conflicts. NOTE: Confirm wheather or not we want to handle TargetDataLayoutErrorsWrapper this way

DELETE - unneeded allow attributes in Handler method

FIX - broken test

FIX - Rebase conflict

UPDATE - rename residual _SessionDiagnostic and fix LintDiag link
</content>
</entry>
<entry>
<title>UPDATE - rename DiagnosticHandler macro to Diagnostic</title>
<updated>2022-09-21T15:39:53+00:00</updated>
<author>
<name>Jhonny Bill Mena</name>
<email>jhonnybillm@gmail.com</email>
</author>
<published>2022-09-18T15:46:56+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=a3396b207093c01065b63b0c58f1e6654629166d'/>
<id>urn:sha1:a3396b207093c01065b63b0c58f1e6654629166d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>UPDATE - rename DiagnosticHandler trait to IntoDiagnostic</title>
<updated>2022-09-21T15:39:52+00:00</updated>
<author>
<name>Jhonny Bill Mena</name>
<email>jhonnybillm@gmail.com</email>
</author>
<published>2022-09-18T15:45:41+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=19b348fed44342d8addbbb5e8f67cda5dc8d9b95'/>
<id>urn:sha1:19b348fed44342d8addbbb5e8f67cda5dc8d9b95</id>
<content type='text'>
</content>
</entry>
</feed>
