<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/compiler/rustc_borrowck/src/lib.rs, branch 1.78.0</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.78.0</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.78.0'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2024-03-11T17:19:37+00:00</updated>
<entry>
<title>Make `DefiningAnchor::Bind` only store the opaque types that may be constrained, instead of the current infcx root item.</title>
<updated>2024-03-11T17:19:37+00:00</updated>
<author>
<name>Oli Scherer</name>
<email>git-spam-no-reply9815368754983@oli-obk.de</email>
</author>
<published>2024-02-29T12:21:20+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=40d56095486558e8b3a9ff11a0f0298e29c3fd65'/>
<id>urn:sha1:40d56095486558e8b3a9ff11a0f0298e29c3fd65</id>
<content type='text'>
This makes `Bind` almost always be empty, so we can start forwarding it to queries, allowing us to remove `Bubble` entirely
</content>
</entry>
<entry>
<title>Rollup merge of #121563 - Jarcho:use_cf, r=petrochenkov</title>
<updated>2024-03-08T12:22:26+00:00</updated>
<author>
<name>Matthias Krüger</name>
<email>matthias.krueger@famsik.de</email>
</author>
<published>2024-03-08T12:22:26+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=3e634f8c5c461f2377ea74d69ef8b669f7f28c24'/>
<id>urn:sha1:3e634f8c5c461f2377ea74d69ef8b669f7f28c24</id>
<content type='text'>
Use `ControlFlow` in visitors.

Follow up to #121256

This does have a few small behaviour changes in some diagnostic output where the visitor will now find the first match rather than the last match. The change in `find_anon_types.rs` has the only affected test. I don't see this being an issue as the last occurrence isn't any better of a choice than the first.
</content>
</entry>
<entry>
<title>Rollup merge of #119365 - nbdd0121:asm-goto, r=Amanieu</title>
<updated>2024-03-08T07:19:17+00:00</updated>
<author>
<name>Matthias Krüger</name>
<email>matthias.krueger@famsik.de</email>
</author>
<published>2024-03-08T07:19:17+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=d774fbea7c6cff6e929864f2e3fac4ae6cc88b44'/>
<id>urn:sha1:d774fbea7c6cff6e929864f2e3fac4ae6cc88b44</id>
<content type='text'>
Add asm goto support to `asm!`

Tracking issue: #119364

