diff options
| author | Patrick Walton <pcwalton@mimiga.net> | 2013-03-12 19:32:14 -0700 |
|---|---|---|
| committer | Patrick Walton <pcwalton@mimiga.net> | 2013-03-13 20:07:10 -0700 |
| commit | 8fa66e8e07ca565119de195ceefb20cff50ae1ea (patch) | |
| tree | f9ae9910b40b04ae62daff56b8de1ae002765d2e /src/test/run-pass/method-attributes.rs | |
| parent | a410652bc953137c8d579f218c2e3e68a9ef8c1c (diff) | |
| download | rust-8fa66e8e07ca565119de195ceefb20cff50ae1ea.tar.gz rust-8fa66e8e07ca565119de195ceefb20cff50ae1ea.zip | |
librustc: Remove implicit self from the language, except for old-style drop blocks.
Diffstat (limited to 'src/test/run-pass/method-attributes.rs')
| -rw-r--r-- | src/test/run-pass/method-attributes.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/test/run-pass/method-attributes.rs b/src/test/run-pass/method-attributes.rs index 20cd9643b08..db7440738da 100644 --- a/src/test/run-pass/method-attributes.rs +++ b/src/test/run-pass/method-attributes.rs @@ -13,20 +13,20 @@ #[frobable] trait frobable { #[frob_attr] - fn frob(); + fn frob(&self); #[defrob_attr] - fn defrob(); + fn defrob(&self); } #[int_frobable] impl frobable for int { #[frob_attr1] - fn frob() { + fn frob(&self) { #[frob_attr2]; } #[defrob_attr1] - fn defrob() { + fn defrob(&self) { #[defrob_attr2]; } } |
