rust/src/test
bors ea87f126bd auto merge of #14275 : kballard/rust/bytes-return-static, r=huonw
Change `bytes!()` to return

    {
        static BYTES: &'static [u8] = &[...];
        BYTES
    }

This gives it the `'static` lifetime, whereas before it had an rvalue
lifetime. Until recently this would have prevented assigning `bytes!()`
to a static, as in

    static FOO: &'static [u8] = bytes!(1,2,3);

but #14183 fixed it so blocks are now allowed in constant expressions
(with restrictions).

Fixes #11641.
2014-05-18 13:06:30 -07:00
..
auxiliary Updates with core::fmt changes 2014-05-15 23:22:06 -07:00
bench libgetopts: Remove all uses of ~str from libgetopts 2014-05-16 11:41:27 -07:00
codegen
compile-fail auto merge of #14274 : youknowone/rust/advice-tilt-to-box, r=thestinger 2014-05-18 05:36:27 -07:00
compile-fail-fulldeps test: Move syntax extension tests to cfail-full 2014-05-15 23:22:06 -07:00
debuginfo Update debuginfo tests. 2014-05-18 03:04:50 -04:00
pretty
run-fail
run-make
run-pass auto merge of #14275 : kballard/rust/bytes-return-static, r=huonw 2014-05-18 13:06:30 -07:00
run-pass-fulldeps