]> git.lizzy.rs Git - rust.git/commit
librustc: Implement overloading for the call operator behind a feature
authorPatrick Walton <pcwalton@mimiga.net>
Sun, 1 Jun 2014 23:35:01 +0000 (16:35 -0700)
committerPatrick Walton <pcwalton@mimiga.net>
Mon, 9 Jun 2014 19:39:17 +0000 (12:39 -0700)
commit966c7346cae89cf47017bfbf27e383d0b0351d82
treec10b7c092c4890c88317e37114c33db84b4bab33
parente55f64f99726a44283211d91a702081fe4a1855b
librustc: Implement overloading for the call operator behind a feature
gate.

This is part of unboxed closures.
12 files changed:
src/libcore/ops.rs
src/librustc/front/feature_gate.rs
src/librustc/middle/expr_use_visitor.rs
src/librustc/middle/lang_items.rs
src/librustc/middle/liveness.rs
src/librustc/middle/trans/expr.rs
src/librustc/middle/typeck/check/mod.rs
src/librustc/middle/typeck/check/regionck.rs
src/test/compile-fail/overloaded-calls-bad.rs [new file with mode: 0644]
src/test/compile-fail/overloaded-calls-nontuple.rs [new file with mode: 0644]
src/test/run-pass/overloaded-calls-simple.rs [new file with mode: 0644]
src/test/run-pass/overloaded-calls-zero-args.rs [new file with mode: 0644]