Skip to content

Instantly share code, notes, and snippets.

@nikomatsakis
Created August 17, 2012 23:31
Show Gist options
  • Save nikomatsakis/3383468 to your computer and use it in GitHub Desktop.
Save nikomatsakis/3383468 to your computer and use it in GitHub Desktop.
Replace the fn `remove_copy()` in ty.rs with:
fn remove_copyable(k: kind) -> kind {
k - kind_(KIND_MASK_COPY | KIND_MASK_DEFAULT_MODE)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment