Merge branch 'main' into redsun82/rust-analyzer-update

This commit is contained in:
Paolo Tranquilli
2025-03-28 13:36:48 +01:00
167 changed files with 9608 additions and 3620 deletions

View File

@@ -1123,9 +1123,12 @@ class _:
@annotate(GenericParamList)
class _:
"""
A GenericParamList. For example:
A list of generic parameters. For example:
```rust
todo!()
fn f<A, B>(a: A, b: B) {}
// ^^^^^^
type Foo<T1, T2> = (T1, T2);
// ^^^^^^^^
```
"""
@@ -1705,9 +1708,14 @@ class _:
@annotate(TypeAlias)
class _:
"""
A TypeAlias. For example:
A type alias. For example:
```rust
todo!()
type Point = (u8, u8);
trait Trait {
type Output;
// ^^^^^^^^^^^
}
```
"""