Files
rust/tests/ui
Trevor Gross 0e4de4ceb0 Remove the deprecated concat_idents! macro
In [137653], the lang and libs-API teams did a joint FCP to deprecate
and eventually remove the long-unstable `concat_idents!` macro. The
deprecation is landing in 1.88, so do the removal here (target version
1.90).

This macro has been superseded by the more recent `${concat(...)}`
metavariable expression language feature, which avoids some of the
limitations of `concat_idents!`. The metavar expression is unstably
available under the [`macro_metavar_expr_concat`] feature.

History is mildly interesting here: `concat_idents!` goes back to 2011
when it was introduced with 513276e595 ("Add #concat_idents[] and
about the same:

    let asdf_fdsa = "<.<";
    assert(#concat_idents[asd,f_f,dsa] == "<.<");

    assert(#ident_to_str[use_mention_distinction]
           == "use_mention_distinction");

(That test existed from introduction until its removal here.)

Closes: https://www.github.com/rust-lang/rust/issues/29599

[137653]: https://www.github.com/rust-lang/rust/pull/137653
[`macro_metavar_expr_concat`]: https://www.github.com/rust-lang/rust/issues/124225
2025-06-24 11:07:16 +00:00
..
2025-06-11 15:30:15 +01:00
2025-05-21 07:24:43 +00:00
2025-06-11 17:49:03 +05:00
2025-06-06 20:52:34 +00:00
2025-06-11 20:51:49 +05:00
2025-06-11 15:30:15 +01:00
2025-05-12 16:35:09 +02:00
2025-06-06 19:53:12 +00:00
2025-06-08 01:14:05 +05:00
2025-06-08 01:14:05 +05:00
2025-06-06 20:52:34 +00:00
2025-06-02 11:00:46 +02:00
2025-06-11 20:51:49 +05:00
2025-05-31 19:49:19 +05:00
2025-06-11 17:49:03 +05:00
2025-06-08 01:14:05 +05:00
2025-06-11 20:51:49 +05:00
2025-03-11 20:26:10 -07:00
2025-05-09 12:09:15 +02:00
2025-06-13 01:16:36 +02:00
2025-06-03 11:45:58 +02:00
2025-06-08 01:14:05 +05:00
2025-06-11 20:51:49 +05:00
2025-06-13 01:16:36 +02:00
2025-06-03 07:38:06 +05:00
2025-06-05 20:03:29 +05:00
2025-06-11 15:30:15 +01:00
2025-06-11 15:30:15 +01:00
2025-06-08 11:25:09 +05:00
2025-06-13 01:16:36 +02:00
2025-06-13 01:16:36 +02:00
2025-06-13 09:20:48 +02:00
2025-06-13 01:16:36 +02:00
2025-06-17 07:27:58 +08:00
2025-06-08 11:25:09 +05:00
2025-01-29 15:45:13 +00:00
2025-03-27 14:11:11 +01:00
2025-04-25 20:50:57 +09:00
2025-05-05 21:09:31 +02:00
2025-06-08 03:44:44 +05:00
2025-06-13 01:16:36 +02:00
2025-06-13 01:16:36 +02:00
2025-04-03 21:41:58 +00:00
2025-02-04 21:42:43 +05:30
2025-04-03 21:41:58 +00:00
2025-05-07 21:51:41 +05:00
2025-04-04 16:32:18 +02:00