use std; import option; import cmp::Eq; fn f(&o: Option) { assert o == option::None; } fn main() { f::(option::None); //~^ ERROR taking mut reference to static item //~^^ ERROR illegal borrow: creating mutable alias to aliasable, immutable memory }