mirror of
https://github.com/github/codeql.git
synced 2025-12-16 16:53:25 +01:00
Merge branch 'main' into redsun82/rust-less-canonical-paths
This commit is contained in:
@@ -65,7 +65,7 @@ class _:
|
||||
"""
|
||||
|
||||
|
||||
@annotate(TypeRef)
|
||||
@annotate(TypeRepr)
|
||||
class _:
|
||||
"""
|
||||
The base class for type references.
|
||||
@@ -129,7 +129,7 @@ class _:
|
||||
let x = variable;
|
||||
let x = foo::bar;
|
||||
let y = <T>::foo;
|
||||
let z = <TypeRef as Trait>::foo;
|
||||
let z = <TypeRepr as Trait>::foo;
|
||||
```
|
||||
"""
|
||||
path: drop
|
||||
@@ -877,10 +877,10 @@ class _:
|
||||
"""
|
||||
|
||||
|
||||
@annotate(ArrayType)
|
||||
@annotate(ArrayTypeRepr)
|
||||
class _:
|
||||
"""
|
||||
A ArrayType. For example:
|
||||
A ArrayTypeRepr. For example:
|
||||
```rust
|
||||
todo!()
|
||||
```
|
||||
@@ -965,10 +965,10 @@ class _:
|
||||
"""
|
||||
|
||||
|
||||
@annotate(DynTraitType)
|
||||
@annotate(DynTraitTypeRepr)
|
||||
class _:
|
||||
"""
|
||||
A DynTraitType. For example:
|
||||
A DynTraitTypeRepr. For example:
|
||||
```rust
|
||||
todo!()
|
||||
```
|
||||
@@ -1035,10 +1035,10 @@ class _:
|
||||
"""
|
||||
|
||||
|
||||
@annotate(FnPtrType)
|
||||
@annotate(FnPtrTypeRepr)
|
||||
class _:
|
||||
"""
|
||||
A FnPtrType. For example:
|
||||
A FnPtrTypeRepr. For example:
|
||||
```rust
|
||||
todo!()
|
||||
```
|
||||
@@ -1057,10 +1057,10 @@ class _:
|
||||
loop_body: drop
|
||||
|
||||
|
||||
@annotate(ForType)
|
||||
@annotate(ForTypeRepr)
|
||||
class _:
|
||||
"""
|
||||
A ForType. For example:
|
||||
A ForTypeRepr. For example:
|
||||
```rust
|
||||
todo!()
|
||||
```
|
||||
@@ -1133,20 +1133,20 @@ class _:
|
||||
"""
|
||||
|
||||
|
||||
@annotate(ImplTraitType)
|
||||
@annotate(ImplTraitTypeRepr)
|
||||
class _:
|
||||
"""
|
||||
A ImplTraitType. For example:
|
||||
A ImplTraitTypeRepr. For example:
|
||||
```rust
|
||||
todo!()
|
||||
```
|
||||
"""
|
||||
|
||||
|
||||
@annotate(InferType)
|
||||
@annotate(InferTypeRepr)
|
||||
class _:
|
||||
"""
|
||||
A InferType. For example:
|
||||
A InferTypeRepr. For example:
|
||||
```rust
|
||||
todo!()
|
||||
```
|
||||
@@ -1290,10 +1290,10 @@ class _:
|
||||
"""
|
||||
|
||||
|
||||
@annotate(MacroType)
|
||||
@annotate(MacroTypeRepr)
|
||||
class _:
|
||||
"""
|
||||
A MacroType. For example:
|
||||
A MacroTypeRepr. For example:
|
||||
```rust
|
||||
todo!()
|
||||
```
|
||||
@@ -1350,10 +1350,10 @@ class _:
|
||||
"""
|
||||
|
||||
|
||||
@annotate(NeverType)
|
||||
@annotate(NeverTypeRepr)
|
||||
class _:
|
||||
"""
|
||||
A NeverType. For example:
|
||||
A NeverTypeRepr. For example:
|
||||
```rust
|
||||
todo!()
|
||||
```
|
||||
@@ -1365,7 +1365,7 @@ class ParamBase(AstNode):
|
||||
A normal parameter, `Param`, or a self parameter `SelfParam`.
|
||||
"""
|
||||
attrs: list["Attr"] | child
|
||||
ty: optional["TypeRef"] | child
|
||||
type_repr: optional["TypeRepr"] | child
|
||||
|
||||
@annotate(ParamBase, cfg = True)
|
||||
class _:
|
||||
@@ -1382,7 +1382,7 @@ class _:
|
||||
```
|
||||
"""
|
||||
attrs: drop
|
||||
ty: drop
|
||||
type_repr: drop
|
||||
|
||||
|
||||
@annotate(ParamList)
|
||||
@@ -1415,10 +1415,10 @@ class _:
|
||||
"""
|
||||
|
||||
|
||||
@annotate(ParenType)
|
||||
@annotate(ParenTypeRepr)
|
||||
class _:
|
||||
"""
|
||||
A ParenType. For example:
|
||||
A ParenTypeRepr. For example:
|
||||
```rust
|
||||
todo!()
|
||||
```
|
||||
@@ -1433,7 +1433,7 @@ class _:
|
||||
"""
|
||||
|
||||
|
||||
@annotate(PathType)
|
||||
@annotate(PathTypeRepr)
|
||||
@qltest.test_with(Path)
|
||||
class _:
|
||||
"""
|
||||
@@ -1445,10 +1445,10 @@ class _:
|
||||
"""
|
||||
|
||||
|
||||
@annotate(PtrType)
|
||||
@annotate(PtrTypeRepr)
|
||||
class _:
|
||||
"""
|
||||
A PtrType. For example:
|
||||
A PtrTypeRepr. For example:
|
||||
```rust
|
||||
todo!()
|
||||
```
|
||||
@@ -1495,10 +1495,10 @@ class _:
|
||||
"""
|
||||
|
||||
|
||||
@annotate(RefType)
|
||||
@annotate(RefTypeRepr)
|
||||
class _:
|
||||
"""
|
||||
A RefType. For example:
|
||||
A RefTypeRepr. For example:
|
||||
```rust
|
||||
todo!()
|
||||
```
|
||||
@@ -1525,10 +1525,10 @@ class _:
|
||||
"""
|
||||
|
||||
|
||||
@annotate(RetType)
|
||||
@annotate(RetTypeRepr)
|
||||
class _:
|
||||
"""
|
||||
A RetType. For example:
|
||||
A RetTypeRepr. For example:
|
||||
```rust
|
||||
todo!()
|
||||
```
|
||||
@@ -1556,13 +1556,13 @@ class _:
|
||||
```
|
||||
"""
|
||||
attrs: drop
|
||||
ty: drop
|
||||
type_repr: drop
|
||||
|
||||
|
||||
@annotate(SliceType)
|
||||
@annotate(SliceTypeRepr)
|
||||
class _:
|
||||
"""
|
||||
A SliceType. For example:
|
||||
A SliceTypeRepr. For example:
|
||||
```rust
|
||||
todo!()
|
||||
```
|
||||
@@ -1676,10 +1676,10 @@ class _:
|
||||
"""
|
||||
|
||||
|
||||
@annotate(TupleType)
|
||||
@annotate(TupleTypeRepr)
|
||||
class _:
|
||||
"""
|
||||
A TupleType. For example:
|
||||
A TupleTypeRepr. For example:
|
||||
```rust
|
||||
todo!()
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user