Skip to content

Commit

Permalink
add work-in-progress unstable book chapters
Browse files Browse the repository at this point in the history
These are very bare-bones, only intended to provide some documentation
of what these feature gates are and aren't yet implementing.
  • Loading branch information
dianne committed Jan 21, 2025
1 parent e288cff commit 27ae979
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# `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 match ergonomics under consideration for inclusion in Rust.
- On Edition 2024, this corresponds to the typing rules found [here].
- On older 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).

[here]: https://nadrieril.github.io/typing-rust-patterns/?compare=false&opts1=AQEBAgEBAQEBAgIAAAAAAAAAAAAAAAA%3D&mode=rules&do_cmp=false&ty_d=3
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# `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 match ergonomics under consideration for inclusion in Rust.
- On Edition 2024, this corresponds to the typing rules found [here].
- On older 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).

[here]: https://nadrieril.github.io/typing-rust-patterns/?compare=false&opts1=AQEBAAEBAQABAgIAAQEBAAEBAAABAAA%3D&mode=rules&do_cmp=false

0 comments on commit 27ae979

Please sign in to comment.