diff options
| author | Brian Anderson <banderson@mozilla.com> | 2012-08-15 18:46:55 -0700 |
|---|---|---|
| committer | Brian Anderson <banderson@mozilla.com> | 2012-08-17 10:13:45 -0700 |
| commit | 3ab4b014cfaf6dff5b450f4a1772e9993550fe38 (patch) | |
| tree | cff9c62a771f5e86819095f9cfa348fd935ba207 /src/test/compile-fail/class-method-missing.rs | |
| parent | 6d7b143036e1d61c8f58864db3445d2a0ae4ad11 (diff) | |
| download | rust-3ab4b014cfaf6dff5b450f4a1772e9993550fe38.tar.gz rust-3ab4b014cfaf6dff5b450f4a1772e9993550fe38.zip | |
Remove the class keyword
Diffstat (limited to 'src/test/compile-fail/class-method-missing.rs')
| -rw-r--r-- | src/test/compile-fail/class-method-missing.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/compile-fail/class-method-missing.rs b/src/test/compile-fail/class-method-missing.rs index b49fa62577d..31cc23d8162 100644 --- a/src/test/compile-fail/class-method-missing.rs +++ b/src/test/compile-fail/class-method-missing.rs @@ -3,7 +3,7 @@ trait animal { fn eat(); } -class cat : animal { +struct cat : animal { let meows: uint; new(in_x : uint) { self.meows = in_x; } } |
