<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/compiler/rustc_errors/src/json, branch 1.80.0</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.80.0</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.80.0'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2024-02-29T06:50:26+00:00</updated>
<entry>
<title>Make `JsonEmitter` more like `HumanEmitter`.</title>
<updated>2024-02-29T06:50:26+00:00</updated>
<author>
<name>Nicholas Nethercote</name>
<email>n.nethercote@gmail.com</email>
</author>
<published>2024-02-29T05:03:59+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=9ff4487999ccd02065ec56fdc8cee665feae9680'/>
<id>urn:sha1:9ff4487999ccd02065ec56fdc8cee665feae9680</id>
<content type='text'>
Use `derive(Setters)` to derive setters, and then change
`JsonEmitter::new` to only have the arguments that are always used.
</content>
</entry>
<entry>
<title>Inline and remove `HumanEmitter::stderr`.</title>
<updated>2024-02-29T06:50:23+00:00</updated>
<author>
<name>Nicholas Nethercote</name>
<email>n.nethercote@gmail.com</email>
</author>
<published>2024-02-29T04:37:38+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=067d7c3d00a05989bd4b7d4b5648d61748f80848'/>
<id>urn:sha1:067d7c3d00a05989bd4b7d4b5648d61748f80848</id>
<content type='text'>
Because `HumanEmitter::new` is enough, in conjunction with the (renamed)
`stderr_destination` function.
</content>
</entry>
<entry>
<title>Inline and remove `HumanReadableErrorType::new_emitter`.</title>
<updated>2024-02-29T06:16:27+00:00</updated>
<author>
<name>Nicholas Nethercote</name>
<email>n.nethercote@gmail.com</email>
</author>
<published>2024-02-29T03:47:09+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=437325bdd4e5fc54b0f78491e63fa386ebfffbba'/>
<id>urn:sha1:437325bdd4e5fc54b0f78491e63fa386ebfffbba</id>
<content type='text'>
And likewise with `ColorConfig::suggests_using_colors`. They both have a
single call site. And note that `BufWriter::supports_color()` always
returns false, which enables a small bit of constant folding along the
way.
</content>
</entry>
<entry>
<title>Rename `DiagCtxt::with_emitter` as `DiagCtxt::new`.</title>
<updated>2024-02-29T05:30:12+00:00</updated>
<author>
<name>Nicholas Nethercote</name>
<email>n.nethercote@gmail.com</email>
</author>
<published>2024-02-29T00:50:32+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=880c1c585f1252a8b63b402b44def940cac6f134'/>
<id>urn:sha1:880c1c585f1252a8b63b402b44def940cac6f134</id>
<content type='text'>
Because it's now the only constructor.
</content>
</entry>
<entry>
<title>Rename many `DiagCtxt` and `EarlyDiagCtxt` locals.</title>
<updated>2023-12-18T05:06:22+00:00</updated>
<author>
<name>Nicholas Nethercote</name>
<email>n.nethercote@gmail.com</email>
</author>
<published>2023-12-18T00:15:13+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=f6aa418c9f616ae898d01082f8fe324927295d9c'/>
<id>urn:sha1:f6aa418c9f616ae898d01082f8fe324927295d9c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rename `Handler` as `DiagCtxt`.</title>
<updated>2023-12-18T05:06:19+00:00</updated>
<author>
<name>Nicholas Nethercote</name>
<email>n.nethercote@gmail.com</email>
</author>
<published>2023-12-17T10:48:57+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=cde19c016e4608288a02f5bdec0b5330d474c26f'/>
<id>urn:sha1:cde19c016e4608288a02f5bdec0b5330d474c26f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>remove redundant imports</title>
<updated>2023-12-10T02:56:22+00:00</updated>
<author>
<name>surechen</name>
<email>chenshuo17@huawei.com</email>
</author>
<published>2023-11-10T02:11:24+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=40ae34194c586eea3614d3216322053d2e8e7b37'/>
<id>urn:sha1:40ae34194c586eea3614d3216322053d2e8e7b37</id>
<content type='text'>
detects redundant imports that can be eliminated.

for #117772 :

In order to facilitate review and modification, split the checking code and
removing redundant imports code into two PR.
</content>
</entry>
<entry>
<title>Use a builder instead of boolean/option arguments</title>
<updated>2023-07-25T13:51:15+00:00</updated>
<author>
<name>Oli Scherer</name>
<email>git-spam-no-reply9815368754983@oli-obk.de</email>
</author>
<published>2023-07-25T10:27:34+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=2b444672e10d1a019c194729b9e4800d39904459'/>
<id>urn:sha1:2b444672e10d1a019c194729b9e4800d39904459</id>
<content type='text'>
</content>
</entry>
<entry>
<title>On nightly, dump ICE backtraces to disk</title>
<updated>2023-07-19T14:10:07+00:00</updated>
<author>
<name>Esteban Küber</name>
<email>esteban@kuber.com.ar</email>
</author>
<published>2023-03-03T22:25:18+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=8eb5843a592afbee8ae5352828f8f0b74034b9e0'/>
<id>urn:sha1:8eb5843a592afbee8ae5352828f8f0b74034b9e0</id>
<content type='text'>
Implement rust-lang/compiler-team#578.

When an ICE is encountered on nightly releases, the new rustc panic
handler will also write the contents of the backtrace to disk. If any
`delay_span_bug`s are encountered, their backtrace is also added to the
file. The platform and rustc version will also be collected.
</content>
</entry>
<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>
</feed>
