summaryrefslogtreecommitdiffstats
path: root/tests/ui/impl-trait/trait_type.stderr
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--tests/ui/impl-trait/trait_type.stderr (renamed from src/test/ui/impl-trait/trait_type.stderr)4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/ui/impl-trait/trait_type.stderr b/tests/ui/impl-trait/trait_type.stderr
index bea243398..81e4c933e 100644
--- a/src/test/ui/impl-trait/trait_type.stderr
+++ b/tests/ui/impl-trait/trait_type.stderr
@@ -7,8 +7,8 @@ LL | fn fmt(&self, x: &str) -> () { }
| types differ in mutability
| help: change the parameter type to match the trait: `&mut Formatter<'_>`
|
- = note: expected fn pointer `fn(&MyType, &mut Formatter<'_>) -> Result<(), std::fmt::Error>`
- found fn pointer `fn(&MyType, &str)`
+ = note: expected signature `fn(&MyType, &mut Formatter<'_>) -> Result<(), std::fmt::Error>`
+ found signature `fn(&MyType, &str)`
error[E0050]: method `fmt` has 1 parameter but the declaration in trait `std::fmt::Display::fmt` has 2
--> $DIR/trait_type.rs:12:11