Merge branch 'main' into oldpaths1 (some generated files are left unmerged).

This commit is contained in:
Geoffrey White
2025-08-27 16:56:06 +01:00
111 changed files with 1922 additions and 569 deletions

View File

@@ -434,8 +434,8 @@ class _:
```rust
let first = Foo { a: 1, b: 2 };
let second = Foo { a: 2, ..first };
Foo { a: 1, b: 2 }[2] = 10;
Foo { .. } = second;
let n = Foo { a: 1, b: 2 }.b;
Foo { a: m, .. } = second;
```
"""
path: drop
@@ -563,8 +563,9 @@ class _:
"""
A tuple expression. For example:
```rust
(1, "one");
(2, "two")[0] = 3;
let tuple = (1, "one");
let n = (2, "two").0;
let (a, b) = tuple;
```
"""