summaryrefslogtreecommitdiffstats
path: root/tests/ui/associated-consts/assoc-const-eq-missing.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/associated-consts/assoc-const-eq-missing.stderr')
-rw-r--r--tests/ui/associated-consts/assoc-const-eq-missing.stderr20
1 files changed, 10 insertions, 10 deletions
diff --git a/tests/ui/associated-consts/assoc-const-eq-missing.stderr b/tests/ui/associated-consts/assoc-const-eq-missing.stderr
index b4bd6456c..318c85dcf 100644
--- a/tests/ui/associated-consts/assoc-const-eq-missing.stderr
+++ b/tests/ui/associated-consts/assoc-const-eq-missing.stderr
@@ -1,20 +1,20 @@
-error[E0220]: associated type `Z` not found for `Foo`
- --> $DIR/assoc-const-eq-missing.rs:15:16
+error[E0220]: associated constant `Z` not found for `Foo`
+ --> $DIR/assoc-const-eq-missing.rs:14:16
|
-LL | fn foo1<F: Foo<Z=3>>() {}
- | ^ associated type `Z` not found
+LL | fn foo1<F: Foo<Z = 3>>() {}
+ | ^ help: there is an associated constant with a similar name: `N`
error[E0220]: associated type `Z` not found for `Foo`
- --> $DIR/assoc-const-eq-missing.rs:17:16
+ --> $DIR/assoc-const-eq-missing.rs:16:16
|
-LL | fn foo2<F: Foo<Z=usize>>() {}
+LL | fn foo2<F: Foo<Z = usize>>() {}
| ^ associated type `Z` not found
-error[E0220]: associated type `Z` not found for `Foo`
- --> $DIR/assoc-const-eq-missing.rs:19:16
+error[E0220]: associated constant `Z` not found for `Foo`
+ --> $DIR/assoc-const-eq-missing.rs:18:16
|
-LL | fn foo3<F: Foo<Z=5>>() {}
- | ^ associated type `Z` not found
+LL | fn foo3<F: Foo<Z = 5>>() {}
+ | ^ help: there is an associated constant with a similar name: `N`
error: aborting due to 3 previous errors