rustc compiler bug?