]> git.lizzy.rs Git - rust.git/commit
Add a temporary syntax for bare functions
authorBrian Anderson <banderson@mozilla.com>
Mon, 10 Oct 2011 19:42:27 +0000 (12:42 -0700)
committerBrian Anderson <banderson@mozilla.com>
Tue, 11 Oct 2011 17:51:09 +0000 (10:51 -0700)
commit9c46cc58cb88737968ada45f1aecb3c19aa07541
tree0d159e9dda93d126404212081f588ab53deda2d4
parent2a0644f882ad38c6b35e6d0983a24909e13a350c
Add a temporary syntax for bare functions

Bare functions will be represented as 'fn#' until they're implemented. Then
we'll switch it over to just 'fn'.

Issue #1022
src/comp/syntax/parse/parser.rs
src/test/run-pass/fn-bare-anon.rs [new file with mode: 0644]
src/test/run-pass/fn-bare-item.rs [new file with mode: 0644]