Make create_ref
only allow T: 'static
#519
Merged
create_ref
only allow T: 'static
#519