We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
&mut
*mut
1 parent b1ed72d commit 17e1e17Copy full SHA for 17e1e17
2 files changed
rust/ql/test/library-tests/elements/builtintypes/BuiltinTypes.expected
@@ -1,6 +1,8 @@
1
| struct Array | |
2
| struct Ptr | |
3
+| struct PtrMut | |
4
| struct Ref | |
5
+| struct RefMut | |
6
| struct Slice | |
7
| struct Tuple0 | |
8
| struct Tuple1 | |
rust/tools/builtins/types.rs
@@ -26,8 +26,10 @@ pub struct f64;
26
27
struct Slice<TSlice>;
28
struct Array<TArray, const N: usize>;
29
-struct Ref<TRef>; // todo: add mut variant
30
-struct Ptr<TPtr>; // todo: add mut variant
+struct Ref<TRef>;
+struct RefMut<TRefMut>;
31
+struct Ptr<TPtr>;
32
+struct PtrMut<TPtrMut>;
33
34
// tuples
35
struct Tuple0;
0 commit comments