rust/src/test
Alex Crichton 08237cad8d rustc: Enable writing "unsafe extern fn() {}"
Previously, the parser would not allow you to simultaneously implement a
function with a different abi as well as being unsafe at the same time. This
extends the parser to allow functions of the form:

    unsafe extern fn foo() {
        // ...
    }

The closure type grammar was also changed to reflect this reversal, types
previously written as "extern unsafe fn()" must now be written as
"unsafe extern fn()". The parser currently has a hack which allows the old
style, but this will go away once a snapshot has landed.

Closes #10025

[breaking-change]
2014-05-06 21:03:59 -07:00
..
auxiliary
bench auto merge of #13921 : TeXitoi/rust/shootout-spectralnorm-tweaks, r=alexcrichton 2014-05-04 12:06:50 -07:00
codegen
compile-fail auto merge of #13936 : Armavica/rust/lint_check-range, r=kballard 2014-05-05 01:41:39 -07:00
debug-info
pretty
run-fail
run-make auto merge of #13905 : alexcrichton/rust/issue-13337, r=thestinger 2014-05-04 17:11:42 -07:00
run-pass rustc: Enable writing "unsafe extern fn() {}" 2014-05-06 21:03:59 -07:00
run-pass-fulldeps