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 120af7f commit 3efea03Copy full SHA for 3efea03
src/lib.rs
@@ -9,6 +9,9 @@
9
#![feature(const_raw_ptr_to_usize_cast)]
10
#![feature(const_mut_refs)]
11
#![feature(trivial_bounds)]
12
+
13
+mod mark;
14
15
use std::cell::UnsafeCell;
16
use std::collections::HashMap;
17
use std::collections::HashSet;
@@ -18,16 +21,6 @@ use std::ptr;
18
21
use std::sync::Mutex;
19
22
use std::thread_local;
20
23
-// GAT Mark
-// pub unsafe trait Mark<'o, 'n, O> {
-// type Struct<'l>;
24
-// fn mark(&'n self, o: Gc<'o, Self::Struct<'o>>) -> Gc<'n, Self::Struct<'n>>;
25
-// }
26
-
27
-pub unsafe trait Mark<'o, 'n, O, N> {
28
- fn mark(&'n self, o: Gc<'o, O>) -> Gc<'n, N>;
29
-}
30
31
pub unsafe trait Trace {
32
fn trace(t: &Self);
33
const TRACE_TYPE_INFO: GcTypeInfo;
0 commit comments