summaryrefslogtreecommitdiffstats
path: root/tests/ui/impl-trait/universal_wrong_bounds.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/impl-trait/universal_wrong_bounds.stderr')
-rw-r--r--tests/ui/impl-trait/universal_wrong_bounds.stderr4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/ui/impl-trait/universal_wrong_bounds.stderr b/tests/ui/impl-trait/universal_wrong_bounds.stderr
index 3b1a5e5f4..464d68958 100644
--- a/tests/ui/impl-trait/universal_wrong_bounds.stderr
+++ b/tests/ui/impl-trait/universal_wrong_bounds.stderr
@@ -6,7 +6,7 @@ LL | fn wants_debug(g: impl Debug) { }
|
help: consider importing this trait instead
|
-LL | use std::fmt::Debug;
+LL + use std::fmt::Debug;
|
error[E0404]: expected trait, found derive macro `Debug`
@@ -17,7 +17,7 @@ LL | fn wants_display(g: impl Debug) { }
|
help: consider importing this trait instead
|
-LL | use std::fmt::Debug;
+LL + use std::fmt::Debug;
|
error: aborting due to 2 previous errors