I’ve got this sample code here: https://play.rust-lang.org/?gist=dd50814ceacb90d3d2198a0eef958453&version=nightly&mode=debug
Function g returns the size of a type T. f constructs an array with element type T and of length size of T. They both use size_of. g compiles. f doesn’t. What am I doing wrong?