about summary refs log tree commit diff
path: root/tests/ui/resolve/issue-5035.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/resolve/issue-5035.stderr')
-rw-r--r--tests/ui/resolve/issue-5035.stderr8
1 files changed, 5 insertions, 3 deletions
diff --git a/tests/ui/resolve/issue-5035.stderr b/tests/ui/resolve/issue-5035.stderr
index 32b972b21ff..b249aaa4b28 100644
--- a/tests/ui/resolve/issue-5035.stderr
+++ b/tests/ui/resolve/issue-5035.stderr
@@ -15,12 +15,14 @@ LL | impl K for isize {}
    |
 help: you might have meant to use `#![feature(trait_alias)]` instead of a `type` alias
    |
-LL | trait K = dyn I;
+LL - type K = dyn I;
+LL + trait K = dyn I;
    |
 help: a trait with a similar name exists
    |
-LL | impl I for isize {}
-   |      ~
+LL - impl K for isize {}
+LL + impl I for isize {}
+   |
 
 error: aborting due to 2 previous errors