]> git.lizzy.rs Git - rust.git/commit
Support coercion between (FnDef | Closure) and (FnDef | Closure) when Closure is...
authorDonough Liu <ldm2993593805@163.com>
Thu, 7 May 2020 05:11:24 +0000 (13:11 +0800)
committerDonough Liu <ldm2993593805@163.com>
Sat, 9 May 2020 01:33:15 +0000 (09:33 +0800)
commit59cc5b1ba3e0996a6d80d1c229eb89900533cb98
tree6f3b3c7624b1b5b283c4b8f65b513fe07f82bc2a
parent7ebd87a7a1e0e21767422e115c9455ef6e6d4bee
Support coercion between (FnDef | Closure) and (FnDef | Closure) when Closure is non-capturing
src/librustc_middle/ty/context.rs
src/librustc_mir/borrow_check/type_check/mod.rs
src/librustc_typeck/check/coercion.rs