[rust-dev] Making `lang_item`s optional

2013-07-15 Thread Alex Crichton
It's awesome to have a lot of syntactic sugar for the compiler for things like overloading operators, automatic borrows (@mut in a lib), etc. What's unfortunate is that each of these features requires a new `lang_item` to be defined by the compiler *and* any crate which is compiled. To alleviate

Re: [rust-dev] Making `lang_item`s optional

2013-07-15 Thread Huon Wilson
On 16/07/13 04:23, Alex Crichton wrote: It's awesome to have a lot of syntactic sugar for the compiler for things like overloading operators, automatic borrows (@mut in a lib), etc. What's unfortunate is that each of these features requires a new `lang_item` to be defined by the compiler *and*