This PR implements asm-goto support, using the syntax described in "future possibilities" section of [RFC2873](https://rust-lang.github.io/rfcs/2873-inline-asm.html#asm-goto).

Currently I have only implemented the `label` part, not the `fallthrough` part (i.e. fallthrough is implicit). This doesn't reduce the expressive though, since you can use label-break to get arbitrary control flow or simply set a value and rely on jump threading optimisation to get the desired control flow. I can add that later if deemed necessary.

r? ``@Amanieu``
cc ``@ojeda``
</content>
</entry>
<entry>
<title>Use `ControlFlow` in HIR visitors</title>
<updated>2024-03-06T01:06:08+00:00</updated>
<author>
<name>Jason Newcomb</name>
<email>jsnewcomb@pm.me</email>
</author>
<published>2024-02-24T07:53:05+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=822b10d4288cc32e5914b1874b585e6f24ef0c28'/>
<id>urn:sha1:822b10d4288cc32e5914b1874b585e6f24ef0c28</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rename `DiagnosticBuilder` as `Diag`.</title>
<updated>2024-02-27T21:55:35+00:00</updated>
<author>
<name>Nicholas Nethercote</name>
<email>n.nethercote@gmail.com</email>
</author>
<published>2024-02-22T23:20:45+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=899cb40809a85eb9d89f6da3268713b83175360a'/>
<id>urn:sha1:899cb40809a85eb9d89f6da3268713b83175360a</id>
<content type='text'>
Much better!

Note that this involves renaming (and updating the value of)
`DIAGNOSTIC_BUILDER` in clippy.
</content>
</entry>
<entry>
<title>Implement asm goto in MIR and MIR lowering</title>
<updated>2024-02-24T18:50:09+00:00</updated>
<author>
<name>Gary Guo</name>
<email>gary@garyguo.net</email>
</author>
<published>2023-12-26T16:07:35+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=3b1dd1bfa97aa9775109266f9932027a99362b0d'/>
<id>urn:sha1:3b1dd1bfa97aa9775109266f9932027a99362b0d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Change InlineAsm to allow multiple targets instead</title>
<updated>2024-02-24T18:50:09+00:00</updated>
<author>
<name>Gary Guo</name>
<email>gary@garyguo.net</email>
</author>
<published>2023-12-26T15:28:42+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=b044aaa905f8a97e67ea72b490ee46d6420c4680'/>
<id>urn:sha1:b044aaa905f8a97e67ea72b490ee46d6420c4680</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Reduce capabilities of `Diagnostic`.</title>
<updated>2024-02-20T02:22:17+00:00</updated>
<author>
<name>Nicholas Nethercote</name>
<email>n.nethercote@gmail.com</email>
</author>
<published>2024-02-06T05:44:30+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=f6f87798439e2ce7861da761b444fe0978335ed9'/>
<id>urn:sha1:f6f87798439e2ce7861da761b444fe0978335ed9</id>
<content type='text'>
Currently many diagnostic modifier methods are available on both
`Diagnostic` and `DiagnosticBuilder`. This commit removes most of them
from `Diagnostic`. To minimize the diff size, it keeps them within
`diagnostic.rs` but changes the surrounding `impl Diagnostic` block to
`impl DiagnosticBuilder`. (I intend to move things around later, to give
a more sensible code layout.)

`Diagnostic` keeps a few methods that it still needs, like `sub`,
`arg`, and `replace_args`.

The `forward!` macro, which defined two additional methods per call
(e.g. `note` and `with_note`), is replaced by the `with_fn!` macro,
which defines one additional method per call (e.g. `with_note`). It's
now also only used when necessary -- not all modifier methods currently
need a `with_*` form. (New ones can be easily added as necessary.)

All this also requires changing `trait AddToDiagnostic` so its methods
take `DiagnosticBuilder` instead of `Diagnostic`, which leads to many
mechanical changes. `SubdiagnosticMessageOp` gains a type parameter `G`.

There are three subdiagnostics -- `DelayedAtWithoutNewline`,
`DelayedAtWithNewline`, and `InvalidFlushedDelayedDiagnosticLevel` --
that are created within the diagnostics machinery and appended to
external diagnostics. These are handled at the `Diagnostic` level, which
means it's now hard to construct them via `derive(Diagnostic)`, so
instead we construct them by hand. This has no effect on what they look
like when printed.

There are lots of new `allow` markers for `untranslatable_diagnostics`
and `diagnostics_outside_of_impl`. This is because
`#[rustc_lint_diagnostics]` annotations were present on the `Diagnostic`
modifier methods, but missing from the `DiagnosticBuilder` modifier
methods. They're now present.
</content>
</entry>
<entry>
<title>Bump `indexmap`</title>
<updated>2024-02-13T21:03:34+00:00</updated>
<author>
<name>clubby789</name>
<email>jamie@hill-daniel.co.uk</email>
</author>
<published>2024-01-28T20:53:28+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=4de3a3af4afd30fc86ba1c5a1681f571d530d16a'/>
<id>urn:sha1:4de3a3af4afd30fc86ba1c5a1681f571d530d16a</id>
<content type='text'>
`swap` has been deprecated in favour of `swap_remove` - the behaviour
is the same though.
</content>
</entry>
<entry>
<title>remove a bunch of dead parameters in fn</title>
<updated>2024-02-12T01:51:35+00:00</updated>
<author>
<name>yukang</name>
<email>moorekang@gmail.com</email>
</author>
<published>2024-02-11T06:47:30+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=2bcbc16caf17351ef3f8d5e9faee98b48387d589'/>
<id>urn:sha1:2bcbc16caf17351ef3f8d5e9faee98b48387d589</id>
<content type='text'>
</content>
</entry>
</feed>
