Merge pull request #20892 from hvitved/rust/builtin-mut-placeholders

Rust: Add placeholder declarations for `&mut` and `*mut`
This commit is contained in:
Tom Hvitved
2025-11-24 13:05:15 +01:00
committed by GitHub
2 changed files with 6 additions and 2 deletions

View File

@@ -1,6 +1,8 @@
| struct Array | |
| struct Ptr | |
| struct PtrMut | |
| struct Ref | |
| struct RefMut | |
| struct Slice | |
| struct Tuple0 | |
| struct Tuple1 | |

View File

@@ -26,8 +26,10 @@ pub struct f64;
struct Slice<TSlice>;
struct Array<TArray, const N: usize>;
struct Ref<TRef>; // todo: add mut variant
struct Ptr<TPtr>; // todo: add mut variant
struct Ref<TRef>;
struct RefMut<TRefMut>;
struct Ptr<TPtr>;
struct PtrMut<TPtrMut>;
// tuples
struct Tuple0;