use std; import option; fn f(&o: option) { assert o == option::none; } fn main() { f::(option::none); //!^ ERROR taking mut reference to static item //!^^ ERROR illegal borrow unless pure: creating mutable alias to aliasable, immutable memory //!^^^ NOTE impure due to access to impure function }