Fix Option camel case in a compile-fail test

The compile fails for another reason, that triggers before the the failure for non-camel cased option, some or none undefined errors.
This commit is contained in:
Tyler Bindon 2013-01-25 12:34:12 -07:00
parent 5a69cd75fb
commit c89afc3971

View File

@ -8,10 +8,10 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
fn matcher(x: option<int>) {
fn matcher(x: Option<int>) {
match x {
ref some(i) => {} //~ ERROR expected identifier, found enum pattern
none => {}
ref Some(i) => {} //~ ERROR expected identifier, found enum pattern
None => {}
}
}