]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/issue-41652/issue_41652.stderr
Add help for static method invalid use
[rust.git] / src / test / ui / issue-41652 / issue_41652.stderr
index 8a55c9989e18c1b9d9cb358e194ee4bda7085fe7..5d1436979082379bc4a2453bf36a76cdba05df96 100644 (file)
@@ -5,6 +5,7 @@ error[E0599]: no method named `f` found for type `{integer}` in the current scop
    |           ^
    |
    = note: found the following associated functions; to be used as methods, functions must have a `self` parameter
+   = help: try with `{integer}::f`
 note: candidate #1 is defined in the trait `issue_41652_b::Tr`
   --> $DIR/auxiliary/issue_41652_b.rs:14:5
    |