1
Fork 0

add work-in-progress unstable book chapters

These are very bare-bones, only intended to provide some documentation
of what these feature gates are and aren't yet implementing.
This commit is contained in:
dianne 2025-01-21 08:17:59 -08:00
parent e288cff5cf
commit be7d6e3d5e
2 changed files with 38 additions and 0 deletions

View file

@ -0,0 +1,19 @@
# `ref_pat_eat_one_layer_2024_structural`
The tracking issue for this feature is: [#123076]
[#123076]: https://github.com/rust-lang/rust/issues/123076
---
This feature is incomplete and not yet intended for general use.
This implements experimental, Edition-dependent match ergonomics under consideration for inclusion
in Rust.
For more information, see the corresponding typing rules for [Editions 2024 and later].
On earlier Editions, the current behavior is unspecified.
For alternative experimental match ergonomics, see the feature
[`ref_pat_eat_one_layer_2024`](./ref-pat-eat-one-layer-2024.md).
[Editions 2024 and later]: https://nadrieril.github.io/typing-rust-patterns/?compare=false&opts1=AQEBAgEBAQEBAgIAAAAAAAAAAAAAAAA%3D&mode=rules&do_cmp=false

View file

@ -0,0 +1,19 @@
# `ref_pat_eat_one_layer_2024`
The tracking issue for this feature is: [#123076]
[#123076]: https://github.com/rust-lang/rust/issues/123076
---
This feature is incomplete and not yet intended for general use.
This implements experimental, Edition-dependent match ergonomics under consideration for inclusion
in Rust.
For more information, see the corresponding typing rules for [Editions 2024 and later].
On earlier Editions, the current behavior is unspecified.
For alternative experimental match ergonomics, see the feature
[`ref_pat_eat_one_layer_2024_structural`](./ref-pat-eat-one-layer-2024-structural.md).
[Editions 2024 and later]: https://nadrieril.github.io/typing-rust-patterns/?compare=false&opts1=AQEBAAABAQABAgIAAQEBAAEBAAABAAA%3D&mode=rules&do_cmp=false