]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/parser/omitted-arg-in-item-fn.stderr
Rollup merge of #92024 - pcwalton:per-codegen-unit-names, r=davidtwco
[rust.git] / src / test / ui / parser / omitted-arg-in-item-fn.stderr
index bc3329dcbc23d91ee20c41bf013a119701fe3e4d..ce2eab051addd3feca87b91313af10c6de6e514f 100644 (file)
@@ -8,15 +8,15 @@ LL | fn foo(x) {
 help: if this is a `self` type, give it a parameter name
    |
 LL | fn foo(self: x) {
-   |        ^^^^^^^
+   |        +++++
 help: if this is a parameter name, give it a type
    |
 LL | fn foo(x: TypeName) {
-   |        ^^^^^^^^^^^
+   |         ++++++++++
 help: if this is a type, explicitly ignore the parameter name
    |
 LL | fn foo(_: x) {
-   |        ^^^^
+   |        ++
 
 error: aborting due to previous error