Files
rust/tests/rustdoc
Matthias Krüger 5430082e39 Rollup merge of #148655 - GuillaumeGomez:keyword-as-macros, r=yotamofek,fmease
Fix invalid macro tag generation for keywords which can be followed by values

Fixes https://github.com/rust-lang/rust/issues/148617.

The problem didn't come from the `generate-macro-expansion` feature but was actually uncovered thanks to it.

Keywords like `if` or `return`, when followed by a `!` were considered as macros, which was wrong and let to invalid class stack and to the panic.

~~While working on it, I realized that `_` was considered as a keyword, so I fixed that as well in the second commit.~~ (reverted, see https://github.com/rust-lang/rust/pull/148655#issuecomment-3508220823, https://github.com/rust-lang/rust/pull/148655#issuecomment-3508262637)

r? `@yotamofek`
2025-11-09 20:59:54 +01:00
..
2025-08-23 11:27:03 +02:00
2025-07-28 13:34:03 +01:00
2025-02-23 22:24:00 +05:30
2025-10-28 15:44:52 +01:00
2024-06-24 11:08:41 +02:00
2024-11-03 18:59:31 +00:00
2025-01-18 20:29:55 +01:00
2024-09-23 09:21:39 -07:00
2025-01-18 20:29:55 +01:00
2025-01-18 20:29:55 +01:00
2025-01-18 20:29:55 +01:00
2024-08-05 11:04:51 +02:00
2025-01-18 20:29:55 +01:00
2024-09-23 09:21:39 -07:00