Currently if I try to specify lifetimes in the return types of overloaded operators like Index ([]), I get an error message :
"method `index` has an incompatible type for trait: expected concrete lifetime, but found bound lifetime parameter &" Why has this restriction been placed, given that I can write custom functions which can have bounded lifetimes specifications in the return type? Thanks
_______________________________________________ Rust-dev mailing list Rust-dev@mozilla.org https://mail.mozilla.org/listinfo/rust-dev