Rollup merge of #94368 - c410-f3r:metaaaaaaaaaaaaaaaaaaaaaaaaaaa, r=petrochenkov
[1/2] Implement macro meta-variable expressions See https://github.com/rust-lang/rust/pull/93545#issuecomment-1050963295 The logic behind `length`, `index` and `count` was removed but the parsing code is still present, i.e., everything is simply ignored like `ignored`. r? ``@petrochenkov``
This commit is contained in:
commit
634a6b0d25
17 changed files with 900 additions and 44 deletions
|
@ -430,6 +430,8 @@ declare_features! (
|
|||
(active, link_cfg, "1.14.0", Some(37406), None),
|
||||
/// Allows using `reason` in lint attributes and the `#[expect(lint)]` lint check.
|
||||
(active, lint_reasons, "1.31.0", Some(54503), None),
|
||||
/// Give access to additional metadata about declarative macro meta-variables.
|
||||
(active, macro_metavar_expr, "1.61.0", Some(83527), None),
|
||||
/// Allows `#[marker]` on certain traits allowing overlapping implementations.
|
||||
(active, marker_trait_attr, "1.30.0", Some(29864), None),
|
||||
/// A minimal, sound subset of specialization intended to be used by the
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue