We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8f30948 commit 0139869Copy full SHA for 0139869
CoqOfRust/core/links/marker.v
@@ -25,12 +25,15 @@ Module PointeeSized.
25
Definition trait (Self : Set) `{Link Self} : TraitMethod.Header.t :=
26
("pinocchio::pointee::PointeeSized", [], [], Φ Self).
27
28
- Class Run (Self : Set) `{Link Self} : Set := {}.
+ Class Run (Self : Set) `{Link Self} : Set := {
29
+ dummy_empty_class : unit;
30
+ }.
31
End PointeeSized.
32
33
(*
34
pub struct PhantomData<T: PointeeSized>;
35
*)
36
Module PhantomData.
- Record t (T : Set) `{PointeeSized.Run T} : Set := {}.
37
+ Inductive t (T : Set) `{PointeeSized.Run T} : Set :=
38
+ | Make.
39
End PhantomData.
0 commit comments