<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/compiler/rustc_codegen_llvm/src/debuginfo, branch 1.62.0</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.62.0</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.62.0'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2022-05-07T06:30:29+00:00</updated>
<entry>
<title>Auto merge of #96094 - Elliot-Roberts:fix_doctests, r=compiler-errors</title>
<updated>2022-05-07T06:30:29+00:00</updated>
<author>
<name>bors</name>
<email>bors@rust-lang.org</email>
</author>
<published>2022-05-07T06:30:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=574830f5730f2cfc3abdb486428d33d541c0abee'/>
<id>urn:sha1:574830f5730f2cfc3abdb486428d33d541c0abee</id>
<content type='text'>
Begin fixing all the broken doctests in `compiler/`

Begins to fix #95994.
All of them pass now but 24 of them I've marked with `ignore HELP (&lt;explanation&gt;)` (asking for help) as I'm unsure how to get them to work / if we should leave them as they are.
There are also a few that I marked `ignore` that could maybe be made to work but seem less important.
Each `ignore` has a rough "reason" for ignoring after it parentheses, with

- `(pseudo-rust)` meaning "mostly rust-like but contains foreign syntax"
- `(illustrative)` a somewhat catchall for either a fragment of rust that doesn't stand on its own (like a lone type), or abbreviated rust with ellipses and undeclared types that would get too cluttered if made compile-worthy.
- `(not-rust)` stuff that isn't rust but benefits from the syntax highlighting, like MIR.
- `(internal)` uses `rustc_*` code which would be difficult to make work with the testing setup.

Those reason notes are a bit inconsistently applied and messy though. If that's important I can go through them again and try a more principled approach. When I run `rg '```ignore \(' .` on the repo, there look to be lots of different conventions other people have used for this sort of thing. I could try unifying them all if that would be helpful.

I'm not sure if there was a better existing way to do this but I wrote my own script to help me run all the doctests and wade through the output. If that would be useful to anyone else, I put it here: https://github.com/Elliot-Roberts/rust_doctest_fixing_tool
</content>
</entry>
<entry>
<title>fix most compiler/ doctests</title>
<updated>2022-05-03T00:40:30+00:00</updated>
<author>
<name>Elliot Roberts</name>
<email>Elliot0000101@gmail.com</email>
</author>
<published>2022-04-15T22:04:34+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=7907385999b4a83d37ed31d334f3ed9ca02983a1'/>
<id>urn:sha1:7907385999b4a83d37ed31d334f3ed9ca02983a1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>rustc: Panic by default in `DefIdTree::parent`</title>
<updated>2022-05-01T22:56:50+00:00</updated>
<author>
<name>Vadim Petrochenkov</name>
<email>vadim.petrochenkov@gmail.com</email>
</author>
<published>2022-04-25T19:08:45+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=5b5964f569ca07ba54710cb440aacaa1cf1e5c1a'/>
<id>urn:sha1:5b5964f569ca07ba54710cb440aacaa1cf1e5c1a</id>
<content type='text'>
Only crate root def-ids don't have a parent, and in majority of cases the argument of `DefIdTree::parent` cannot be a crate root.
So we now panic by default in `parent` and introduce a new non-panicing function `opt_parent` for cases where the argument can be a crate root.

Same applies to `local_parent`/`opt_local_parent`.
</content>
</entry>
<entry>
<title>not need `Option` for `dbg_scope`</title>
<updated>2022-04-26T13:00:19+00:00</updated>
<author>
<name>SparrowLii</name>
<email>liyuan179@huawei.com</email>
</author>
<published>2022-04-26T13:00:19+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=843e8d19ec9dc0f1c0ddd700210761aef2b180d5'/>
<id>urn:sha1:843e8d19ec9dc0f1c0ddd700210761aef2b180d5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>debuginfo: Emit ZST struct debuginfo for unit type when CPP-like debuginfo is enabled (instead of custom basic type).</title>
<updated>2022-04-22T12:59:35+00:00</updated>
<author>
<name>Michael Woerister</name>
<email>michaelwoerister@posteo</email>
</author>
<published>2022-04-22T10:07:32+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=8b230086fa4b22c647129a8c84fa0bdfc6d82a0d'/>
<id>urn:sha1:8b230086fa4b22c647129a8c84fa0bdfc6d82a0d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>couple of clippy::perf fixes</title>
<updated>2022-04-13T20:18:28+00:00</updated>
<author>
<name>Matthias Krüger</name>
<email>matthias.krueger@famsik.de</email>
</author>
<published>2022-04-13T20:18:28+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=bbd7ce690452f28d459643d97fbae89109cf5808'/>
<id>urn:sha1:bbd7ce690452f28d459643d97fbae89109cf5808</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove NodeIdHashingMode.</title>
<updated>2022-04-12T17:59:32+00:00</updated>
<author>
<name>Camille GILLOT</name>
<email>gillot.camille@gmail.com</email>
</author>
<published>2022-04-04T20:19:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=443333dc1f8d464ed9f3d166a847f4703ad078ae'/>
<id>urn:sha1:443333dc1f8d464ed9f3d166a847f4703ad078ae</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Mark scalar layout unions so that backends that do not support partially initialized scalars can special case them.</title>
<updated>2022-04-05T13:18:21+00:00</updated>
<author>
<name>Oli Scherer</name>
<email>git-spam-no-reply9815368754983@oli-obk.de</email>
</author>
<published>2022-03-03T12:02:12+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=d32ce37a171663048a4c4a536803434e40f52bd6'/>
<id>urn:sha1:d32ce37a171663048a4c4a536803434e40f52bd6</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Spellchecking compiler code</title>
<updated>2022-03-30T05:42:10+00:00</updated>
<author>
<name>Yuri Astrakhan</name>
<email>YuriAstrakhan@gmail.com</email>
</author>
<published>2022-03-30T05:42:10+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=a9cc3f6564e4563df568a09b42984313446dc2d3'/>
<id>urn:sha1:a9cc3f6564e4563df568a09b42984313446dc2d3</id>
<content type='text'>
Address some spelling mistakes in strings, private function names, and function params.
</content>
</entry>
<entry>
<title>Auto merge of #95300 - workingjubilee:less-bitsets, r=eddyb</title>
<updated>2022-03-28T05:48:25+00:00</updated>
<author>
<name>bors</name>
<email>bors@rust-lang.org</email>
</author>
<published>2022-03-28T05:48:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=13c9fc38c94969ce4b91615bc803d923be8e0f51'/>
<id>urn:sha1:13c9fc38c94969ce4b91615bc803d923be8e0f51</id>
<content type='text'>
Skip needless bitset for debuginfo

Found this while digging around looking at the inlining logic.
Seemed obvious enough so I decided to try to take care of it.
Is this what you had in mind, `@eddyb?`
</content>
</entry>
</feed>
