diff options
Diffstat (limited to 'src/test/compile-fail/assign-to-method.rs')
| -rw-r--r-- | src/test/compile-fail/assign-to-method.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/compile-fail/assign-to-method.rs b/src/test/compile-fail/assign-to-method.rs index 7d68d6d0c38..0a2834a95e6 100644 --- a/src/test/compile-fail/assign-to-method.rs +++ b/src/test/compile-fail/assign-to-method.rs @@ -14,7 +14,7 @@ struct cat { how_hungry : int, } -impl cat { +pub impl cat { fn speak() { self.meows += 1u; } } |
