]> git.lizzy.rs Git - rust.git/commit
thread the closure-kind through in the closure substs
authorNiko Matsakis <niko@alum.mit.edu>
Wed, 8 Nov 2017 10:45:20 +0000 (05:45 -0500)
committerNiko Matsakis <niko@alum.mit.edu>
Sat, 18 Nov 2017 12:47:36 +0000 (07:47 -0500)
commit3349e7bb45c18485f1ba090f0f80bda67abd214e
treed4ca86d5eff7043f850118de41fc25cad31b3897
parent1d96819dc0c300a22c08e57051a93652d728931a
thread the closure-kind through in the closure substs

Similar to how freshen handled things, but "always happening"; we can
thus remove the corresponding code from `freshen`.
src/librustc/infer/freshen.rs
src/librustc/infer/type_variable.rs
src/librustc/ty/mod.rs
src/librustc/ty/sty.rs
src/librustc_typeck/check/closure.rs
src/librustc_typeck/check/upvar.rs
src/librustc_typeck/collect.rs