about summary refs log tree commit diff
diff options
context:
space:
mode:
authorclubby789 <jamie@hill-daniel.co.uk>2022-09-19 01:54:11 +0100
committerclubby789 <jamie@hill-daniel.co.uk>2022-11-05 22:56:20 +0000
commitd1ec75da7cc466bb4fa61896489e5709ac12c0f5 (patch)
tree1ec395e1ed36f501d109eba03f4d6864d7e15ee3
parenta3b5ca7b6d8a1aa42544f5bb1b854f357678e612 (diff)
downloadrust-d1ec75da7cc466bb4fa61896489e5709ac12c0f5.tar.gz
rust-d1ec75da7cc466bb4fa61896489e5709ac12c0f5.zip
Update UI test
-rw-r--r--src/test/ui/suggestions/suggest-assoc-fn-call-with-turbofish.stderr2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/ui/suggestions/suggest-assoc-fn-call-with-turbofish.stderr b/src/test/ui/suggestions/suggest-assoc-fn-call-with-turbofish.stderr
index 3fb418b1c0a..199454ee228 100644
--- a/src/test/ui/suggestions/suggest-assoc-fn-call-with-turbofish.stderr
+++ b/src/test/ui/suggestions/suggest-assoc-fn-call-with-turbofish.stderr
@@ -8,7 +8,7 @@ LL |     x.default_hello();
    |     --^^^^^^^^^^^^^
    |     | |
    |     | this is an associated function, not a method
-   |     help: use associated function syntax instead: `GenericAssocMethod::<i32>::default_hello`
+   |     help: use associated function syntax instead: `GenericAssocMethod::default_hello`
    |
    = note: found the following associated functions; to be used as methods, functions must have a `self` parameter
 note: the candidate is defined in an impl for the type `GenericAssocMethod<T>`