Skip to content
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
24 lines (18 sloc) 404 Bytes
// build-pass (FIXME(62277): could be check-pass?)
use std::marker::PhantomData;
pub struct UnionedKeys<'a,K>
where K: UnifyKey + 'a
table: &'a mut UnificationTable<K>,
root_key: K,
stack: Vec<K>,
pub trait UnifyKey {
type Value;
pub struct UnificationTable<K:UnifyKey> {
values: Delegate<K>,
pub struct Delegate<K>(PhantomData<K>);
fn main() {}
You can’t perform that action at this time.