]> git.lizzy.rs Git - rust.git/commit
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)
commitaf99b8d91e9667b78ac5f7c1eb5ba74764b71fdd
treedf671e971fb7d1c1b61b4b6c37c5132a6cd75cc3
parenta8221bd5e2cf05cea7546ebdd5331d17a3e4a4c5
parentc9213312951516abe66716ed11b7ea81ade572e6
auto merge of #8739 : fhahn/rust/ticket_2275, r=brson

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.