<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/compiler/rustc_codegen_ssa/src/assert_module_sources.rs, branch 1.77.1</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.77.1</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.77.1'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2024-01-30T15:57:51+00:00</updated>
<entry>
<title>Rollup merge of #120485 - chenyukang:yukang-add-query-instability-check, r=michaelwoerister</title>
<updated>2024-01-30T15:57:51+00:00</updated>
<author>
<name>Guillaume Gomez</name>
<email>guillaume1.gomez@gmail.com</email>
</author>
<published>2024-01-30T15:57:51+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=27bc49656462c48f3b98ac1d8ce2b06d446e5ad3'/>
<id>urn:sha1:27bc49656462c48f3b98ac1d8ce2b06d446e5ad3</id>
<content type='text'>
add missing potential_query_instability for keys and values in hashmap

From https://github.com/rust-lang/rust/pull/120435#discussion_r1468883787,

These API are also returning iterator, so we need add `potential_query_instability` for them?
</content>
</entry>
<entry>
<title>Remove the lifetime from `DiagnosticArgValue`.</title>
<updated>2024-01-30T07:46:06+00:00</updated>
<author>
<name>Nicholas Nethercote</name>
<email>n.nethercote@gmail.com</email>
</author>
<published>2024-01-30T04:27:16+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=5350edb9e8f4e194a2cad9a41b81d97a8ed52fab'/>
<id>urn:sha1:5350edb9e8f4e194a2cad9a41b81d97a8ed52fab</id>
<content type='text'>
Because it's almost always static.

This makes `impl IntoDiagnosticArg for DiagnosticArgValue` trivial,
which is nice.

There are a few diagnostics constructed in
`compiler/rustc_mir_build/src/check_unsafety.rs` and
`compiler/rustc_mir_transform/src/errors.rs` that now need symbols
converted to `String` with `to_string` instead of `&amp;str` with `as_str`,
but that' no big deal, and worth it for the simplifications elsewhere.
</content>
</entry>
<entry>
<title>add missing potential_query_instability for keys and values in hashmap</title>
<updated>2024-01-30T04:43:10+00:00</updated>
<author>
<name>yukang</name>
<email>moorekang@gmail.com</email>
</author>
<published>2024-01-30T04:42:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=ad526d831e295facc198610a27350076aa5aa438'/>
<id>urn:sha1:ad526d831e295facc198610a27350076aa5aa438</id>
<content type='text'>
</content>
</entry>
<entry>
<title>rustc_codegen_ssa: Enforce `rustc::potential_query_instability` lint</title>
<updated>2024-01-13T15:05:53+00:00</updated>
<author>
<name>Jakub Beránek</name>
<email>berykubik@gmail.com</email>
</author>
<published>2023-12-29T12:41:35+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=4612edc53f998994cffaa1b5856d624ad3910c18'/>
<id>urn:sha1:4612edc53f998994cffaa1b5856d624ad3910c18</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove `Session` methods that duplicate `DiagCtxt` methods.</title>
<updated>2023-12-23T21:05:28+00:00</updated>
<author>
<name>Nicholas Nethercote</name>
<email>n.nethercote@gmail.com</email>
</author>
<published>2023-12-18T11:21:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=99472c7049783605444ab888a97059d0cce93a12'/>
<id>urn:sha1:99472c7049783605444ab888a97059d0cce93a12</id>
<content type='text'>
Also add some `dcx` methods to types that wrap `TyCtxt`, for easier
access.
</content>
</entry>
<entry>
<title>rustc_codegen_ssa: Don't let `IncorrectCguReuseType` errors get lost</title>
<updated>2023-12-19T19:20:40+00:00</updated>
<author>
<name>Martin Nordholts</name>
<email>martin.nordholts@codetale.se</email>
</author>
<published>2023-12-12T15:47:32+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=d46df80c73aefdbad1a872337c3708f51ff3c376'/>
<id>urn:sha1:d46df80c73aefdbad1a872337c3708f51ff3c376</id>
<content type='text'>
In [100753], `IncorrectCguReuseType` accidentally stopped being emitted.
Begin emitting it again rather than just blindly dropping it, and adjust
tests accordingly.

[100753]: https://github.com/rust-lang/rust/pull/100753/commits/706452eba74026c51e8d0fa30aee2497c69eafc0#diff-048389738ddcbe0f9765291a29db1fed9a5f03693d4781cfb5aaa97ffb3c7f84
</content>
</entry>
<entry>
<title>rustc_codegen_ssa: Remove trailing spaces in Display impl for CguReuse</title>
<updated>2023-12-14T15:49:18+00:00</updated>
<author>
<name>Martin Nordholts</name>
<email>martin.nordholts@codetale.se</email>
</author>
<published>2023-12-12T15:09:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=2ddd8b4f190822ab4805bae7008264eb118ba748'/>
<id>urn:sha1:2ddd8b4f190822ab4805bae7008264eb118ba748</id>
<content type='text'>
Otherwise errors will look like this:

    error: CGU-reuse for `cgu_invalidated_via_import-bar` is `PreLto ` but should be `PostLto `
</content>
</entry>
<entry>
<title>Fix `clippy::needless_borrow` in the compiler</title>
<updated>2023-11-21T19:13:40+00:00</updated>
<author>
<name>Nilstrieb</name>
<email>48135649+Nilstrieb@users.noreply.github.com</email>
</author>
<published>2023-11-21T19:07:32+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=21a870515b18e5b2b90435d0f1a6d3089b5217ae'/>
<id>urn:sha1:21a870515b18e5b2b90435d0f1a6d3089b5217ae</id>
<content type='text'>
`x clippy compiler -Aclippy::all -Wclippy::needless_borrow --fix`.

Then I had to remove a few unnecessary parens and muts that were exposed
now.
</content>
</entry>
<entry>
<title>Fix review comments</title>
<updated>2023-10-09T18:39:43+00:00</updated>
<author>
<name>bjorn3</name>
<email>17426603+bjorn3@users.noreply.github.com</email>
</author>
<published>2023-10-05T09:49:10+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=f0b5820fa5b29d840e700ee5d760b55d291311c3'/>
<id>urn:sha1:f0b5820fa5b29d840e700ee5d760b55d291311c3</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove interior mutability from CguReuseTracker</title>
<updated>2023-10-09T18:39:43+00:00</updated>
<author>
<name>bjorn3</name>
<email>17426603+bjorn3@users.noreply.github.com</email>
</author>
<published>2023-09-19T11:26:46+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=7f5af72e64ec08addd1398c7b809f149f5ff57c5'/>
<id>urn:sha1:7f5af72e64ec08addd1398c7b809f149f5ff57c5</id>
<content type='text'>
</content>
</entry>
</feed>
