summaryrefslogtreecommitdiffstats
path: root/tests/ui/associated-consts/associated-const-generic-obligations.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/associated-consts/associated-const-generic-obligations.stderr')
-rw-r--r--tests/ui/associated-consts/associated-const-generic-obligations.stderr2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/associated-consts/associated-const-generic-obligations.stderr b/tests/ui/associated-consts/associated-const-generic-obligations.stderr
index f45fa0ad5..d45868151 100644
--- a/tests/ui/associated-consts/associated-const-generic-obligations.stderr
+++ b/tests/ui/associated-consts/associated-const-generic-obligations.stderr
@@ -2,7 +2,7 @@ error[E0326]: implemented const `FROM` has an incompatible type for trait
--> $DIR/associated-const-generic-obligations.rs:14:17
|
LL | const FROM: &'static str = "foo";
- | ^^^^^^^^^^^^ expected associated type, found `&str`
+ | ^^^^^^^^^^^^ expected associated type, found `&'static str`
|
note: type in trait
--> $DIR/associated-const-generic-obligations.rs:10:17