]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/rfc-2091-track-caller/only-for-fns.stderr
New upstream version 1.64.0+dfsg1
[rustc.git] / src / test / ui / rfc-2091-track-caller / only-for-fns.stderr
index 6666dcfa6e5995421e58365ec2782fa4d548a73b..b36597bded9414c2fc828953a3b0114492903802 100644 (file)
@@ -1,10 +1,10 @@
-error[E0739]: attribute should be applied to function
+error[E0739]: attribute should be applied to a function definition
   --> $DIR/only-for-fns.rs:1:1
    |
 LL | #[track_caller]
    | ^^^^^^^^^^^^^^^
 LL | struct S;
-   | --------- not a function
+   | --------- not a function definition
 
 error: aborting due to previous error