mozilla/rust — Issue #1674: Redefine ctypes::void as a zero-variant enum
Author: brson
Created: 2012-01-26 09:03:59+00:00
State: open
Labels: cleanup, easy, lib, unassigned

ctypes::void is currently an enum with unexported variants. It would be better to define as `enum void { }`. Currently the snapshot compiler won't allow it.