]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/invalid-self-argument/bare-fn-start.rs
parser: address review comments re. `self`.
[rust.git] / src / test / ui / invalid-self-argument / bare-fn-start.rs
index 8c92b7bc7c4b0d4180c9295b85663661603fbb4b..7c580bc5a5deaa1d2ff46b6dece1c6b5e6cd1e43 100644 (file)
@@ -1,6 +1,6 @@
 fn a(&self) { }
-//~^ ERROR `self` parameter only allowed in associated `fn`s
+//~^ ERROR `self` parameter is only allowed in associated functions
 //~| NOTE not semantically valid as function parameter
-//~| NOTE associated `fn`s are those in `impl` or `trait` definitions
+//~| NOTE associated functions are those in `impl` or `trait` definitions
 
 fn main() { }