mozilla/rust — Issue #1587: Reserved words are not enforced by the compiler
Author: mbrubeck
Created: 2012-01-21 00:24:06+00:00
State: open

The reference manual lists a small set of [reserved words](http://doc.rust-lang.org/doc/rust.html#reserved-words), but the compiler does not prevent them from being used as identifiers. Ideally it should fail with a syntax error, so that these words can be added as keywords in future versions without breaking any previously-working code.