]> git.lizzy.rs Git - rust.git/commit
convert the `closure_kinds` map to just store the origin information
authorNiko Matsakis <niko@alum.mit.edu>
Wed, 8 Nov 2017 17:36:28 +0000 (12:36 -0500)
committerNiko Matsakis <niko@alum.mit.edu>
Sat, 18 Nov 2017 12:47:37 +0000 (07:47 -0500)
commit54f4f396d90e492fe9ede8608fe1a870e21fd10e
tree8d9d2134fa8af23821a479633f8800c0e175d299
parenteb26e30b915ada4debd0d10ad95a9f6348faf4d5
convert the `closure_kinds` map to just store the origin information

The closure kinds themselves are now completely found in the `ClosureSubsts`.
src/librustc/lib.rs
src/librustc/middle/mem_categorization.rs
src/librustc/traits/error_reporting.rs
src/librustc/ty/context.rs
src/librustc/ty/mod.rs
src/librustc_borrowck/borrowck/mod.rs
src/librustc_borrowck/lib.rs
src/librustc_typeck/check/closure.rs
src/librustc_typeck/check/upvar.rs
src/librustc_typeck/check/writeback.rs