]> git.lizzy.rs Git - rust.git/commitdiff
auto merge of #8739 : fhahn/rust/ticket_2275, r=brson
authorbors <bors@rust-lang.org>
Tue, 27 Aug 2013 01:20:56 +0000 (18:20 -0700)
committerbors <bors@rust-lang.org>
Tue, 27 Aug 2013 01:20:56 +0000 (18:20 -0700)
This is a pull request for #2275

I've created a small python script to generate test files for a list of keywords (as break do else enum extern false fn for if impl let loop match mod mut priv pub ref return self static struct super true trait type unsafe use while), but I'm not really sure where to put it. I've added the created files as well.

I did not use

     fn main() {
        let $KW = "foo"; //~ error
        println($KW); //~ error
    }

as template, because for return, self, ref, loop, mut and break this does not raise an error in the ```println``` line, only in the ```let``` line.


Trivial merge