summaryrefslogtreecommitdiffstats
path: root/tests/ui/suggestions/move-generic-to-trait-in-method-with-params.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/suggestions/move-generic-to-trait-in-method-with-params.rs')
-rw-r--r--tests/ui/suggestions/move-generic-to-trait-in-method-with-params.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/suggestions/move-generic-to-trait-in-method-with-params.rs b/tests/ui/suggestions/move-generic-to-trait-in-method-with-params.rs
index 2f540060a..4066cd3b1 100644
--- a/tests/ui/suggestions/move-generic-to-trait-in-method-with-params.rs
+++ b/tests/ui/suggestions/move-generic-to-trait-in-method-with-params.rs
@@ -12,7 +12,7 @@ impl Foo<i32> for i32 {
fn main() {
1.bar::<i32>(0);
- //~^ ERROR this associated function takes 0 generic arguments but 1 generic argument was supplied
+ //~^ ERROR method takes 0 generic arguments but 1 generic argument was supplied
//~| HELP consider moving this generic argument to the `Foo` trait, which takes up to 1 argument
//~| HELP remove these generics
}