about summary refs log tree commit diff
path: root/tests/ui/associated-consts
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/associated-consts')
-rw-r--r--tests/ui/associated-consts/associated-const-ambiguity-report.stderr10
1 files changed, 6 insertions, 4 deletions
diff --git a/tests/ui/associated-consts/associated-const-ambiguity-report.stderr b/tests/ui/associated-consts/associated-const-ambiguity-report.stderr
index 35ee95d1215..e68ba503c50 100644
--- a/tests/ui/associated-consts/associated-const-ambiguity-report.stderr
+++ b/tests/ui/associated-consts/associated-const-ambiguity-report.stderr
@@ -16,10 +16,12 @@ LL |     const ID: i32 = 1;
    |     ^^^^^^^^^^^^^
 help: use fully-qualified syntax to disambiguate
    |
-LL | const X: i32 = <i32 as Bar>::ID;
-   |                ~~~~~~~~~~~~~~
-LL | const X: i32 = <i32 as Foo>::ID;
-   |                ~~~~~~~~~~~~~~
+LL - const X: i32 = <i32>::ID;
+LL + const X: i32 = <i32 as Bar>::ID;
+   |
+LL - const X: i32 = <i32>::ID;
+LL + const X: i32 = <i32 as Foo>::ID;
+   |
 
 error: aborting due to 1 previous error