]> git.lizzy.rs Git - rust.git/commit
treat fn*() as fn&()
authorNiko Matsakis <niko@alum.mit.edu>
Wed, 18 Jan 2012 20:04:07 +0000 (12:04 -0800)
committerNiko Matsakis <niko@alum.mit.edu>
Thu, 19 Jan 2012 15:10:59 +0000 (07:10 -0800)
commit1f0b3d2247ce6ff381f572450dbe733291ffe01a
tree81684fe3aedb300ae6b4db297a06e6cfb9555176
parentd54cc1cad4b913fd0a96091674175227ce9f021a
treat fn*() as fn&()

This is not my ideal way of going about things.  I'd prefer not
to have expressions typed as fn*(), for example, but I couldn't
get that to work together with inferring the modes of arguments
and other corner cases.
src/comp/middle/shape.rs
src/comp/middle/trans_closure.rs
src/comp/syntax/parse/parser.rs
src/test/run-pass/block-arg-used-as-any.rs [new file with mode: 0644]