diff options
| author | Brian Anderson <banderson@mozilla.com> | 2012-09-12 14:51:38 -0700 |
|---|---|---|
| committer | Brian Anderson <banderson@mozilla.com> | 2012-09-12 16:00:22 -0700 |
| commit | 7568dd4564d417d6d03801934b0c9163d3566a8b (patch) | |
| tree | ea7aa0e7960f3839697d130d600804e9653b7eaa /src/libsyntax/parse/parser.rs | |
| parent | 7eb10c4ce113f37ddd418b95629480f5d1ad9b6a (diff) | |
| download | rust-7568dd4564d417d6d03801934b0c9163d3566a8b.tar.gz rust-7568dd4564d417d6d03801934b0c9163d3566a8b.zip | |
Promote 'const', 'copy', 'fn' to strict keywords
Diffstat (limited to 'src/libsyntax/parse/parser.rs')
| -rw-r--r-- | src/libsyntax/parse/parser.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/libsyntax/parse/parser.rs b/src/libsyntax/parse/parser.rs index 1089431d810..c96cfdfe6bc 100644 --- a/src/libsyntax/parse/parser.rs +++ b/src/libsyntax/parse/parser.rs @@ -2329,7 +2329,9 @@ impl parser { | ~"owned" => { self.obsolete(copy self.span, ObsoleteLowerCaseKindBounds); - None + // Bogus value, but doesn't matter, since + // is an error + Some(bound_send) } _ => None |
