// Must enable the feature to use associated constants
#![feature(associated_consts)]
use std::mem;
// Associated constants can be used to add constant attributes to types
trait Foo {
const ID: i32;
}
// All implementations of Foo must define associated constants
// unless a defaul...