rust/compiler/rustc_resolve/src
Matthias Krüger d774fbea7c
Rollup merge of #119365 - nbdd0121:asm-goto, r=Amanieu
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``
2024-03-08 08:19:17 +01:00
..
diagnostics Implement the unused_macro_rules lint 2022-05-05 19:13:00 +02:00
late Rename DiagnosticMetadata as DiagMetadata. 2024-03-05 12:15:13 +11:00
build_reduced_graph.rs Eliminate all non-CRATE_DEF_ID uses of feed_def_id 2024-03-05 05:51:44 +00:00
check_unused.rs Fix redundant import errors for preload extern crate 2024-03-06 21:29:33 +08:00
def_collector.rs Bubble up the TyCtxtFeed 2024-03-05 05:45:03 +00:00
diagnostics.rs avoid overlapping privacy suggestion for single nested imports 2024-03-06 21:17:12 +08:00
effective_visibilities.rs Delegation implementation: step 1 2024-01-12 14:11:16 +03:00
errors.rs Rollup merge of #121130 - chenyukang:yukang-fix-121061-macro-later, r=matthiaskrgr 2024-03-04 07:57:56 +01:00
ident.rs avoid overlapping privacy suggestion for single nested imports 2024-03-06 21:17:12 +08:00
imports.rs Auto merge of #122113 - matthiaskrgr:rollup-5d1jnwi, r=matthiaskrgr 2024-03-07 02:30:40 +00:00
late.rs Rollup merge of #119365 - nbdd0121:asm-goto, r=Amanieu 2024-03-08 08:19:17 +01:00
lib.rs Rollup merge of #121089 - oli-obk:create_def_feed, r=petrochenkov 2024-03-07 18:32:47 +01:00
macros.rs Rename BuiltinLintDiagnostics as BuiltinLintDiag. 2024-03-05 12:15:10 +11:00
rustdoc.rs NFC don't convert types to identical types 2023-12-15 23:56:24 +01:00